Skip to content

Instantly share code, notes, and snippets.

View Mageas's full-sized avatar
🏠
Learning new languages

Arnaud Gaydamour Mageas

🏠
Learning new languages
View GitHub Profile
@Mageas
Mageas / clean.sh
Last active February 6, 2025 20:22
Remove empty jellyfin Shows
#!/bin/bash
PARENT_DIRS=("Shows" "Movies")
prefix="[$(date '+%Y-%m-%d %H:%M')]"
script_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ -z "${script_path}" || "${script_path}" == "/" || ! -d "${script_path}" ]]; then
echo "${prefix} ERROR: Invalid script path: ${script_path}"
exit 1
@Mageas
Mageas / gnome-settings.sh
Last active September 5, 2023 11:45
gnome settings
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 9
for i in {1..9}; do
gsettings set "org.gnome.shell.extensions.dash-to-dock" "app-hotkey-$i" "[]"
gsettings set "org.gnome.shell.extensions.dash-to-dock" "app-shift-hotkey-$i" "[]"
gsettings set "org.gnome.shell.keybindings" "switch-to-application-$i" "[]"
gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['<Super>${i}']"
gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['<Super><Shift>${i}']"
done
#!/bin/bash
# https://github.com/IceroDev/pterodactyl-update
PANEL_UPDATE="https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz"
function main {
if [ -d "/var/www/pterodactyl/" ]; then
echo -e -n "* Do you want proceed to update your panel? (y/N): "
read -r CONFIRM_PROCEED
@Mageas
Mageas / removeWin10Apps.ps1
Created July 18, 2020 11:33 — forked from Eonasdan/removeWin10Apps.ps1
Remove annoying windows 10 store apps you can't uninstall. this is a powershell script to for uninstall win 10 built in apps that run for no reason. It also appears that MS will force some/all of them back after a windows update. From http://www.howtogeek.com/224798/how-to-uninstall-windows-10s-built-in-apps-and-how-to-reinstall-them/
# Uninstall 3D Builder:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
# Uninstall Alarms and Clock:
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
# Uninstall Calculator:
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
# Uninstall Calendar and Mail:
@Mageas
Mageas / css
Created September 19, 2019 21:33
This file has been truncated, but you can view the full file.
.anchor-3Z-8Bb{color:var(--text-link);text-decoration:none}.anchorUnderlineOnHover-2ESHQB:hover{text-decoration:underline}
@-webkit-keyframes spinner-wandering-cubes-1eyF3t{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5);transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg);transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5);transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@keyframes spinner-wandering-cubes-1eyF3t{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5);transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg);transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5);transform:translateX(0) tr