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
for s in /tmp/screens/S-admin/*; do screen -r $(basename $s); done |
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
sudo apt install gem ruby ruby-dev | |
sudo gem install jekyll bundler jekyll-redirect-from | |
cd ~/documents/SABnzbd\ wiki/sabnzbd.github.io/ | |
jekyll serve |
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
$HOME/.config/mimeapps.list | |
[Added Associations] | |
inode/directory=org.kde.dolphin.desktop;kde4-kfind.desktop;baobab.desktop;k4dirstat.desktop; |
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
sudo apt install software-properties-common dirmngr gnupg-agent | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD5F235DF639B041 | |
echo 'deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main' | sudo tee /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa.list >/dev/null | |
sudo apt update | |
sudo apt install google-drive-ocamlfuse |
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
packages=($(grep '^\[.*\]$' /etc/config/qpkg.conf | sed 's|[][]||g')) | |
for package in ${packages[*]}; do setcfg $package Enable FALSE -f /etc/config/qpkg.conf; done |
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
for d in $(ls -d */); do cd $d; qbuild; cd ..; done; |
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
#!/usr/bin/env bash | |
target_pathfile="$1" | |
target_func='' | |
for target_func in $(grep '()$' "$target_pathfile" | grep -v '=\|\$' | sed 's|()||g'); do | |
[[ $(grep -ow "$target_func" < "$target_pathfile" | wc -l) -eq 1 ]] && echo "$target_func()" | |
done |
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
QTS 4.5.1.1495 | |
Example looks like: | |
"Operating_Status = 4:0:41309:0" | |
first field: 4 if QPKG has been stopped (using the qpkg_service utility) and 3 if started | |
second field: always 0 | |
third field: NAS uptime in seconds when this entry was last updated | |
fourth field: always 0 |
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
# These demonstrate available words for syntax highlighting on Kate (makes it easier to pick a word that stands-out): | |
# ALERT ATTENTION DANGER HACK SECURITY | |
# BUG FIXME DEPRECATED TASK TODO TBD WARNING CAUTION NOLINT | |
# ### NOTE NOTICE TEST TESTING |
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
find /media/downloads/sabnzbd/nzb/backup/ -type f -name "*.nzb.*" ! -size 0 -print0 | xargs -0 truncate -s 0 |
OlderNewer