This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setw -g mode-keys vi | |
setw -g allow-rename off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
goto check_Permissions | |
:check_Permissions | |
echo Administrative permissions required. Detecting permissions... | |
net session >nul 2>&1 | |
if %errorLevel% == 0 ( | |
echo Success: Administrative permissions confirmed. | |
) else ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /f /im explorer.exe | |
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer | |
attrib -h iconcache_*.db | |
del iconcache_*.db | |
start explorer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# If argument is non-empty and the package exitst | |
if [[ -n $1 ]] && [[ $(apt show $1) ]]; then | |
dir=$HOME/$1 | |
#rm -rf $dir # Uncomment for development | |
mkdir $dir | |
cd $dir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Spigot | |
[Service] | |
Type=forking | |
Restart=on-failure | |
User=spigot | |
ExecStart=/opt/spigot/start.sh | |
KillMode=none | |
ExecStop=/opt/spigot/stop.sh |