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
#!/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 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 |
NewerOlder