Skip to content

Instantly share code, notes, and snippets.

Working from home

Knot Tellun OneCDOnly

Working from home
View GitHub Profile
OneCDOnly / gist:13b1f85e4c23c65f5fc5fe7228e6e2b6
Created Oct 12, 2019
disable all installed QPKGs in QTS
View gist:13b1f85e4c23c65f5fc5fe7228e6e2b6
packages=($(grep '^\[.*\]$' /etc/config/qpkg.conf | sed 's|[][]||g'))
for package in ${packages[*]}; do setcfg $package Enable FALSE -f /etc/config/qpkg.conf; done
View gist:cb25908776b6b4ceb8c7e5fdeed94453
from pip import main
from pip._internal import main
After substitute pip2 import line with pip3 version, it works
OneCDOnly / gist:972755c5c5825ddd819cb2729a52b646
Last active Jun 25, 2020
Install 'google-drive-ocamlfuse' on Debian Stretch
View gist:972755c5c5825ddd819cb2729a52b646
sudo apt install software-properties-common dirmngr gnupg-agent
sudo apt-key adv --keyserver --recv-keys AD5F235DF639B041
echo 'deb xenial main' | sudo tee /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa.list >/dev/null
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse
OneCDOnly / mimeapps.list
Created May 16, 2018
get 'baobab' to launch 'dolphin' instead of 'kfind' when opening folders in Debian 9.4 KDE
View mimeapps.list
[Added Associations]
OneCDOnly /
Created Oct 2, 2017
install jekyll on Debian Stretch
sudo apt-get install gem ruby ruby-dev
sudo gem install jekyll bundler jekyll-redirect-from
cd ~/documents/SABnzbd\ wiki/
jekyll serve
View gist:45f1c618f5501ce2502b701d319199f7
for s in /tmp/screens/S-admin/*; do screen -r $(basename $s); done
You can’t perform that action at this time.