Keys | Action | Section | Info |
---|---|---|---|
Ctrl + A|E |
Cursor to Start|End |
Move |
Cursor |
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 | |
T='gYw' # The test text | |
echo "Background: 0 1 2 3 4 5 6 7" | |
echo "Foreground:" | |
for FG in 0 1 2 3 4 5 6 7 | |
do | |
echo -en " ${FG} $(tput setaf ${FG}) $T " |
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 | |
# Build Zsh from sources on Ubuntu. | |
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file. | |
# Make script gives up on any error | |
set -e | |
# Some packages may be missing | |
sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo checkinstall |
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 zsh | |
assertequal () { | |
(( testcount=testcount+1 )) | |
if [ "$1" = "$2" ]; then | |
echo "${testcount} PASS: $3" | |
else | |
echo "${testcount} FAIL: expected output failed" | |
fi | |
} |
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
// privacy.firstparty.isolate=true known issues with paypal | |
// browser.display.use_document_fonts=false known issues with version2.dk fonts | |
// privacy.resistFingerprinting=true breaks digitalocean login, breaks google oauth logins | |
// network.http.referer.XOriginPolicy=1 breaks atlassian.com,bitbucket.org login, reddit oauth login | |
// network.cookie.cookieBehavior=1 breaks memedroid.com google SSO login | |
// media.autoplay.blocking_policy = 2 # youtube won't autoplay music radios | |
// media.autoplay.blocking_policy = 2 # twitch won't play ads or unmute audio | |
// media.autoplay.blocking_policy = 2 # bandcamp won't play next tracks | |
// media.block-autoplay-until-in-foreground = false # plex will MAYBE stop playing music when forwarding tracks https://www.reddit.com/r/firefox/comments/ga9tzv/i_just_want_to_be_able_to_play_my_plex_playlist/ |
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
## Hosts | |
# any -> facebook | |
* facebook.com * block | |
* facebook.net * block | |
* fbcdn.net * block | |
# facebook -> facebook (direct visit) | |
facebook.com facebook.com * noop | |
facebook.com facebook.net * noop | |
facebook.com fbcdn.net * noop |
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
if has('viminfo') && !empty(&viminfo) | |
" Ignore paths, such as :help files | |
set viminfo+=r/usr/share/vim/vim81/doc | |
endif | |
set viminfofile=$HOME/.vim/viminfo | |
function! Oldfiles() | |
rviminfo! | |
enew |
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
https://www.youtube.com/watch?v=uejbDyjwYlw | |
https://www.youtube.com/watch?v=4fB1Hh3NATw | |
https://www.youtube.com/watch?v=Ova3SZLCZVY | |
https://www.youtube.com/watch?v=RQJH97DLkIk | |
https://www.youtube.com/watch?v=lVuAvH1PigA | |
https://www.youtube.com/watch?v=rwwnUZkI9Q0 | |
https://www.youtube.com/watch?v=v1LWDb37gcs | |
https://www.youtube.com/watch?v=2P9lhkAWrIw | |
https://www.youtube.com/watch?v=OK2iU8Oo5xA | |
https://www.youtube.com/watch?v=apBn5wIn9zQ |
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 | |
# WARNING: vim caches ./configure results ALWAYS run "make distclean" AFTER each OPTION added or DEPENDENCY INSTALLED! | |
# --with-features=big is the least for +termguicolors 24bit truecolor support | |
# --with-features=huge is needed for profiling | |
# http://www.drchip.org/astronaut/vim/vimfeat.html | |
# debian dependencies | |
apt-get install -y gcc libncurses-dev build-essential make python3 libpython3-dev xorg-dev |
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
#EXTM3U | |
# Directories to find radios | |
# https://www.internet-radio.com/ | |
# http://radio.pervii.com/en/online-playlists-m3u.htm | |
# https://directory.shoutcast.com | |
# http://dir.xiph.org/ | |
# https://www.internet-radio.com/ | |
# https://tunein.com/ | |
# https://www.liveradio.ie |
OlderNewer