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
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |
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 "set enable-bracketed-paste off" >> ~/.inputrc |
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
$ wget -e robots=off --wait 1 http://your.site.here |
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
$ wget -q -O - https://api.github.com/users/u0d7i/gists | grep raw_url | awk -F\" '{print $4}' | xargs -n1 wget |
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
Correct download filename when redirected with wget and curl | |
$ wget --content-disposition http://somesite.org/download/php?id=123123 | |
$ curl -J -O http://somesite.org/download/php?id=123123 |
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
{ rtl_fm -M fm -l 0 -A std -p 0 -s 171k -g 40 -F 9 -f 106.2M | redsea -e 2>&1 1>&3 3>&- | jq -c . ; } 3>&1 1>&2 | aplay -r 171k -f S16_LE |
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-get install xclip | |
$ man xclip | |
<...> | |
-selection | |
specify which X selection to use, options are "primary" to use XA_PRIMARY (default), "secondary" for XA_SECONDARY or "clipboard" for XA_CLIPBOARD | |
<...> | |
$ xclip -i log.txt | |
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
# while true; do qp g+ && timeout 10 apt-get -y install elinks; qp g-; sleep 1; done | |
# time while true; do date +"%F %T"; ./3g-connect && echo "ip address: $(ip addr show dev gprs0 | grep inet | awk '{print $2}')"; timeout 5 wget --progress=dot -c http://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.4-rc8.tar.xz && break; echo; ./3g-disconnect; sleep 1; echo; 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 sed -i 's@bin/chromium@bin/chromium -incognito@' /usr/share/applications/chromium.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
$ rdesktop -g 90% -r clipboard:CLIPBOARD windowsbox.net.lab |
NewerOlder