Skip to content

Instantly share code, notes, and snippets.

@cirrusUK
Last active Oct 13, 2021
Embed
What would you like to do?
# -- windows & pane creation ---------------------------------------------------
# new window retains current path, possible values are:
# - true
# - false (default)
tmux_conf_new_window_retain_current_path=false
# new pane retains current path, possible values are:
# - true (default)
# - false
tmux_conf_new_pane_retain_current_path=true
# new pane tries to reconnect ssh sessions (experimental), possible values are:
# - true
# - false (default)
tmux_conf_new_pane_reconnect_ssh=false
# prompt for session name when creating a new session, possible values are:
# - true
# - false (default)
tmux_conf_new_session_prompt=true
# -- display -------------------------------------------------------------------
# RGB 24-bit colour support (tmux >= 2.2), possible values are:
# - true
# - false (default)
tmux_conf_theme_24b_colour=true
# window style
tmux_conf_theme_window_fg='default'
tmux_conf_theme_window_bg='default'
# highlight focused pane (tmux >= 2.1), possible values are:
# - true
# - false (default)
tmux_conf_theme_highlight_focused_pane=true
# focused pane colours:
#tmux_conf_theme_focused_pane_fg='default'
tmux_conf_theme_focused_pane_bg='#191919' # light blue
# pane border style, possible values are:
# - thin (default)
# - fat
tmux_conf_theme_pane_border_style=thin
# pane borders colours:
tmux_conf_theme_pane_border='#444444' # gray
tmux_conf_theme_pane_active_border='#00afff' # light blue
# pane indicator colours
tmux_conf_theme_pane_indicator='#00afff' # light blue
tmux_conf_theme_pane_active_indicator='#cb4b16' # orange
# status line style
tmux_conf_theme_message_fg='#171717' # black
tmux_conf_theme_message_bg='#cb4b16' # orange
tmux_conf_theme_message_attr='bold'
# status line command style (<prefix> : Escape)
tmux_conf_theme_message_command_fg='#cb4b16' # orange
tmux_conf_theme_message_command_bg='#222222' # black
tmux_conf_theme_message_command_attr='bold'
# window modes style
tmux_conf_theme_mode_fg='#222222' # black
tmux_conf_theme_mode_bg='#cb4b16' # orange
tmux_conf_theme_mode_attr='bold'
# status line style'#2aa198' '#cb4b16'
tmux_conf_theme_status_fg='#2aa198' # light gray
tmux_conf_theme_status_bg='#222222' # dark gray
tmux_conf_theme_status_attr='none'
# terminal title
# - built-in variables are:
# - #{circled_window_index}
# - #{circled_session_name}
# - #{hostname}
# - #{hostname_ssh}
# - #{username}
# - #{username_ssh}
tmux_conf_theme_terminal_title='#h ❐ #S ● #I #W'
# window status style
# - built-in variables are:
# - #{circled_window_index}
# - #{circled_session_name}
# - #{hostname}
# - #{hostname_ssh}
# - #{username}
# - #{username_ssh}
tmux_conf_theme_window_status_fg='#cb4b16' # light gray
tmux_conf_theme_window_status_bg='#222222' # dark gray
tmux_conf_theme_window_status_attr='none'
tmux_conf_theme_window_status_format='#I:#W #F'
#tmux_conf_theme_window_status_format='#{circled_window_index} #W'
#tmux_conf_theme_window_status_format='#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}'
# window current status style
# - built-in variables are:
# - #{circled_window_index}
# - #{circled_session_name}
# - #{hostname}
# - #{hostname_ssh}
# - #{username}
# - #{username_ssh}
##tmux_conf_theme_window_status_current_fg='#cb4b16' # orange
##tmux_conf_theme_window_status_current_bg='#222222' # black
tmux_conf_theme_window_status_current_attr='bold'
tmux_conf_theme_window_status_current_format='#I:#W #F'
#tmux_conf_theme_window_status_current_format='#{circled_window_index} #W'
#tmux_conf_theme_window_status_current_format='#I #W#{?window_zoomed_flag,🔍,}'
# window activity status style
tmux_conf_theme_window_status_activity_fg='default'
tmux_conf_theme_window_status_activity_bg='default'
tmux_conf_theme_window_status_activity_attr='bold'
# window bell status style
tmux_conf_theme_window_status_bell_fg='#ffff00' # yellow
tmux_conf_theme_window_status_bell_bg='default'
tmux_conf_theme_window_status_bell_attr='bold'
# window last status style
tmux_conf_theme_window_status_last_fg='#00afff' # light blue
tmux_conf_theme_window_status_last_bg='default'
tmux_conf_theme_window_status_last_attr='none'
# status left/right sections separators ❮ |
#tmux_conf_theme_left_separator_main=''
#tmux_conf_theme_left_separator_sub=''
#tmux_conf_theme_right_separator_main=''
tmux_conf_theme_right_separator_sub=''
tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline
tmux_conf_theme_left_separator_sub='\uE0B1' # you only need fonts patched with
tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone
#tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see README.md
# status left/right content:
# - separate main sections with '|'
# - separate subsections with ','
# - built-in variables are:
# - #{battery_bar}
# - #{battery_hbar}
# - #{battery_percentage}
# - #{battery_status}
# - #{battery_vbar}
# - #{circled_session_name}
# - #{hostname_ssh}
# - #{hostname}
# - #{loadavg}
# - #{pairing}
# - #{prefix}
# - #{root}
# - #{synchronized}
# - #{uptime_y}
# - #{uptime_d} (modulo 365 when #{uptime_y} is used)
# - #{uptime_h}
# - #{uptime_m}
# - #{uptime_s} ⬆ U+2B06 ⏫🐧
# - #{username} ⬆ U+2B06 🌞😈🔋🌱
# - #{username_ssh}
tmux_conf_theme_status_left='#[fg=green,bg=black,dim]⮝ [Tmux] ❐ #S:#I:#P | #{?uptime_h, #{uptime_h}h:,#[fg=black,bg=pink]}#{?uptime_m,#{uptime_m}m,} | #[fg=black] #{loadavg} | #[fg=cyan]#(curl http://wttr.in/?format=3) '
tmux_conf_theme_status_right='❮ #{pairing}#{synchronized}#{?battery_status,#{battery_status},}#{?battery_bar,#{battery_bar},}#[fg=white]#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username} | #{root} | #{hostname}'
# you may want to use %I:%M %p in place of %R
# status left style
tmux_conf_theme_status_left_fg='#222222,#222222,#e4e4e4' # black, white , white
tmux_conf_theme_status_left_bg='#222222,#ffff00,#00afff' # yellow, pink, white blue
tmux_conf_theme_status_left_attr='bold,none,none'
# status right style
tmux_conf_theme_status_right_fg='#8a8a8a,#e4e4e4,#000000' # light gray, white, black
tmux_conf_theme_status_right_bg='#080808,#d70000,#e4e4e4' # dark gray, red, white
tmux_conf_theme_status_right_attr='none,none,bold'
# pairing indicator
tmux_conf_theme_pairing='👓 ' # U+1F453
tmux_conf_theme_pairing_fg='none'
tmux_conf_theme_pairing_bg='none'
tmux_conf_theme_pairing_attr='none'
# prefix indicator
tmux_conf_theme_prefix='⌨ ' # U+2328
tmux_conf_theme_prefix_fg='none'
tmux_conf_theme_prefix_bg='none'
tmux_conf_theme_prefix_attr='none'
# root indicator ☠ #I
tmux_conf_theme_root='⚠️'
tmux_conf_theme_root_fg='none'
tmux_conf_theme_root_bg='none'
tmux_conf_theme_root_attr='bold,blink'
# synchronized indicator
tmux_conf_theme_synchronized='🔒' # U+1F512
tmux_conf_theme_synchronized_fg='none'
tmux_conf_theme_synchronized_bg='none'
tmux_conf_theme_synchronized_attr='none'
# battery bar symbols
tmux_conf_battery_bar_symbol_full='❮'
tmux_conf_battery_bar_symbol_empty='❮'
#tmux_conf_battery_bar_symbol_full='♥'
#tmux_conf_battery_bar_symbol_empty='░❮'
# battery bar length (in number of symbols), possible values are:
# - auto
# - a number, e.g. 5
tmux_conf_battery_bar_length='auto'
# battery bar palette, possible values are:
# - gradient (default)
# - heat
# - 'colour_full_fg,colour_empty_fg,colour_bg'
#tmux_conf_battery_bar_palette='heat'
tmux_conf_battery_bar_palette='#ff5f00,#5fff00,#191919' # red, white, black
# battery hbar palette, possible values are:
# - gradient (default)
# - heat
# - 'colour_low,colour_half,colour_full'
#tmux_conf_battery_hbar_palette='gradient'
tmux_conf_battery_hbar_palette='#ff5f00,#5fff00,#222222' # red, orange, green
# battery vbar palette, possible values are:
# - gradient (default)
# - heat
# - 'colour_low,colour_half,colour_full'
#tmux_conf_battery_vbar_palette='heat'
tmux_conf_battery_vbar_palette='#d70000,#ff5f00,#222222' # red, orange, green
# symbols used to indicate whether battery is charging or discharging
#tmux_conf_battery_status_charging='' # U+2191
#tmux_conf_battery_status_discharging='⏬🔌' # U+2193
tmux_conf_battery_status_charging='⚡ ' # U+26A1
#tmux_conf_battery_status_charging='🔌🔋 ' # U+1F50C
tmux_conf_battery_status_discharging='🔌 ' # U+1F50B
# clock style (when you hit <prefix> + t)
# you may want to use %I:%M %p in place of %R in #tmux_conf_theme_status_right
tmux_conf_theme_clock_colour='#00afff' # light blue
tmux_conf_theme_clock_style='24'
#external scripts
#-----------------------------------------------------
#run-shell ~/scripts/tmux-open/open.tmux
run-shell ~/scripts/tmux-copycat/copycat.tmux
run-shell ~/scripts/tmux-urlscan/urlscan.tmux
run-shell ~/scripts/tmux-fzf-url/fzf-url.tmux
run-shell ~/scripts/tmux-urlview/urlview.tmux
# EOF
# -- clipboard -----------------------------------------------------------------
# in copy mode, copying selection also copies to the OS clipboard
# - true
# - false (default)
# on macOS, this requires installing reattach-to-user-namespace, see README.md
# on Linux, this requires xsel or xclip
tmux_conf_copy_to_os_clipboard=true
# -- user customizations -------------------------------------------------------
# this is the place to override or undo settings
set -g status-justify centre
set -ag terminal-overrides ",st-*:Tc"
set -ag terminal-overrides ",xterm-*:termite:Tc"
#set-window-option -g window-status-format#[fg=colour172]'#I:#W#F'
#set-window-option -g window-status-current-format '#I:#W#F'
set-option -g update-environment 'DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY DBUS_SESSION_BUS_ADDRESS'
# increase history size
#set -g history-limit 10000
#fzf youtube channel
bind-key v new-window -n "Bunnies" '$SHELL -c "ytchan" \; display "your a tube"'
#tmux2html
#bind-key a new-window -n "tmux2html" '$SHELL -c "~/venv/bin/tmux2html 0 -o ~/misc/tmux${RANDOM}.html" \; display "tmux2html complete"'
# \; display 'tmux2html complete"'
bind-key a new-window -n "base16" '$SHELL -c "$HOME/scripts/fzfbase16" \; display "tmux2html complete"'
# reload configuration
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
# urlscan as context and url view
# bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; \
new-window -n "urlscan" '$SHELL -c "urlscan < /tmp/tmux-buffer"'
bind-key U capture-pane \; save-buffer /tmp/tmux-buffer \; \
new-window -n "urlview" '$SHELL -c "urlview < /tmp/tmux-buffer"'
# tmux split-window "tmux show-buffer -b urlview-$1 | open || true; tmux delete-buffer -b urlview-$1"
bind n select-pane -L # move cursor to left
bind j select-pane -D # move cursor to below
bind k select-pane -U # move cursor to above
bind p select-pane -R # move cursor to right
bind H resize-pane -L 5 # resize 5 units to left
# start with mouse mode enabled
set -g mouse on
# force Vi mode
# really you should export VISUAL or EDITOR environment variable, see manual
#set -g status-keys vi
#set -g mode-keys vi
#set -g @open 'o'
set -g @urlview-key 'U'
set -g @fzf-url-bind 'd'
#set -g @open-editor 'e'
set -g status-left "#[fg=yellow,dim][tmux]: #(~/tmux-powerline/powerline.sh left)#[default]"
# replace C-b by C-a instead of using both prefixes
# set -gu prefix2
# unbind C-a
# unbind C-b
# set -g prefix C-a
# bind C-a send-prefix
# move status line to top
#set -g status-position top
##(cat /home/cirrus/.cache/i3blocks/notification | grep BODY | cut -c 6- )
#!/bin/sh
#X220
# ~/.xinitrc
#
#
#
# Executed by startx (run your window manager from here)
# This is here to prevent the creation of HOME/.dbus/session-bus/ by software
# using dbus.
if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval "$(dbus-launch --sh-syntax)"
fi
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ -f ~/.xprofile ]; then
source ~/.xprofile
fi
# Xserver socket (/tmp/.X11-unix/X...).
xhost +si:localuser:"$USER"
##Autostarts
#compton --inactive-dim 0.3 &
compton &
#slstatus &
(conky | while read LINE; do xsetroot -name "$LINE"; done) &
#conky | while read -r; do xsetroot -name "$REPLY"; done &
##xclock -norender -g 150x150-16+438 -fg '#268bd2' -bg '#191919' -hd '#268bd2' -hl '#268bd2' -bd '#268bd2' -sharp -bw 3 &
~/.fehbg &
~/scripts/dzen.sh &
#~/scripts/mclip.py daemon &
#dclock -bg black -fg turquoise -led_off black -geometry 114x49 &
dclock -bg black -fg turquoise -led_off black -geometry 114x49+1230+690 &
tilda &
termite &
firefox &
##xbindkeys &
terminator &
#xfce4-panel &
##Systray Items
rss-notify &
cbatticon &
pasystray &
## Finally, start the correct WindowManger based on the hostname
case "$(hostname)" in
"x220") exec dwm 2> ~/.logs/dwm.log ;;
esac
# vim: ft=sh ts=4 sw=4 tw=0 fdm=marker foldlevel=0 :
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
#░░░░░░░░░█▀█░█░░░▀█▀░█▀█░█▀▀░░░░░░░░
#░░░░░░░░░█▀█░█░░░░█░░█▀█░▀▀█░░░░░░░░
#░░░░░░░░░▀░▀░▀▀▀░▀▀▀░▀░▀░▀▀▀░░░░░░░░
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ cirrus <cirrus@archlinux.info>
# ░▓ code ▓ https://gist.github.com/cirrusUK
# ░▓ mirror ▓ http://cirrusuk.wordpress.com
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
alias \
cp='cp -av' \
#df='df -Th --total' \
#g='git' \
gcm='git commit -m' \
gco='git checkout' \
gd='git diff' \
gdh='git diff HEAD' \
gg='git pull' \
gp='git push' \
gst='git status --short --untracked-files' \
ip="ip -c" \
la='ls -l' \
#ls='ls -AFNh --tabsize=0 --color=auto --show-control-chars --group-directories-first' \
svim='sudo vim' \
ta='tmux attach' \
tl='tmux ls' \
# rm='rm -i' \
rmf='rm -rf -i' \
tree='tree --charset unicode -L 3'
###alias
alias 8888="mpv http://localhost:8888"
alias aapt="/opt/android-sdk/build-tools/28.0.3/aapt"
alias acesop="bat -p ~/scripts/acesop.pl"
alias activate="cd ~/venv/bin && source ~/venv/bin/activate"
alias getchannels="node /home/cirrus/node_modules/arenavision-scraper/index.js"
alias age="sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'"
alias allon="fping -a -r 0 -g 192.168.1.0/24 " #see all internal IP connected to network
alias aria2c='aria2c --enable-rpc --continue=true --dir=video/misc/ '
#aria2c="aria2c --rpc-secret=HeLLo --continue=true --enable-rpc --dir=~/video --add-magnet"
#alias ariadl="cd ~/video && aria2p add-magnet "$1" "
alias ariatop="aria2p top"
alias archpkg="surfraw archpkg"
alias archwiki="surfraw archwiki"
#alias asciimap="~/.npm-packages/bin/mapscii"
alias asciimap="~/.npm-packages/lib/node_modules/mapscii/bin/mapscii.sh"
alias auracle='auracle -r --color=always -C ~/build/aur'
alias aurc="auracle clone"
alias aurs="auracle search"
alias aurupd="auracle sync"
alias aurinfo='echotc us && echo " :\e[1;35m Showing AUR pkg info:\e[0m \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n " | pv -qL 20 && cower -i '
alias aurpkg="surfraw aur"
alias aurnum="pacman -Qmd | wc -l"
alias aw="surfraw archwiki $1"
alias awiki="w3m https://wiki.archlinux.org/"
#alias bat="bat" # A cat(1) clone with syntax highlighting and Git integration.
alias battheme="bat --list-themes | fzf --preview="bat --theme={} --color=always ~/flasher.rb" "
alias battime="cat /sys/devices/platform/smapi/BAT0/remaining_running_time_now"
alias bbcip="~/scripts/bbcip.sh"
alias bb='sudo bleachbit --clean system.cache system.localizations system.trash ; sudo paccache -vrk 2 || return 0'
alias bfly="source ~/venv/bin/activate && ~/venv/bin/butterfly"
#alias bible='bible "$1" | bat'
alias brightdown="~/scripts/dunstbright.sh down"
alias brightup="~/scripts/dunstbright.sh up"
alias brightmax="xbacklight -set 100"
alias xprop="xprop | bat"
alias cpuinfo="cpuinfo | bat"
alias blame="systemd-analyze blame"
alias boot="echo -n '\e[1;32mBoot Time:\e[0m ' | pv -qL 10 && systemd-analyze"
alias bootmsg="echo -n Boot Messages | pv -qL 10 && sudo journalctl -b | ccze -A" #boot messages
alias brexit="tmux detach"
alias bunny="/home/cirrus/build/bunny/bunny.py"
alias bunnies=" youtube-viewer --results=50 -C -s -uv 'UCoSjeNjVxlbXdFf4B6T3ibw'"
alias capsel="~/scripts/capsel" #sh script scrot -s uploads
#alias cat="bat -p -l groovy" # A cat(1) clone with syntax highlighting and Git integration.
alias c-c="sudo pkgcacheclean -v 1" #keep last 2 versions of packages
alias ...='cd ../../../'
alias cdaur="cd ~/build/aur" #cd to ~/build/aur dir
alias cdb="cd ~/build" #cd to ~/build dir
alias cdd="cd .." #up 1 dir
alias ..='cd ..' # go up 2 dirs
alias cdgit="cd ~/build/git"
alias cheatl="cheat -l | bat"
alias chroot.txt="bat /home/cirrus/.cheat/chroot "
alias checkupdates="checkupdates | awk '{printf "%-30s %30s %s %s\n", $1, $2, $3, $4 }'"
alias chgrp='chgrp --preserve-root'
alias chmod='chmod --preserve-root'
alias chown='chown --preserve-root'
alias clbin="curl -v -F 'clbin=<-' https://clbin.com"
alias sparky='clear; echo; echo; seq 1 $(tput cols) | sort -R | spark | ccze -A'
alias clear='timeout 3 ~/venv/bin/cbeams -o; clear || clear'
alias clock="date +%T | toilet -f term -F border --gay"
alias clockfix="sudo ntpd -qg"
#alias countdown="osd_countdown --wait '$1' --message 'Time out' --font '-*-dejavu sans mono-*-*-*-*-30-*-*-*-*-*-*-*' -cgreen | blink"
#alias cowerd="cower -d " #cower download <pkg>
alias coviduk="covid19 -c uk" #show uk pandemic figures
alias cowerd="cower -d -f" #cower download <pkg>
alias coweri="cower -i" #info
alias cowers="cower -s" #search AUR
alias coweru="cower -u" #Check for updates in the AUR.
alias cp='cp -i'
alias cppi="echo scp file/path cirrus@192.168.1.33:/srv/http | pv -qL 20"
alias cpuspeed='watch grep \"cpu MHz\" /proc/cpuinfo' # monitor cpu speeds in realtime'
alias cputemp="sensors | awk NR==15 | colrm 30 | toilet -f term -F border --gay"
alias crimetime='mpv http://www.dailymotion.com/crimetime-tv'
alias crontab="EDITOR=nano crontab"
#alias cttv='youtube-viewer :re="^CrimeTime TV"'
alias dclock="dclock -bg black -fg turquoise -led_off black -geometry 114x49"
#alias ddg='sr duckduckgo'
alias diff="diff-so-fancy"
alias digit="echo dig +short txt archlinux.wp.dg.cx"
alias d="dirs -v | head -10 | bat"
alias disks='echo "╓───── m o u n t . p o i n t s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -a; echo ""; echo "╓───── d i s k . u s a g e"; echo "╙────────────────────────────────────── ─ ─ "; df -h | ccze -A; echo ""; echo "╓───── U.U.I.D.s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -f;'
#alias dmesg="dmesg | tail"
alias drives="echo -n '\e[1;32mListing connected drives:\e[0m' | pv -qL 10 && lsblk -f" #list hdds, uuid's
alias du="du -h"
#alias dzen="~/scripts/dzen.sh"
alias email='mutt'
alias empty='echo -n "\e[1;32mTaking out teh trash:\e[0m " | pv -qL 10 && rm -rf /home/cirrus/.local/share/Trash/files'
alias engage="~/scripts/tm9"
alias enuts="electron /home/cirrus/build/enuts/enuts-linux-ia32/resources/app "
alias epl=" /home/cirrus/venv/bin/pysoccer --live | awk '/Premier /,/Spanish/' | ccze -A "
alias eng=" /home/cirrus/venv/bin/pysoccer --live | sed -n '/Premier/,/Spanish/p' | sed '$d'| ccze -A "
alias epltable="soccer standings PL "
alias eplfixtures="soccer matchday PL "
alias errors="echo -n '\e[1;32mJournal Errors:\e[0m ' | pv -qL 10 && journalctl -b -p err | ccze -A"
alias ethstatus="ethstatus -i wlp3s0"
alias exall="exa -bghHliS"
alias exit="clear ; exit"
alias fact='wget randomfunfacts.com -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;"'
alias faninfo='sudo cat /proc/acpi/ibm/fan '
alias films='lizzy --profile=films'
alias finch='~/scripts/finch.sh'
alias findit="sudo find / -name" #find files
alias flasher="sudo /home/cirrus/scripts/flasher.rb 'a' "
alias fservice="find /etc/systemd -type l -exec test -f {} \; -print | bat"
#alias fuck='pkill -9'
alias fzpkg="pacman -Slq | fzf -m --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Qi '$1'"
alias g@="cat /home/cirrus/Documents/googleralias.txt | bat "
alias gempurge="gem search --local --no-version | tail -n +3 | xargs gem uninstall --allsudo c"
#alias gemupd="gem update `gem outdated | cut -d ' ' -f 1` "
alias gers="googler -N --np 'Glasgow Rangers' "
alias glasgow="googler -N --np Glasgow "
alias glesga="googler -N --np 'Glasgow UK' "
alias goog="googler"
alias googvid="googler -V "
alias google="sr google"
alias gparted="sudo gparted" #launch gparted
alias gpumeminfo='echo -n GPU RAM Information | pv -qL 10 && cat /var/log/Xorg.0.log | ccze -A'
alias gcat="grcat conf.lolcat < "
alias grep='grep -i --color'
alias h='fc -l 25 | bat '
alias hist="history 1|bat" #shell history
#alias history20="cut -f1 -d" " .bash_history | sort | uniq -c | sort -nr | head -n 20"
alias i3guide="w3m http://i3wm.org/docs/userguide.html"
alias i3x="startx /usr/bin/i3 -- -nolisten tcp -br +bs -dpi 96 vt$XDG_VTNR"
alias im="finch"
alias invenv="/home/cirrus/venv/invenv.py | ccze -A"
#alias iohdd="iostat -d -x -p sda | grep -w 'sda' | awk '{print "Read: "$6 " Write: " $7}' "
alias iohdd="iostat -x "
alias iplay="echo -n BBC iPlayer Shell Commands | pv -qL 10 && cat ~/iplayer.txt"
alias iplayer="echo -n Executing BBC iPlayer | pv -qL 10 && get_iplayer --refresh-exclude="cbeebies,cbbc" --type=tv --refresh"
alias ipupdate="sudo inadyn --dyndns_system default@no-ip.com -u cirrus1690 -p RUFFruff -a alarmpi.bounceme.net"
alias ipod="ifuse ~/ipod"
alias irssigs="irssi -c irc.geekshed.net/" #irc server
alias islib='ldconfig -p | grep' #check if a library is installed?
alias j='~/scripts/j.sh'
alias jukebox='echo -n "\e[1;32mncmpcpp via Rpi Archlinux server:\e[0m " | pv -qL 20 && ncmpcpp -h 192.168.1.33'
alias judgejudy='youtube-viewer :re="^Judge Judy Full"'
alias jj="mpsyt pl 'https://www.youtube.com/playlist?list=PLvsTmoUXizUl-1e8rOoLpPkaRK0-6lWqX'"
alias kernelmsg="sudo journalctl -f _TRANSPORT=kernel" #kernel messages
alias keyfail='sudo pacman -S archlinux-keyring && sudo pacman -Syu'
alias killcli="echo -n '\e[1;31mStopping tmux session(s)\e[0m' | pv -qL 10 && sudo killall tmux"
alias killkodi='killall /bin/sh /usr/bin/kodi'
alias killndata="sudo systemctl stop netdata"
alias mpd="mpd && kunst"
alias killmpd="pkill mpd && pkill kunst"
alias lastup="echo -e '\e[1;31mLast Upgraded:\e[0m ' ; tac /var/log/pacman.log | grep upgraded | head -n 1 | cut -c 2-17"
alias less="less -R"
alias listf="ls -F" #list alphabeticaly
alias listkeys="gpg --homedir /etc/pacman.d/gnupg --list-keys | bat "
alias listmod="ls -ltr" #list modified files
#alias ln='ln -i'
alias lsaudio="pacmd list-sinks | awk '/index/ || /name:/ || /alsa.card_name/ || /device.description/'"
alias lsaur="echo -n '\e[1;32mListing Installed AUR packages:\e[0m '| pv -qL 20 && pacman -Qqm"
#alias lsaur="pacman -Qqm" #list installed AUR packages
alias lsbig1="echo 'listing files by size' | pv -qL 10 && find . -printf '%s %p\n'|sort -nr|head | ccze -A" #sort files by size
alias lsbig="echo 'listing files & directories by size' | pv -qL 10 && ls -lSrh | ccze -A" #sort files dirs by size
alias lscpu="lscpu | bat"
alias lsl='ls -lh' #list files, dirs
alias lspkg=" ~/scripts/lspkg "
alias ls='ls -FN --group-directories-first --color=auto'
alias lsgpu='lspci -k | grep -A 3 VGA | bat' #show installed GPU info
alias lsupdates="echo -e '\e[1;32mWaiting Updates:\e[0m '| pv -qL 10 && pacman -Qqu --dbpath /tmp/checkup-db-cirrus"
alias make='colormake'
alias makepkgi="makepkg -ci" #build,install
alias makepkgsric="makepkg -sric" #build,getdeps,clean,install,remove buildtime deps
alias matrix="cmatrix -b"
alias meminfo="echo -n '\e[1;32mRAM Information:\e[0m ' | pv -qL 10 && free -m -l -t | bat" #freeRAM
#alias meminfo='free -m -l -t' #freeRAM
#alias menu='cd "$(ls | dmenu -nb "#100" -nf "#b9c0af" -sb "#000" -sf "#cb4b16" -i)"'
alias mkdir='mkdir -p -v'
alias mmap="node ~/build/blessed-contrib/examples/dashboard.js"
alias moon="curl -sL http://wttr.in/moon | head -n-4"
#alias mount10="echo -n 'mounting to /mnt/tmp' && sudo mount /dev/sdb2 /mnt/tmp"
alias mountpi="sshfs -p 22 cirrus@192.168.1.33:/mnt/rpi"
alias mountsrv="sshfs -p 22 cirrus@192.168.1.33:/srv/http /mnt/pisrv"
alias mp3dl="cd ~/Music && wget -r -A.mp3 "
alias mpdbotgs="~/scripts/mpdbotgs"
#alias mpds="mpdscribble" #launch mpd lastfm scrobbler
alias mpdsrv='echo -n "MPD Stream via Raspberry Pi Archlinux server" | pv -qL 20 && mplayer http://192.168.1.33:9001'
alias mpvg='mpv --profile=pseudo-gui'
alias mpvpls='mpv --geometry=150x150+1192+597 --autofit-smaller=150x150 --shuffle --no-config --playlist="/home/cirrus/Music/mp3.pls"'
alias mute='pactl set-sink-mute 3 toggle'
alias mv='mv -i'
alias mychan='mpsyt /user cirrus mcminor'
alias myip='~/scripts/ip.sh'
alias mympd='echo -n "Rpi 🇲🇵🇩 🇸🇪🇷🇻🇪🇷 " | pv -qL 20 && mplayer http://192.168.1.33:9001'
alias mytweets='t timeline @_cirrus_minor_ '
alias nano="nocorrect nano"
alias ncmatrix="ncmatrix -I wlp3s0 -R red -T yellow"
alias ndata="sudo systemctl start netdata && xdg-open http://127.0.0.1:8899/"
alias netctl-stat="netctl status wlp3s0-TALKTALK-620DF0 | bat"
alias netfix='sudo ip link set dev wlp3s0 down && sudo ip link set dev wlp3s0 up '
alias netlisten='lsof -i -P | grep LISTEN' #listening ports
alias news='echo -n "\e[1;32mLaunching Newsboat RSS Reader For Command Line:\e[0m " | pv -qL 20 && newsboat' #launch rss feeder
alias nicklist="cat ~/.irssi/nicklistfifo"
alias nstat="sudo netstat -p TCP -eWc | bat" #netstat
alias nstato="sudo netstat -tuael --numeric-hosts --numeric-ports | bat" #netstat
alias nutsay=" texnut -status=- "
alias ocpcur="ocp-curses"
#alias onedrivelink='onedrive-cli link'
#alias onedrivels='onedrive-cli ls | ccze -A '
#alias onedriveup='onedrive-cli put'
#alias open='xdg-open'
alias paccache="sudo paccache -rvk2" #Keep the last cache and the currently installed
alias pacachec="pacman -Sc" #delete pacman cache
alias pacinfo='echo -n "ᗧ ᛫ ᛫ ᗣᗣ 🍒 . ᗣ .🍓 . . .ᗣᗣ . . 🍇. . 🍓🍈. .🍒. :\e[1;35m Pacman is showing pkg info:\e[0m " | pv -qL 20 && sudo pacman -Si | bat' #show information about a package
alias pack="~/scripts/pac.sh"
alias paclistloc="pacman -Qqm | bat" #list all locally installed pkgs
alias paclist="sudo pacman -Ql | bat" #list all files installed by pkg
alias pacmanlog='tail -n 40 /var/log/pacman.log | bat' #view 40 entries in pacman log
alias pacorph="sudo pacman -Qdt" #list all orphaned packages
alias pacown="echo -n '\e[1;35m Determine which package owns a file:\e[0m ' | pv -qL 20 && pacman -Qo" #determine which package owns a file
alias pacfz="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias pacrns="sudo pacman -Rns" #uninstall package and deps
alias pacr="sudo pacman -R " #uninstall one or more package/s
alias pacss="sudo pacman -Ss" #search for a package (not AUR)
alias pacs="sudo pacman -S" #install package/s
alias pacsu='echotc us && echo "\e[1;32mUpgrading installed packages\e[0m: \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n" | pv -qL 40 && sudo pacman -Su | bat'
alias pacsyu='echotc us && echo "\e[1;32mFull System Update\e[0m: \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n" | pv -qL 40 && sudo pacman -Syu | bat && blink' #update all packages to latest version
alias pacsyyu='echotc us && echo "\e[1;32mRefreshing Mirrorlist\e[0m: \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n" | pv -qL 40 && sudo pacman -Syy '
#alias pacsyy='echo -n "ᗧ ᛫ ᛫ ᗣᗣ 🍒 . ᗣ .🍓 . . .ᗣᗣ . . 🍇. . 🍓🍈. .🍒. : \e[1;36mRefreshing Mirrorlist:\e[0m " | pv -qL 20 && sudo pacman -Syy '
alias palette="tco -d"
alias peaclock="peaclock --config-dir= ~/.config/peaclock"
alias pbay="w3m http://proxybay.de/browse/200"
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
alias pimpd='echo -n "\e[1;32🇲🇵🇩 Stream via Raspberry Pi Archlinux Server:\e[0m " | pv -qL 20 && mplayer http://192.168.1.33:9001'
alias pingnorton1="echo -n Pinging norton.com... | pv -qL 10 && ~/pping.sh -c 5 198.153.194.1"
alias pingnorton="echo -n '\e[1;32mPinging norton.com...:\e[0m ' | pv -qL 10 && ~/scripts/pping.sh -c 5 198.153.192.1"
alias pingg='echo -n "\e[1;31mPinging google.com...:\e[0m " | pv -qL 10 && ~/scripts/pping.sh -c 5 google.com' #ping google
alias pingpi="echo -n pinging pi ... | pv -qL 10 && ~/pping.sh 192.168.1.33 "
#alias pingpi="ping 192.168.1.33 | ccze -A"
alias piport="sudo nc -v -n -z -w 1 192.168.1.33 1-9000"
alias pizza="sleep 10m && echo 🍕 🍕 pizza is done 🍕 🍕 " #shellalert in 10 mins
alias pkginfo='/home/cirrus/scripts/pkginfo'
alias pkglist="comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt"
alias pl="soccer m 'PL' "
alias pltable="soccer s 'PL' "
alias pong="ping -c 3 www.google.com"
alias porn="/home/cirrus/scripts/skeet_xvideos.sh "
alias porn1="/home/cirrus/scripts/skeet_empflix.sh"
alias porn2="/home/cirrus/scripts/skeet_youjizz.sh"
alias ports='sudo netstat -tulanp | bat' #netstat
#alias poweroff='mpg123 ~/scripts/exit.mp3 && sudo systemctl poweroff -f' #poweroff
alias poweroff="blink && sudo systemctl poweroff" #poweroff
alias pping="~/scripts/pping.sh"
alias pysoccer "/home/cirrus/venv/bin/pysoccer"
#alias prebootmsg"="sudo journalctl --since=today | tac | sed -n '/-- Reboot --/{n;:r;/-- Reboot --/q;p;n;b r}' | tac"
alias pscpu='echo -n "Top Processes accesing CPU " | pv -qL 10 && ps auxf | sort -nr -k 3 | bat'
alias psmem='echo -n "Top Processes accesing RAM " | pv -qL 10 && ps auxf | sort -nr -k 4 | bat'
#alias psmem='ps auxf | sort -nr -k 4 | bat' #top process eating memory
#alias ps='ps -eo pid,lstart,pcpu,cmd'
alias psusage="ps aux --sort=-%cpu | grep -m 11 -v `whoami`" #cpu load
alias pvr="~/get_iplayer.cgi --listen 127.0.0.1 --port 1935"
alias qtconfig="/usr/lib/qt4/bin/qtconfig" #qtconfig
alias quote='wget quotability.com -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;" '
#alias radio="~/scripts/radio"
alias realtime='journalctl -f -all | bat'
alias reboot='espeak "system is rebooting" && sudo systemctl reboot | blink' #reboot
alias recterm="echo -n Recording Terminal | pv -qL 10 && asciinema rec"
alias recupd="tac /var/log/pacman.log | sed -n '/full system upgrade/q;s/.*\[ALPM\] upgraded //p' | bat"
alias red1="echo -n ' \e[1;32mArchLinux SubReddit For Command Line\e[1;32m' | pv -qL 10 && reddit_top -s archlinux"
alias red="echo -n Reddit For Command Line | pv -qL 10 && reddit_top"
alias remirror"sudo /home/cirrus/scripts/reflector.py --protocol https --latest 30 --country GB --number 20 --sort rate --save /etc/pacman.d/mirrorlist"
alias respawn-pulse="pulseaudio --kill && pulseaudio --start"
alias ritchie="curl -Ls https://git.io/unix"
alias rm='rm -i'
alias del="rm -i"
alias root="sudo -i"
alias rpi='ssh alarmpi'
alias rss="newsboat"
alias rtupd60=" find / -mtime -1" #updated / 60mins
alias saw="googler site:https://wiki.archlinux.org"
alias sbbs="googler site:bbs.archlinux.org"
alias scrotall='~/scripts/scrot.sh'
alias scrotsel='~/scripts/scrots.sh'
alias seeme="mplayer tv://"
alias serve="cd ~/tmp && echo -n localhost python server on port 8080 | python -m http.server 8080"
alias serveod="rclone serve http --addr 192.168.1.14:8866 remote:"
alias sgithub="googler site:github.com"
alias sgist="googler site:gist.github.com "
#alias shutdown='sudo systemctl poweroff' #shutdown
alias shutdown="~/scripts/shutdown.sh"
alias sixel="xterm -ti vt340 -e lsix *jpg *png *jpeg"
alias size='du -hs .[^.]* * | sort -h | ccze -A' #list 10 dir/files by size
alias sizehome="sudo du -a ~/ | sort -n -r | head -n 10" #list 10 dir by size
alias sizevar='sudo du -a /var | sort -n -r | head -n 10' #list 10 dir by size
alias sjctl="sudo journalctl"
alias slideshow='cd /home/cirrus/Pictures | feh -z -D 15'
#alias smemount="smemount "/home/cirrus/sme/" base64-Y2lycnVz:base64a-LWFlcy1VMkZzZEdWa1gxOHpaOHNORFhjc29YSEdWaWRkZE4zVTF2YVZaVEp1eHBWOVBweHJ1VWFpNm5MNWdOVnlwbEdV --server="eu.storagemadeeasy.com" --ct=30"
#alias smeumount="sudo umount /home/cirrus/sme"
alias snarf='sudo httpry -i wlp3s0 | grep /live/ | cut -c 50- | colrm 104'
alias soccer="/home/cirrus/node/bin/soccer-go"
#alias soccer="node /home/cirrus/node_modules/soccer-go/lib/index.js"
alias soma='/home/cirrus/.gem/ruby/2.7.0/bin/somadic soma:groovesalad soma:secretagent soma:dronezone soma:defcon soma:fluid soma:deepspaceone soma:sf1033 soma:lush'
alias sourcebash="source ~/.bashrc" #source .bashrc
alias sourcezsh="source ~/.zshrc" #source .zshrc
alias space="~/scripts/space.sh"
alias speeddown="echo -n '\e[1;32mDisplaying Download Speed Graph\e[0m ' | pv -qL 10 && speedometer -rx wlp3s0"
alias speedrw="echo -n '\e[1;32mShow R/W speeds:\e[0m ' | pv -qL 10 && dd bs=1000000 count=100 if=/dev/zero of=testfile & speedometer testfile"
alias speedtestosd="speedtest-cli --no-upload | osd_cat -A center -p top -f '-*-roboto-*-*-*-*-24-*-*-*-*-*-*-*' -cgreen -s5 -o 16 "
alias speedtest="echo -n '\e[1;32mTest Download & Upload Speeds with option to share results via png file:\e[0m ' | pv -qL 10 && speedtest-cli --share | bat"
alias speedup="echo -n '\e[1;32mDisplaying Upload Speed Graph\e[0m ' | pv -qL 10 && speedometer -tx wlp3s0"
alias sshcam="cd ~/scripts/sshcam && ./sshcam"
alias sshkeygen='echo -n "\e[1;32Generating SSH Key:\e[0m " | pv -qL 20 && ssh-keygen -t rsa -C nailzuk@gmail.com'
alias sshoff="~/scripts/sshoff.sh"
alias sshon="~/scripts/sshon.sh"
alias sjctl="sudo journalctl"
alias ssctl="sudo systemctl"
alias starwars="telnet towel.blinkenlights.nl" #starwars ascii
#alias streamlink="~/venv/bin/streamlink"
alias streams='livestreamer-curses'
alias subs="~/scripts/subscow.sh"
alias sudoers="sudo EDITOR=nano visudo"
alias sudo="sudo -i"
alias supy="supybot /home/cirrus/supybot/cirrusb0t.conf" #launch supybot
alias systemdmsg="sudo journalctl /usr/lib/systemd/systemd | ccze -A"
alias syt="googler -w youtube.com"
#alias ta="tmux attach-session -t 0"
alias telehack="telnet telehack.com"
alias telmap="telnet mapscii.me"
alias tflix="~/scripts/torrentflix/bin/torrentflix"
alias timex="date +'%a%e %b %G %T' | figlet"
alias tlp-stat="sudo tlp-stat | bat"
alias tlpui="sudo tlpui"
alias tmuxhtml="~/venv/bin/tmux2html 0:0 -o ~/misc/tmux${RANDOM}.html "
alias tmux2html0="tmux2html 0 -o ~/misc/tmux${RANDOM}.html && firefox ~/tmux0.html"
alias toprun="ps axo %cpu,%mem,comm |sort -unr| head -n 9" #top processes
#alias top="vtop --theme cirrus"
alias touchpadoff='xinput set-prop 11 "Device Enabled" 0'
alias touchpadon='xinput set-prop 11 "Device Enabled" 1'
alias tpb='~/scripts/tpb.sh'
alias transoff="sudo systemctl stop transmission"
alias transon="sudo systemctl start transmission"
alias tree='tree --charset unicode -L 3 | bat'
alias trz="transmission-daemon && transmission-remote-cli -c 192.168.1.14:9091"
#alias tux="cowsay -f tux $(fortune all) | ccze -A"
alias tweet="/home/cirrus/scripts/tweet.sh-master/tweet.sh post"
alias tweet1="twitter set 👊 "
alias tweet2="t update 👊 "
alias twit2="t stream timeline -C icon"
alias twitfam="t stream list _cirrus_minor_/tweet-family -C icon "
alias twitnix="t stream list linuxfoundation/linux-foundation-members -C icon "
alias twit="twitter --format ansi -r -R 70"
alias twitr="~/scripts/rainbow.sh"
alias twit3='echotc us && echo "\e[1;31mLaunching Oysttyer Twitter Client:\e[0m " | pv -qL 20 && oystter -dostream' #CLI twitter client
alias twit4='echotc us && echo "\e[1;32mLaunching Command Line Twitter Client:\e[0m " | pv -qL 20 && twitter -r -R 60' #twitter stream cli
alias uktv="w3m http://tv.bleb.org/tv/align.html?c=bbc1_scotland+bbc2+itv1+ch4+five"
#alias umount10="echo -n 'unmounting /mnt/tmp' && sudo umount /dev/sdb2"
alias unetbootin='echo -n "\e[1;32mLaunching Unetbootin:\e[0m " | pv -qL 10 && sudo unetbootin' #launch unetbootin
alias units="echo -n '\e[1;32mListing Units:\e[0m ' | pv -qL 10 && systemctl list-units | bat"
alias unix="~/scripts/unix.sh"
alias unlockdb="echo -n '\e[1;32mRemoving Pacmans db.lck :\e[0m ' | pv -qL 10 && sudo rm /var/lib/pacman/db.lck"
alias upd60="find . -mmin -60" #updated currentdir 60mins
alias updmirrors="sudo reflector --country 'GB' --age 12 --protocol https --latest 30 --number 10 --sort rate --save /etc/pacman.d/mirrorlist | bat"
alias uptime="echo '$(uptime | toilet -f term -F border --gay)'"
alias usage='du -ch | grep total | bat'
#alias userlist='cat /etc/passwd |grep "/bin/bash" |grep "[5-9][0-9][0-9]" |cut -d: -f1'
alias uuid="echo -n '\e[1;32mListing UUID:\e[0m ' | pv -qL 10 && ls /dev/disk/by-uuid/ -alh"
alias vdu75="xbacklight -set 75" #set vdu brightness to 75% max
alias vdu100="xbacklight -set 100" #set vdu brightness to 100%
#alias venv="source ~/venv/bin/activate && cd ~/venv/bin"
alias vi="vim"
alias volume='ncpamixer'
alias wee='echo -n "Launching Weechat IRC Command Line Client:" && weechat-curses'
#alias wee='echo -n "\e[1;32mLaunching Weechat IRC Command Line Client:\e[0m " | pv -qL 20 && weechat-curses'
alias wego1="wego | head -n 7"
alias wget='wget -c'
alias wifitoggle='sudo ip link set dev wlp3s0 down && sudo ip link set dev wlp3s0 up '
alias wikicur="wikicurses"
alias wikip="wikipediaSearch"
alias wlan="iwconfig wlp3s0 | grep -i --color signal "
alias wpa_cli="wpa_cli -a /home/cirrus/scripts/wpadunst"
#alias xclock="xclock -norender -bw 196 -fg cyan -bg black -hands cyan -hl red -sharp"
alias xeyes="xeyes -bg black -center green -fg blue -geometry 114x49"
alias xmas="curl -sL https://github.com/sergiolepore/ChristBASHTree/raw/master/tree-EN.sh | bash "
alias xkcd="/home/cirrus/scripts/xkcd.py --random"
alias xi='xclip -i -sel clip'
alias xorg0='bat /home/cirrus/.local/share/xorg/Xorg.0.log'
alias yv='googler -w youtube.com --url-handler mpv $argv'
#alias ytdl="youtube-viewer -d" #youtube-viewer download -[URL]
alias ytv="~/scripts/ytv.sh"
alias ytmp3='youtube-dl --add-metadata -x --audio-format mp3 --output "%(title)s.%(ext)s" --audio-quality 0 --add-metadata --exec "mv {} /home/cirrus/Music/ytdl/" $(xclip -o) && notify-send "youtube-dl" "download complete !"'
alias ytvsubs="youtube-viewer -SV --subs-order=relevance"
#alias zshcfg="leafpad ~/.zshrc"
###video####
alias ci="ace.sh acestream://cf66593dc47dfbd384b5a2204673ee23315bfae3"
alias skynews='mpv https://youtu.be/y60wDzZt8yg'
alias cnn='mpv http://wpc.c1a9.edgecastcdn.net/hls-live/20C1A9/cnn/ls_satlink/b_828.m3u8'
####################
##### SYSTEM #######
####################
#-------- Exports {{{
#------------------------------------------------------
# set display
export DISPLAY=:0
# set 256color support (doesnt work with older apps like abook)
export TERM="st-256color"
# find alternative apps if it is installed on your system
find_alt() { for i;do which "$i" >/dev/null && { echo "$i"; return 0;};done;return 1; }
# set the default program
# the first program in the array that is detected on your system will be chosen as the default
export OPENER=$(find_alt xdg-open exo-open gnome-open )
export BROWSER=$(find_alt firefox qutebrowser chromium $OPENER )
export BROWSERCLI=$(find_alt w3m elinks $OPENER )
export EDITOR=$(find_alt vim nano $OPENER )
export FILEMANAGER=$(find_alt pcmanfm rox spacefm $OPENER )
export MUSICER=$(find_alt ocp-x11 audacious mpg123 $OPENER )
export PLAYER=$(find_alt mpv mplayer cvlc $OPENER )
export IMAGEVIEWER=$(find_alt feh sxiv $OPENER )
#}}}
#-------- Configurations {{{
#------------------------------------------------------
cfg-alias() { vim ~/.config/alias.zsh ;}
cfg-aliasrc() { vim ~/.config/.aliasrc ;}
cfg-autostart() { vim ~/.config/autostart/autostart ;}
cfg-bashrc() { vim ~/.bashrc ;}
cfg-cava() { vim ~/.config/cava/config ;}
cfg-cower() { vim ~/.config/cower/config ;}
cfg-dunst() { vim ~/..config/dunst/dunstrc ;}
cfg-functions() { vim ~/.config/functions.zsh ;}
cfg-fstab() { sudo vim /etc/fstab ;}
cfg-hosts() { sudo vim /etc/hosts ;}
cfg-dwm() { vim ~/.dwm/dwm/config.h ;}
cfg-livestreamer() { vim ~/.livestreamerrc ;}
cfg-mailcap() { vim ~/.mailcap ;}
cfg-mc() { vim ~/.config/mc/ini ;}
cfg-mpd() { vim ~/.mpd/mpd.conf ;}
cfg-mplayer() { vim ~/.mplayer/config ;}
cfg-mpv() { vim ~/.mpv/mpv.conf ;}
cfg-muttrc() { vim ~/.muttrc ;}
cfg-nanorc() { vim ~/.nanorc;}
cfg-ncmpcpp() { vim ~/.ncmpcpp/config ;}
cfg-newsbeuter() { vim ~/.newsbeuter/config ;}
cfg-newsbeuter-queue() { vim ~/.newsbeuter/queue ;}
cfg-newsbeuter-urls() { vim ~/.newsbeuter/urls ;}
cfg-notes() { vim ~/.notes ;}
cfg-ocp() { vim ~/.ocp/ocp.ini ;}
cfg-profile() { vim ~/.profile ;}
cfg-ranger() { vim ~/.config/ranger/rc.conf ;}
cfg-ranger-rifle() { vim ~/.config/ranger/rifle.conf ;}
cfg-ranger-commands() { vim ~/.config/ranger/commands.py ;}
cfg-slrnrc() { vim ~/.slrnrc ;}
cfg-termite() { vim ~/.config/termite/config ;}
cfg-sudoers() { sudo vim /etc/sudoers ;}
cfg-surfraw() { vim ~/.surfraw.conf ;}
cfg-tmuxrc() { vim ~/.tmux.conf ;}
cfg-torrentflix() { torrentflix --config=vim ;}
cfg-tpb() { vim ~/.scripts/tpb.sh ;}
cfg-trz() { vim ~/.scripts/trz.sh ;}
cfg-urlview() { vim ~/.urlview ;}
cfg-vimrc() { vim ~/.vimrc ;}
cfg-w3m() { vim ~/.w3m/config ;}
cfg-w3m-keymap() { vim ~/.w3m/keymap ;}
cfg-wegorc() { vim ~/.wegorc ;}
cfg-xinitrc() { vim ~/.xinitrc ;}
cfg-xresources() { vim ~/.Xresources ;}
cfg-zshrc() { vim ~/.zshrc ;}
#reload
rld-bashrc() { source ~/.bashrc ;}
rld-xresources() { xrdb -load ~/.Xresources ;}
rld-zshrc() { source ~/.zshrc ;}
rld-font() { fc-cache -v -f ;}
#}}}
#
nutsay() { ~/.texnut.pl -status=- ;}
#age() { "sudo dumpe2fs $(mount | grep 'on \/ ' | awk '{print $1}') | grep 'Filesystem created:'";}
archpkg() { sr archpkg ;}
archwiki() { sr archwiki ; }
aurinfo() { echotc us && echo " Showing AUR pkg info: " | pv -qL 20 && cower -i ;}
aurpkg() { sr aur ;}
awiki() { w3m https://wiki.archlinux.org/ ;}
bleachit() { sudo bleachbit --clean system.cache system.localizations system.trash ; sudo paccache -vrk 2 || return 0 ; }
blame() { systemd-analyze blame ; }
boot() { echotc us && echo '\e[1;32mBoot Time:\e[0m ' | pv -qL 10 && systemd-analyze ;}
brexit() { tmux detach ;}
bunny() { ~/scripts/bunny/bunny.py ;}
c-c() { sudo pkgcacheclean -v 1 ;}
cdaur() { cd /mnt/INT2/pacman/aur ;}
cdd() { cd .. ;}
chmod() { chmod --preserve-root ;}
chown() { chown --preserve-root ;}
clear() { clear; echo; echo; seq 1 $(tput cols) | sort -R | spark | ccze -A ;}
cowerd() { cower -d $1 ;}
coweri() { cower -i $1 ;}
cowers() { cower -s $1 ;}
coweru() { cower -u ;}
ddg() { sr duckduckgo ;}
disks() { echo "╓───── m o u n t . p o i n t s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -a; echo ""; echo "╓───── d i s k . u s a g e"; echo "╙────────────────────────────────────── ─ ─ "; df -h; echo ""; echo "╓───── U.U.I.D.s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -f ;}
engage() { /mnt/INT2/downloads/dots/scripts/tm9 ;}
exit() { clear; exit ;}
fact() { wget randomfunfacts.com -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;" ;}
google() { sr google ;}
gempurge() { gem search --local --no-version | tail -n +3 | xargs gem uninstall --allsudo c ;}
gparted() { sudo gparted ;}
iohdd() { iostat -x ;}
islib() { ldconfig -p | grep ;}
judgejudy() { youtube-viewer :re="^Judge Judy Full" ;}
jukebox() { echo -n "\e[1;32mncmpcpp via Rpi Archlinux server:\e[0m " | pv -qL 20 && ncmpcpp -h 192.168.1.33 ;}
empty() { echo -n "\e[1;32mTaking out teh trash:\e[0m " | pv -qL 10 && rm -rf /home/cirrus/.local/share/Trash/files ;}
drives() { echo -n '\e[1;32mListing connected drives:\e[0m' | pv -qL 10 && lsblk -f ;}
kernelmsg() { sudo journalctl -f _TRANSPORT=kernel ;}
lanfix() { sudo ip link set dev enp6s0 down && sudo ip link set dev enp6s0 up ;}
lastup() { echo -e '\e[1;31mLast Upgraded:\e[0m ' ; tac /var/log/pacman.log | grep upgraded | head -n 1 | cut -c 2-17 ;}
lsaur() { echo -n '\e[1;32mListing Installed AUR packages:\e[0m '| pv -qL 20 && pacman -Qqm ;}
lsbig() { echo 'listing files & directories by size' | pv -qL 10 && ls -lSrh | ccze -A ;}
ls() { ls --color=auto ;}
lsupdates() { echo -e '\e[1;32mWaiting Updates:\e[0m '| pv -qL 10 && pacman -Qqu --dbpath /tmp/checkup-db-cirrus ;}
matrix() { cmatrix -b ;}
meminfo() { echo -n '\e[1;32mRAM Information:\e[0m ' | pv -qL 10 &&free -m -l -t ;}
mkdir() { mkdir -p -v ;}
moon() { curl -sL http://wttr.in/moon | head -n-4 ;}
mv() { mv -i ;}
myip() { ~/scripts/ip.sh ;}
mympd() { echo -n "Rpi 🇲🇵🇩 🇸🇪🇷🇻🇪🇷 " | pv -qL 20 && mplayer http://192.168.1.33:9001 ;}
ncmatrix() { ncmatrix -I enp6s0 -R red -T yellow ;}
apacinfo() { echotc us && echo "\e[1;35m Pacman is showing pkg info:\e[0m \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n " | pv -qL 20 && sudo pacman -Si ;}
pack() { ~/scripts/pac.sh ;}
pacmanlog() { tail -n 40 /var/log/pacman.log | ccze -A ;}
pacss() { sudo pacman -Ss ;}
pacs() { sudo pacman -S ;}
pacsu() { echotc us && echo "\e[1;32mUpgrading installed packages\e[0m: \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n" | pv -qL 40 && sudo pacman -Su ;}
pacsyy() { echotc us && echo "\e[1;32mRefreshing Mirrorlist\e[0m: \e[0;37mᗧ . .\e[0;31mᗣ \e[0;37m .\e[0;33m🍓 \e[0;34m🍒 \e[0;35m🍇 \e[0;36m🍈 \e[0;37m .\e[0;37m .ᗣ ᗣ . .\e[1;33m🍇 \e[1;31m🍓 \e[0;37m . \e[1;32m🍈 \e[1;34m🍒 \e[0m\n" | pv -qL 40 && sudo pacman -Syy ;}
palette() { tco -d ;}
pingoogle() { echo -n "\e[1;31mPinging google.com...:\e[0m " | pv -qL 10 && ~/pping.sh -c 5 google.com ;}
pizza() { sleep 10m && echo -e pizza is done: 🍕 🍕 ;}
pkginfo() { ~/scripts/pkginfo ;}
pkglist() { comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) > pkglist.txt ;}
pms() { ~/scripts/pms.py ;}
pong() { ping -c 3 www.google.com ;}
ports() { netstat -tulanp ;}
poweroff() { mpg123 /mnt/INT2/strek/scarface_bad_guy.mp3 && sudo systemctl poweroff -f ;}
pping() { ~/pping.sh ;}
quote() { wget quotability.com -O - 2>/dev/null | grep \<strong\> | sed "s;^.*<i>\(.*\)</i>.*$;\1;" ;}
radio() { ~/scripts/radio ;}
rainbowstream() { ~/venv/bin/rainbowstream ;}
realtime() { journalctl -f -all | ccze -A ;}
reboot() { espeak "system is rebooting" && sudo systemctl reboot ;}
recterm() { echo -n Recording Terminal | pv -qL 10 && asciinema rec ;}
remirror() { /home/cirrus/scripts/reflector.py --country 'United Kingdom' --age 12 --protocol http --sort rate ;}
rm() { rm -i ;}
root() { sudo -i ;}
rpi() { ssh alarmpi ;}
rss() { newsbeuter ;}
seeme() { mplayer tv:// ;}
shutdown() { mpg123 /mnt/INT2/strek/exit.mp3 && sudo shutdown -h now ;}
sourcebash() { source ~/.bashrc ;}
sourcezsh() { source ~/.zshrc ;}
space() { ~/space.sh ;}
speeddown() { echotc us && echo \e[1;32mDisplaying Download Speed Graph\e[0m | pv -qL 10 && speedometer -rx enp6s0 ;}
speedrw() { echotc us && echo ' \e[1;32mShow R/W speeds:\e[0m ' | pv -qL 10 && dd bs=1000000 count=100 if=/dev/zero of=testfile & speedometer testfile ;}
speedtest() { echotc us && echo ' \e[1;32mTest Download & Upload Speeds with option to share results via png file:\e[0m ' | pv -qL 10 && speedtest-cli --share ;}
speedup() { echotc us && echo \e[1;32mDisplaying Upload Speed Graph\e[0m | pv -qL 10 && speedometer -tx enp6s0 ;}
sshcam() { cd ~/scripts/sshcam && ./sshcam ;}
sshkeygen() { echo -n "\e[1;32Generating SSH Key:\e[0m " | pv -qL 20 && ssh-keygen -t rsa -C nailzuk@gmail.com ;}
starwars() { telnet towel.blinkenlights.nl ;}
subs() { ~/scripts/subscow.sh ;}
tflix() { ~/scripts/torrentflix/bin/torrentflix ;}
timex() { date +'%a%e %b %G %T' | figlet ;}
tpb() { ~/scripts/tpb.sh ;}
tweet() { twitter set 👊 ;}
twit() { earthquake ;}
ujack() { /mnt/INT2/downloads/dots/scripts/union_jack.rb ;}
unetbootin() { echo -n "\e[1;32mLaunching Unetbootin:\e[0m " | pv -qL 10 && ~/build/unetbootin/src/unetbootin/unetbootin ;}
units() { echotc us && echo '\e[1;32mListing Units:\e[0m ' | pv -qL 10 && systemctl list-units ;}
uuid() { echotc us && echo '\e[1;32mListing UUID:\e[0m ' | pv -qL 10 && ls /dev/disk/by-uuid/ -alh ;}
vi() { vim ;}
vod() { gsearch site:vodlocker.com ;}
wget() { wget -c ;}
xeyes() { xeyes -bg black -center green -fg blue -geometry 114x49 ;}
#! /bin/sh
#1DCC9F
FG='#cb4b16'
BG='#191919'
FONT='-*-envy-code-r-*-*-10-*-*-*-*-*-*-*'
BAR_OPS="-fg #cb4b16 -bg #191919 -h 7 -w 25 -s o -ss 1 -sw 2"
conky -c ~/.conkyrc5 | dzen2 -e '' -ta c -fg $FG -bg $BG -fn $FONT -x 1920 -y 1080
#................................................#
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░#
#░░░░░░░░█▀▀░█░█░█▀█░█▀▀░▀█▀░▀█▀░█▀█░█▀█░█▀▀░░░░░#
#░░░░░░░░█▀▀░█░█░█░█░█░░░░█░░░█░░█░█░█░█░▀▀█░░░░░#
#░░░░░░░░▀░░░▀▀▀░▀░▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀░▀░▀▀▀░░░░░#
#░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░#
#................................................#
#
# ▓▓▓▓▓▓▓▓▓▓ https://cirrusuk.wordpress.com
# ░▓ author ▓ cirrus <cirrus@archlinux.info>
# ░▓ code ▓ https://gist.github.com/cirrusUK
# ░▓ mirror ▓ http://alarmpi.bounceme.net
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
#
#
## ARCHWIKI SEARCH FUNCTION ##
ArchWikiSearch() {
echo -n -e "\n============================================\n\tWelcome to Arch Wiki Search"; echo ""; i=1 ; for line in $(lynx --dump "https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=default&search=$1" | grep https://wiki.archlinux.org/ | cut -c7-); do echo $i $line; lines[$i]=$line; i=$(($i+1)); done ; echo -n -e "\n============================================\n\tPlease select the link to open - " ; read answer; w2m ${lines[$answer]}
}
# download the aur(4) package to the current directory, similar to cower -d from the old AUR, but using the officially supported method; git.
# usage:
# $ aurd <package-name>
aurd() {
cd ~/build/aur && git clone https://aur.archlinux.org/$1.git | bat && cd ${1}
#git clone ssh://aur@aur4.archlinux.org/$1.git/
}
fzo() {
local files
IFS=$'\n' files=($(fzf-tmux --query="$1" --multi --select-1 --exit-0))
[[ -n "$files" ]] && xdg-open "${files[@]}"
}
# download the aur(4) package to the current directory, cd, build (clean) and prompt to install.
aurb() {
cd /home/cirrus/build/aur
git clone https://aur.archlinux.org/$1.git/ | bat && cd $1 && makepkg -sci
#git clone ssh://aur@aur4.archlinux.org/$1.git/ && cd $1 && makepkg -sci
}
# update the aurupackage in the current directory
auru() {
git pull && rm -f *.pkg.tar.xz || true && makepkg -sci
}
aurgit() {
cd ~/build/aur
git clone https://aur.archlinux.org/${1}.git | bat
cd ${1}
}
# Automatically do an ls after each cd
cd() {
if [ -n "$1" ]; then
builtin cd "$@" && ls -FN --group-directories-first --color=auto
else
builtin cd ~ && ls -FN --group-directories-first --color=auto
fi
}
aurctl(){
curl -s https://aur.archlinux.org/packages/"${1:0:2}/$1/$1".tar.gz | tar xz
}
#rs.paste || usage `paste file.txt` or `echo "hi" | paste`
paste() {
local file=${1:-/dev/stdin}
curl --data-binary @${file} https://paste.rs
}
#pb pastebin || Usage: 'command | pb or pb filename'
pb () {
curl -F "c=@${1:--}" https://ptpb.pw/
}
pbs () {
gm import -window ${1:-root} /tmp/$$.png
pbx /tmp/$$.png
}
pbx () {
curl -sF "c=@${1:--}" -w "%{redirect_url}" 'https://ptpb.pw/?r=1' -o /dev/stderr | xsel -l /dev/null -b
}
## EXTRACT FUNCTION ## | Usage: extract <file>
extract () {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) rar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;
*.tgz) tar xvzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "don't know how to extract '$1'..." ;;
esac
else
echo "'$1' is not a valid file!"
fi
}
#wotis #Usage wotis foo
wotis() {
type -a $1 | bat
which $1 | bat
ps aux | grep $1 | bat
}
#virtualenv
venv() {
source ~/venv/bin/activate
~/venv/invenv.py | ccze -A
cd ~/venv/bin
}
#list servicesd
listd() {
echo -e ${BLD}${RED}" --> SYSTEM LEVEL <--"${NRM}
find /etc/systemd/system -mindepth 1 -type d | sed '/getty.target/d' | xargs ls -gG --color
[[ $(find $HOME/.config/systemd/user -mindepth 1 -type d | wc -l) -eq 0 ]] ||
(echo -e ${BLD}${RED}" --> USER LEVEL <--"${NRM} ; \
find $HOME/.config/systemd/user -mindepth 1 -type d | xargs ls -gG --color)
}
#cd to dir of defined file | Usage: cdf <file>
cdf () {
cd "$(dirname "$(locate -i "$*" | head -n 1)")" ;
}
#wego weather function## | usage wttr `city`
wttr () {
curl http://wttr.in/$1
}
#web search tool | Usage: gsearch <value>
function gsearch {
Q="$@";
GOOG_URL='https://www.google.co.uk/search?tbs=li:1&q=';
AGENT="Mozilla/4.0";
stream=$(curl -A "$AGENT" -skLm 50 "${GOOG_URL}${Q//\ /+}" | grep -oP '\/url\?q=.+?&amp' | sed 's|/url?q=||; s|&amp||');
echo -e "${stream//\%/\x}";
}
#Convert to .mp4 | Usage: ipod5g foo.mpg
ipod5g () {
HandBrakeCLI -i "$1" -o "${1%.*}.ipod5g.mp4" --preset="iPod"
}
##List Realtime Soccer Results from the EPL and other EU top leagues| Usage: results
function results() {
/home/cirrus/venv/bin/pysoccer --live
}
#Is server up ? | Usage: down4me <www.foo.com>
down4me() {
curl -s "http://www.downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g';
}
f() {
find . -iregex ".*$@.*" -printf '%P\0' | xargs -r0 ls --color=auto -1d
}
#Sprunge Paste | Usage: sprunge <file>
function sprunge() {
if (($#)); then
if [[ -f $1 && -r $1 ]]; then
curl -F 'sprunge=<-' http://sprunge.us < "$1"
else
printf 'file %s does not exist or is not readable\n' "$1" >&2
return 1
fi
else
curl -F 'sprunge=<-' http://sprunge.us
fi
}
# Compile and execute a C source on the fly
csource() {
[[ $1 ]] || { echo "Missing operand" >&2; return 1; }
[[ -r $1 ]] || { printf "File %s does not exist or is not readable\n" "$1" >&2; return 1; }
local output_path=${TMPDIR:-/tmp}/${1##*/};
gcc "$1" -o "$output_path" && "$output_path";
rm "$output_path";
return 0;
}
## DICTIONARY FUNCTIONS ##
dwordnet () { curl dict://dict.org/d:${1}:wn; }
dacron () { curl dict://dict.org/d:${1}:vera; }
djargon () { curl dict://dict.org/d:${1}:jargon; }
dfoldoc () { curl dict://dict.org/d:${1}:foldoc; }
dthesaurus () { curl dict://dict.org/d:${1}:moby-thes; }
#internetinfo | Usage: ii
function ii() # get current host related info
{
echo -e "\n${RED}Kernel Information:$NC " ; uname -a
echo -e "\n${RED}Users logged on:$NC " ; w -h
echo -e "\n${RED}Current date :$NC " ; date
echo -e "\n${RED}Machine stats :$NC " ; uptime
echo -e "\n${RED}Memory stats :$NC " ; free
echo -e "\n${RED}Disk Usage :$NC " ; df -Th
echo -e "\n${RED}LAN Information :$NC" ; netinfoLAN
echo
}
#netinfo - shows LAN network information for your system (part of ii)
function netinfoLAN (){
echo "---------------------------------------------------"
/sbin/ifconfig wlp3s0 | awk /'inet/ {print $2}'
/sbin/ifconfig wlp3s0 | awk /'bcast/ {print $3}'
/sbin/ifconfig wlp3s0 | awk /'inet6 addr/ {print $1,$2,$3}'
/sbin/ifconfig wlp3s0 | awk /'HWaddr/ {print $4,$5}'
echo "---------------------------------------------------"
}
zz() {
cd "$(_z -l 2>&1 | sed 's/^[0-9,.]* *//' | fzf -q "$_last_z_args")"
}
#}}}
#-------- Fuzzy Finder {{{
fzf-bookmarks() { surfraw "$(cat ~/.config/surfraw/bookmarks | sed '/^$/d' | sed '/^#/d' | sed '/^\//d' | sort -n | fzf -e -i )" ;}
# fzh - repeat history
fzh() {
eval $(([ -n "$ZSH_NAME" ] && fc -l 1 || history) | fzf --ansi +s --tac | sed 's/ *[0-9]* *//')
}
# fd - cd to selected directory
fd() {
local dir
dir=$(find ${1:-*} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf +m) &&
cd "$dir"
}
# fkill - kill process
fkill() {
pid=$(ps -ef | sed 1d | fzf -m | awk '{print $2}')
if [ "x$pid" != "x" ]
then
kill -${1:-9} $pid
fi
}
select_file() {
given_file="$1"
#fd --type file --follow --hidden --exclude .git | fzf --query="$given_file"
fzf --query="$given_file"
}
# Full system search with preview and EDITOR setup
f/() {
cd /
previous_file="$1"
file_to_edit=`select_file $previous_file`
if [ -n "$file_to_edit" ] ; then
"$EDITOR" "$file_to_edit"
main "$file_to_edit"
fi
}
# Full home folder search with preview and EDITOR setup
fh() {
cd /home/cirrus
previous_file="$1"
file_to_edit=`select_file $previous_file`
if [ -n "$file_to_edit" ] ; then
"$EDITOR" "$file_to_edit"
main "$file_to_edit"
fi
}
#Transfer/share any file 5GB limit | Usage: transfer ~/foo/bar
#transfer() { if [ $# -eq 0 ]; then echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi
#tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }; alias transfer=transfer
# copy | Usage: copy /source/file /destination/file
copy() {
size=$(stat -c%s $1)
dd if=$1 &> /dev/null | pv -petrb -s $size | dd of=$2
}
# Run a command x times | Usage: runx <value>
# http://www.stefanoforenza.com/how-to-repeat-a-shell-command-n-times/
runx() {
n=$1
shift
while [ $(( n -= 1 )) -ge 0 ]
do
"$@"
done
}
# mkdir & cd into it | Usage: mkcd
mkcd() {
if [ ! -n "$1" ]; then
echo "Enter a name for this folder"
elif [ -d $1 ]; then
echo "\`$1' already exists"
else
mkdir $1 && cd $1
fi
}
#Search files & directories | Usage: search <file/dirs>
search() {
find . -iname "*$@*" | less;
}
#Grep process | Usage: psgrep <process>
psgrep() { ps axuf | grep -v grep | grep "$@" -i --color=auto;
}
# Google images search bash function | Usage: images <foo>
images() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://www.google.co.uk/search?tbm=isch&hl=en&source=hp&biw=1366&bih=679&q=$search"
}
# YouTube search bash function | Usage: videos <foo>
videos() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://www.youtube.com/results?search_query=$search"
}
showbookmarks() {
awk 'NF != 0 && !/#/ {print $1}' ~/.config/surfraw/bookmarks | sort -n ;
}
# DuckDuckGo search bash function | Usage: ddg <foo>
ddg() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://duckduckgo.com/?q=$search"
}
gst () {
search=""
for term in $*
do
search="$search%20$term"
done
xdg-open "https://gist.github.com/search?q=$search"
}
dailym() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://dailymotion.com/gb?q=$search"
}
upp() {
for i in 1 2 4 8; do
if reflector -c GB -a $i -f 5 -p http -p https -p ftp --sort rate --save /etc/pacman.d/mirrorlist.reflector; then
cat /etc/pacman.d/mirrorlist.reflector
sudo pacman -Syu
return 0
else
echo "something is fucked up"
fi
done
}
# Wikipedia English search bash function | Usage: wiki <foo>
wiki() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://en.wikipedia.org/w/index.php?search=$search"
}
# Android Play Store search bash function | Usage: android <foo>
#android() {
# search=""
# for term in $*; do
# search="$search%20$term"
# done
# xdg-open "http://play.google.com/store/search?q=$search"
#}
# Soundcloud music bash search function | Usage: soundcloud <foo>
soundcloud() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "https://soundcloud.com/search?q=$search"
}
# StackOverflow bash search function | Usage: so <foo>
so() {
search=""
for term in $*; do
search="$search%20$term"
done
w3m "http://stackoverflow.com/search?q=$search"
}
# Amazon UK search bash function | Usage: amazon <foo>
amazon() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "http://www.amazon.co.uk/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=$search&x=0&y=0"
}
# Dictionary | Usage define <foo>
define() {
curl -s dict://dict.org/d:$1 | grep -v '^[0-9]' | bat
}
# set volume
vol ()
{
pactl set-sink-volume 5 $1% ;
}
#encrypt <file> | Usage encrypt <file>
function encrypt() {
[ -e "$1" ] || return 1
openssl des3 -salt -in "$1" -out "$1.$CRYPT_EXT"
[ -e "$1.$CRYPT_EXT" ] && shred -u "$1"
}
#decrypt <file.> | Usage decrypt <file.>
function decrypt() {
[ -e "$1" ] || return 1
[ "${1%.$CRYPT_EXT}" != "$1" ] || return 2
openssl des3 -d -salt -in $1 -out ${1%.$CRYPT_EXT}
[ -e "${1%.$CRYPT_EXT}" ] && rm -f "$1"
}
#wallpaper changer
fehpap() {
zenity --file-selection | xargs feh --bg-scale
}
#replaces spaces with underscores #remove spaces from files in current dir
nospace() {
for f in *\ *; do mv "$f" "${f// /_}"; done
}
unspacer() {
for i in *
do
mv ./"$i" ./$(echo $i | tr '\ ' '_')
done
}
# send link to podbeuter queue | usage podbeuter <podcasturl>
podqueue() {
echo "$1 \"$HOME/Downloads/$(echo "$1" | awk -F'/' '{ print $NF }')\"" >> ~/.newsbeuter/queue ;
}
myt() {
mpv ytdl://ytsearch10:"$1"
}
#youtube-dl full 1080p video/audio | Usage ytdlhd <url>
ytdlhd() {
youtube-dl "$1" -f 137+140
}
#ip info
ipinfo() {
curl ipinfo.io/$1 | bat
}
#rtmp sniffing
sniff-start() {
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;
}
sniff-capture() {
rtmpsrv ;
}
sniff-end() {
sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;
}
cmdfu() { curl "http://www.commandlinefu.com/commands/matching/$(echo "$@" \
| sed 's/ /-/g')/$(echo -n $@ | base64)/plaintext" ;
}
#Show used mirrors {archlinux}
mymirrors() {
grep -v '^$\|^#' /etc/pacman.d/mirrorlist | awk '{print $3}' | awk -F '/' '{print $3}';
}
#URL Shortener | Usage : short <url>
short() {
curl -F"shorten=$*" https://0x0.st
}
#URL Shortener | Usage : shorten <url>
shorten() {
pbpst -s $1
}
#share / upload any file 256.0 MiB limit | Usage: share ~/foo/bar
share() {
curl -F"file=@$*" https://0x0.st
}
uppb() {
curl -F c=@- https://ptpb.pw < $1
}
ytconvert() {
ffmpeg -i "$1" -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a copy "$2.mkv"
}
#mkv2webm
mkv2webm() {
ffmpeg -i "$1" -f webm -c:v libvpx -b:v 1M -acodec libvorbis "$1.webm" -hide_banner
}
#mp42mp3
mp42mp3 () {
ffmpeg -i "$i" -acodec libmp3lame -ab 160k -ar 44100 -ac 2 "$target${i%*.mp4}".mp3
}
stopwatch(){
date1=`date +%s`;
while true; do
days=$(( $(($(date +%s) - date1)) / 86400 ))
echo -ne "$days day(s) and $(date -u --date @$((`date +%s` - $date1)) +%H:%M:%S)\r";
sleep 0.1
done
}
#man() {
# LESS_TERMCAP_md=$'\e[01;31m' \
# LESS_TERMCAP_me=$'\e[0m' \
# LESS_TERMCAP_se=$'\e[0m' \
# LESS_TERMCAP_so=$'\e[01;44;33m' \
# LESS_TERMCAP_ue=$'\e[0m' \
# LESS_TERMCAP_us=$'\e[01;32m' \
# command man "$@"
#}
vless() {
vim -R "$@" ;
}
w3mimg() {
w3m -o imgdisplay=/usr/lib/w3m/w3mimgdisplay $1 ;
}
act-venv() {
cd ~/venv
source ~/venv/bin/activate
}
gg-music() { url=$(echo "https://encrypted.google.com/search?hl=en&q=
intitle:index.of+mp3+"$@"+-html+-htm+-txt"\
| sed 's/ /+/g'); $BROWSER $url; }
gg-piratebay() { url=$(echo "http://thepiratebay.org/search/$@" \
| sed 's/ /+/g'); $BROWSER $url; }
gg-dm() { url=$(echo "https://www.dailymotion.com/gb/relevance/universal/search/$@" \
| sed 's/ /+/g'); $BROWSER $url; }
gg-pastebin() { sitelist=$(echo "pastebin.com paste2.org pastie.org snipt.net
heypasteit.com/clip pastee.org shell-fu.org commandlinefu.com catonmat.net
linuxconfig.net github.com bitbucket.org slexy.org stackoverflow.com
askubuntu.com superuser.com dotfiles.org dotshare.it gitorious.org
serverfault.com wikia.com stackexchange.com" \
| sed 's/ /\+OR\+site\:/g')
url=$(echo "https://encrypted.google.com/search?hl=en&q=$@+site:$sitelist"\
| sed 's/ /+/g'); $BROWSER $url; }
# Random tips, needs xmlstarlet & pandoc. Usage: taocl
taocl() {
curl -s https://raw.githubusercontent.com/jlevy/the-art-of-command-line/master/README.md |
pandoc -f markdown -t html |
xmlstarlet fo --html --dropdtd |
xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" |
xmlstarlet unesc | fmt -80 }
# Colored find results: | Usage f <string>
f() {
find . -iregex ".*$@.*" -printf '%P\0' | xargs -r0 ls --color=auto -1d
}
connection(){
if ping -c 1 google.com; then
echo "Yay it would appear you have a working internet connection "
fi
}
function digga() { ## dig++
dig +nocmd "$1" any +multiline +noall +answer;
}
ranger() {
if [ -z "$RANGER_LEVEL" ]; then
/usr/bin/ranger "$@"
else
exit
fi
}
getlinks() {
if [ "$1" ]
then
echo "+ getting links for ${1}..."
curl -s "${1}" | $BROWSER "$1" urlview
fi
}
fpac() {
pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S
}
fmpc() {
local song_position
song_position=$(mpc -h 192.168.1.14 -f "%position%) %artist% - %title%" playlist | \
fzf-tmux --query="$1" --reverse --select-1 --exit-0 | \
sed -n 's/^\([0-9]\+\)).*/\1/p') || return 1
[ -n "$song_position" ] && mpc -h 192.168.1.14 -q play $song_position
}
mkpkg() {
makepkg ${1} | bat
}
aws() {
ArchWikiSearch ${1} | bat
}
#magnets
magnets() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "https://www.magnetdl.me/search/$search/age/desc/"
}
#eztv
ez() {
search=""
for term in $*; do
search="$search%20$term"
done
xdg-open "https://eztv.unblockit.me/search/$search"
}
# Last updated: Tue, 05 Apr 2016 at 07:55:02 GMT
#<localhost>
127.0.0.1 localhost.localdomain localhost hawker64
::1 localhost.localdomain localhost hawker64
192.168.1.33 cirrus.turtil.net
192.168.1.33 alarmpi
70.39.65.167 openshells
192.168.1.12 hawkerR520
#</localhost>
#<shock-sites>
# For example, to block unpleasant pages, try:
127.0.0.1 rehabclub.info
127.0.0.1 latest-391205.odnapus.ru
127.0.0.1 odnapus.ru
127.0.0.1 goatse.cx # More information on sites such as
127.0.0.1 www.goatse.cx # these can be found in this article
127.0.0.1 oralse.cx # en.wikipedia.org/wiki/List_of_shock_sites
127.0.0.1 spclient.wg.spotify.com #block spotify audio ads
127.0.0.1 www.oralse.cx
127.0.0.1 goatse.ca
127.0.0.1 www.goatse.ca
127.0.0.1 oralse.ca
127.0.0.1 www.oralse.ca
127.0.0.1 goat.cx
127.0.0.1 steepto.com
127.0.0.1 www.steepto.com
127.0.0.1 www.goat.cx
127.0.0.1 1girl1pitcher.com
127.0.0.1 1girl1pitcher.org
127.0.0.1 1guy1cock.com
127.0.0.1 1man1jar.org
127.0.0.1 1man2needles.com
127.0.0.1 1priest1nun.com
127.0.0.1 1priest1nun.net
127.0.0.1 2girls1cup.cc
127.0.0.1 2girls1cup.com
127.0.0.1 2girls1cup-free.com
127.0.0.1 2girls1cup.nl
127.0.0.1 2girls1cup.ws
127.0.0.1 2girls1finger.com
127.0.0.1 2girls1finger.org
127.0.0.1 2guys1stump.org
127.0.0.1 3guys1hammer.ws
127.0.0.1 4girlsfingerpaint.com
127.0.0.1 4girlsfingerpaint.org
127.0.0.1 bagslap.com
127.0.0.1 ballsack.org
127.0.0.1 bestshockers.com
127.0.0.1 bluewaffle.biz
127.0.0.1 bottleguy.com
127.0.0.1 bowlgirl.com
127.0.0.1 cadaver.org
127.0.0.1 clownsong.com
127.0.0.1 copyright-reform.info
127.0.0.1 cshacks.partycat.us
127.0.0.1 cyberscat.com
127.0.0.1 dadparty.com
127.0.0.1 detroithardcore.com
127.0.0.1 donotwatch.org
127.0.0.1 dontwatch.us
127.0.0.1 eelsoup.net
127.0.0.1 fruitlauncher.com
127.0.0.1 fuck.org
127.0.0.1 funnelchair.com
127.0.0.1 goatse.bz
127.0.0.1 goatsegirl.org
127.0.0.1 goatse.ru
127.0.0.1 hai2u.com
127.0.0.1 homewares.org
127.0.0.1 howtotroll.org
127.0.0.1 japscat.org
127.0.0.1 jarsquatter.com
127.0.0.1 jiztini.com
127.0.0.1 junecleeland.com
127.0.0.1 kids-in-sandbox.com
127.0.0.1 kidsinsandbox.info
127.0.0.1 lemonparty.biz
127.0.0.1 lemonparty.org
127.0.0.1 lolhello.com
127.0.0.1 lolshock.com
127.0.0.1 loltrain.com
127.0.0.1 meatspin.biz
127.0.0.1 meatspin.com
127.0.0.1 merryholidays.org
127.0.0.1 milkfountain.com
127.0.0.1 mudfall.com
127.0.0.1 mudmonster.org
127.0.0.1 nimp.org
127.0.0.1 nobrain.dk
127.0.0.1 nutabuse.com
127.0.0.1 octopusgirl.com
127.0.0.1 on.nimp.org
127.0.0.1 painolympics.info
127.0.0.1 painolympics.org
127.0.0.1 phonejapan.com
127.0.0.1 pressurespot.com
127.0.0.1 prolapseman.com
127.0.0.1 scrollbelow.com
127.0.0.1 selfpwn.org
127.0.0.1 sexitnow.com
127.0.0.1 sourmath.com
127.0.0.1 strawpoii.me
127.0.0.1 suckdude.com
127.0.0.1 thatsjustgay.com
127.0.0.1 thatsphucked.com
127.0.0.1 thehomo.org
127.0.0.1 themacuser.org
127.0.0.1 thepounder.com
127.0.0.1 tubgirl.me
127.0.0.1 tubgirl.org
127.0.0.1 turdgasm.com
127.0.0.1 vomitgirl.org
127.0.0.1 walkthedinosaur.com
127.0.0.1 whipcrack.org
127.0.0.1 wormgush.com
127.0.0.1 www.1girl1pitcher.org
127.0.0.1 www.1guy1cock.com
127.0.0.1 www.1man1jar.org
127.0.0.1 www.1man2needles.com
127.0.0.1 www.1priest1nun.com
127.0.0.1 www.1priest1nun.net
127.0.0.1 www.2girls1cup.cc
127.0.0.1 www.2girls1cup-free.com
127.0.0.1 www.2girls1cup.nl
127.0.0.1 www.2girls1cup.ws
127.0.0.1 www.2girls1finger.org
127.0.0.1 www.2guys1stump.org
127.0.0.1 www.3guys1hammer.ws
127.0.0.1 www.4girlsfingerpaint.org
127.0.0.1 www.bagslap.com
127.0.0.1 www.ballsack.org
127.0.0.1 www.bestshockers.com
127.0.0.1 www.bluewaffle.biz
127.0.0.1 www.bottleguy.com
127.0.0.1 www.bowlgirl.com
127.0.0.1 www.cadaver.org
127.0.0.1 www.clownsong.com
127.0.0.1 www.copyright-reform.info
127.0.0.1 www.cshacks.partycat.us
127.0.0.1 www.cyberscat.com
127.0.0.1 www.dadparty.com
127.0.0.1 www.detroithardcore.com
127.0.0.1 www.donotwatch.org
127.0.0.1 www.dontwatch.us
127.0.0.1 www.eelsoup.net
127.0.0.1 www.fruitlauncher.com
127.0.0.1 www.fuck.org
127.0.0.1 www.funnelchair.com
127.0.0.1 www.goatse.bz
127.0.0.1 www.goatsegirl.org
127.0.0.1 www.goatse.ru
127.0.0.1 www.hai2u.com
127.0.0.1 www.homewares.org
127.0.0.1 www.howtotroll.org
127.0.0.1 www.japscat.org
127.0.0.1 www.jiztini.com
127.0.0.1 www.junecleeland.com
127.0.0.1 www.kids-in-sandbox.com
127.0.0.1 www.kidsinsandbox.info
127.0.0.1 www.lemonparty.biz
127.0.0.1 www.lemonparty.org
127.0.0.1 www.lolhello.com
127.0.0.1 www.lolshock.com
127.0.0.1 www.loltrain.com
127.0.0.1 www.meatspin.biz
127.0.0.1 www.meatspin.com
127.0.0.1 www.merryholidays.org
127.0.0.1 www.milkfountain.com
127.0.0.1 www.mudfall.com
127.0.0.1 www.mudmonster.org
127.0.0.1 www.nimp.org
127.0.0.1 www.nobrain.dk
127.0.0.1 www.nutabuse.com
127.0.0.1 www.octopusgirl.com
127.0.0.1 www.on.nimp.org
127.0.0.1 www.painolympics.info
127.0.0.1 www.painolympics.org
127.0.0.1 www.phonejapan.com
127.0.0.1 www.pressurespot.com
127.0.0.1 www.prolapseman.com
127.0.0.1 www.punishtube.com
127.0.0.1 www.scrollbelow.com
127.0.0.1 www.selfpwn.org
127.0.0.1 www.sourmath.com
127.0.0.1 www.strawpoii.me
127.0.0.1 www.suckdude.com
127.0.0.1 www.thatsjustgay.com
127.0.0.1 www.thatsphucked.com
127.0.0.1 www.theexgirlfriends.com
127.0.0.1 www.thehomo.org
127.0.0.1 www.themacuser.org
127.0.0.1 www.thepounder.com
127.0.0.1 www.tubgirl.me
127.0.0.1 www.tubgirl.org
127.0.0.1 www.turdgasm.com
127.0.0.1 www.vomitgirl.org
127.0.0.1 www.walkthedinosaur.com
127.0.0.1 www.whipcrack.org
127.0.0.1 www.wormgush.com
127.0.0.1 www.xvideoslive.com
127.0.0.1 www.y8.com
127.0.0.1 www.youaresogay.com
127.0.0.1 www.ypmate.com
127.0.0.1 www.zentastic.com
127.0.0.1 youaresogay.com
127.0.0.1 zentastic.com
#</shock-sites>
#<shortcut-examples>
# As well by specifying the ipaddress of a server, you can gain access
# to some of your favourite sites with a single letter, instead of
# using the whole domain name
# It is perhaps a better solution to use Favourites/Bookmarks instead.
#216.34.181.45 s # slashdot.org
#74.125.127.105 g # google.com
#</shortcut-examples>
#<hijack-sites>
# The sites ads234.com and ads345.com -- These sites hijack internet explorer
# and redirect all requests through their servers. You may need to use spyware
# removal programs such as SpyBotS&D, AdAware or HijackThis to remove this
# nasty parasite. It's possible that blocking these sites using a hosts file
# may not work, in which case you should remove the following lines from this
# file and try the tools listed above immediately. Don't forget to reboot
# after a scan.
127.0.0.1 ads234.com
127.0.0.1 ads345.com
127.0.0.1 www.ads234.com
127.0.0.1 www.ads345.com
#</hijack-sites>
#<spyware-sites>
# Spyware and user tracking
# By entering domains here, it will prevent certain companies from
# gathering information on your surfing habits. These servers do not
# necessarily serve ads, instead some are used by certain products to
# "phone home". Others use web cookies to gather statistics on surfing
# habits. Among other uses, this is a common tactic by spammers, to
# let them know that you have read your mail.
# Uncomment (remove the #) the lines that you wish to block, as some
# may provide you with services you like.
#<maybe-spy>
#127.0.0.1 auto.search.msn.com # Microsoft uses this server to redirect
# mistyped URLs to search engines. They
# log all such errors.
#127.0.0.1 sitefinder.verisign.com # Verisign has joined the game
#127.0.0.1 sitefinder-idn.verisign.com # of trying to hijack mistyped
# URLs to their site.
# May break iOS Game Center.
#127.0.0.1 s0.2mdn.net # This may interfere with some streaming
# video on sites such as cbc.ca
#127.0.0.1 ad.doubleclick.net # This may interefere with www.sears.com
# and potentially other sites.
127.0.0.1 media.fastclick.net # Likewise, this may interfere with some
127.0.0.1 cdn.fastclick.net # sites.
#127.0.0.1 ebay.doubleclick.net # may interfere with ebay
#127.0.0.1 google-analytics.com # breaks some sites
#127.0.0.1 ssl.google-analytics.com
#127.0.0.1 www.google-analytics.l.google.com
#127.0.0.1 stat.livejournal.com # There are reports that this may mess
# up CSS on livejournal
#127.0.0.1 stats.surfaid.ihost.com # This has been known cause
# problems with NPR.org
#127.0.0.1 www.google-analytics.com # breaks some sites
#127.0.0.1 ads.imeem.com # Seems to interfere with the functioning of imeem.com
#</maybe-spy>
127.0.0.1 006.free-counter.co.uk
127.0.0.1 006.freecounters.co.uk
127.0.0.1 06272002-dbase.hitcountz.net # Web bugs in spam
127.0.0.1 0stats.com
127.0.0.1 123counter.mycomputer.com
127.0.0.1 123counter.superstats.com
127.0.0.1 1ca.cqcounter.com
127.0.0.1 1uk.cqcounter.com
127.0.0.1 1us.cqcounter.com
127.0.0.1 1xxx.cqcounter.com
127.0.0.1 2001-007.com
127.0.0.1 20585485p.rfihub.com
127.0.0.1 3bc3fd26-91cf-46b2-8ec6-b1559ada0079.statcamp.net
127.0.0.1 3ps.go.com
127.0.0.1 4-counter.com
127.0.0.1 a796faee-7163-4757-a34f-e5b48cada4cb.statcamp.net
127.0.0.1 abscbn.spinbox.net
127.0.0.1 activity.serving-sys.com #eyeblaster.com
127.0.0.1 adadvisor.net
127.0.0.1 adapi.ragapa.com
127.0.0.1 adclient.rottentomatoes.com
127.0.0.1 adcodes.aim4media.com
127.0.0.1 adcounter.globeandmail.com
127.0.0.1 adcounter.theglobeandmail.com
127.0.0.1 addfreestats.com
127.0.0.1 adelogs.adobe.com #See http://www.theregister.co.uk/2014/10/07/adobe_digital_editions_4_caught_snooping_into_ebook_collections_of_users/
127.0.0.1 ademails.com
127.0.0.1 adlog.com.com # Used by Ziff Davis to serve
# ads and track users across
# the com.com family of sites
127.0.0.1 ad-logics.com
127.0.0.1 admanmail.com
127.0.0.1 adopt.specificclick.net
127.0.0.1 ads.tiscali.com
127.0.0.1 ads.tiscali.it
127.0.0.1 adult.foxcounter.com
127.0.0.1 affiliate.ab1trk.com
127.0.0.1 affiliate.irotracker.com
127.0.0.1 ai062.insightexpress.com
127.0.0.1 ai078.insightexpressai.com
127.0.0.1 ai087.insightexpress.com
127.0.0.1 ai113.insightexpressai.com
127.0.0.1 ai125.insightexpressai.com
127.0.0.1 alert.mac-notification.com
127.0.0.1 alpha.easy-hit-counters.com
127.0.0.1 amateur.xxxcounter.com
127.0.0.1 amer.hops.glbdns.microsoft.com
127.0.0.1 amer.rel.msn.com
127.0.0.1 analytics.msnbc.msn.com
127.0.0.1 analytics.prx.org
127.0.0.1 anm.intelli-direct.com
127.0.0.1 ant.conversive.nl
127.0.0.1 antivirus-message.com
127.0.0.1 apac.rel.msn.com
127.0.0.1 api.adsymptotic.com
127.0.0.1 api.bizographics.com
127.0.0.1 api.gameanalytics.com
127.0.0.1 api.infinario.com
127.0.0.1 api.tumra.com
127.0.0.1 apprep.smartscreen.microsoft.com
127.0.0.1 app.yesware.com
127.0.0.1 arbo.hit.gemius.pl
127.0.0.1 au052.insightexpress.com
127.0.0.1 auspice.augur.io
127.0.0.1 au.track.decideinteractive.com
127.0.0.1 a.visualrevenue.com
127.0.0.1 banner.0catch.com
127.0.0.1 banners.webcounter.com
127.0.0.1 beacon-1.newrelic.com
127.0.0.1 beacon.scorecardresearch.com
127.0.0.1 beacons.hottraffic.nl
127.0.0.1 be.sitestat.com
127.0.0.1 best-search.cc #spyware
127.0.0.1 beta.easy-hit-counter.com
127.0.0.1 beta.easy-hit-counters.com
127.0.0.1 beta.easyhitcounters.com
127.0.0.1 bilbo.counted.com
127.0.0.1 bin.clearspring.com
127.0.0.1 birta.stats.is
127.0.0.1 bkrtx.com
127.0.0.1 bluekai.com
127.0.0.1 bluestreak.com
127.0.0.1 bookproplus.com
127.0.0.1 brightroll.com
127.0.0.1 broadcastpc.tv
127.0.0.1 report.broadcastpc.tv
127.0.0.1 www.broadcastpc.tv
127.0.0.1 browser-message.com
127.0.0.1 bserver.blick.com
127.0.0.1 bstats.adbrite.com
127.0.0.1 b.stats.paypal.com
127.0.0.1 by.optimost.com
127.0.0.1 c10.statcounter.com
127.0.0.1 c11.statcounter.com
127.0.0.1 c12.statcounter.com
127.0.0.1 c13.statcounter.com
127.0.0.1 c14.statcounter.com
127.0.0.1 c15.statcounter.com
127.0.0.1 c16.statcounter.com
127.0.0.1 c17.statcounter.com
127.0.0.1 c1.statcounter.com
127.0.0.1 c1.thecounter.com
127.0.0.1 c1.thecounter.de
127.0.0.1 c1.xxxcounter.com
127.0.0.1 c2.gostats.com
127.0.0.1 c2.thecounter.com
127.0.0.1 c2.thecounter.de
127.0.0.1 c2.xxxcounter.com
127.0.0.1 c3.gostats.com
127.0.0.1 c3.statcounter.com
127.0.0.1 c3.thecounter.com
127.0.0.1 c3.xxxcounter.com
127.0.0.1 c4.myway.com
127.0.0.1 c4.statcounter.com
127.0.0.1 c5.statcounter.com
127.0.0.1 c6.statcounter.com
127.0.0.1 c7.statcounter.com
127.0.0.1 c8.statcounter.com
127.0.0.1 c9.statcounter.com
127.0.0.1 ca.cqcounter.com
127.0.0.1 cashcounter.com
127.0.0.1 cb1.counterbot.com
#127.0.0.1 cdn.krxd.net
127.0.0.1 cdn.oggifinogi.com
127.0.0.1 cdn.taboolasyndication.com
127.0.0.1 cdxbin.vulnerap.com
127.0.0.1 cf.addthis.com
127.0.0.1 cgicounter.onlinehome.de
127.0.0.1 cgicounter.puretec.de
127.0.0.1 cgi.hotstat.nl
127.0.0.1 cgi.sexlist.com
127.0.0.1 ci-mpsnare.iovation.com # See http://www.codingthewheel.com/archives/online-gambling-privacy-iesnare
127.0.0.1 citrix.tradedoubler.com
127.0.0.1 cjt1.net
127.0.0.1 click.atdmt.com
127.0.0.1 clickauditor.net
127.0.0.1 click.fivemtn.com
127.0.0.1 click.investopedia.com
127.0.0.1 click.jve.net
127.0.0.1 clickmeter.com
127.0.0.1 click.payserve.com
127.0.0.1 clicks.emarketmakers.com
127.0.0.1 click.silvercash.com
127.0.0.1 clicks.m4n.nl
127.0.0.1 clicks.natwest.com
127.0.0.1 clickspring.net #used by a spyware product called PurityScan
127.0.0.1 clicks.rbs.co.uk
127.0.0.1 clicktrack.onlineemailmarketing.com
127.0.0.1 clicktracks.webmetro.com
127.0.0.1 clit10.sextracker.com
127.0.0.1 clit13.sextracker.com
127.0.0.1 clit15.sextracker.com
127.0.0.1 clit2.sextracker.com
127.0.0.1 clit4.sextracker.com
127.0.0.1 clit6.sextracker.com
127.0.0.1 clit7.sextracker.com
127.0.0.1 clit8.sextracker.com
127.0.0.1 clit9.sextracker.com
127.0.0.1 clk.aboxdeal.com
127.0.0.1 clk.relestar.com
127.0.0.1 cnn.entertainment.printthis.clickability.com
127.0.0.1 cnt.xcounter.com
127.0.0.1 collector.deepmetrix.com
127.0.0.1 collector.newsx.cc
127.0.0.1 connectionlead.com
127.0.0.1 connexity.net
127.0.0.1 convertro.com
127.0.0.1 cookies.cmpnet.com
127.0.0.1 count.channeladvisor.com
127.0.0.1 counter10.bravenet.com
127.0.0.1 counter10.sextracker.be
127.0.0.1 counter10.sextracker.com
127.0.0.1 counter11.bravenet.com
127.0.0.1 counter11.sextracker.be
127.0.0.1 counter11.sextracker.com
127.0.0.1 counter.123counts.com
127.0.0.1 counter12.bravenet.com
127.0.0.1 counter12.sextracker.be
127.0.0.1 counter12.sextracker.com
127.0.0.1 counter13.bravenet.com
127.0.0.1 counter13.sextracker.be
127.0.0.1 counter13.sextracker.com
127.0.0.1 counter14.bravenet.com
127.0.0.1 counter14.sextracker.be
127.0.0.1 counter14.sextracker.com
127.0.0.1 counter15.bravenet.com
127.0.0.1 counter15.sextracker.be
127.0.0.1 counter15.sextracker.com
127.0.0.1 counter16.bravenet.com
127.0.0.1 counter16.sextracker.be
127.0.0.1 counter16.sextracker.com
127.0.0.1 counter17.bravenet.com
127.0.0.1 counter18.bravenet.com
127.0.0.1 counter19.bravenet.com
127.0.0.1 counter1.bravenet.com
127.0.0.1 counter1.sextracker.be
127.0.0.1 counter1.sextracker.com
127.0.0.1 counter.1stblaze.com
127.0.0.1 counter20.bravenet.com
127.0.0.1 counter21.bravenet.com
127.0.0.1 counter22.bravenet.com
127.0.0.1 counter23.bravenet.com
127.0.0.1 counter24.bravenet.com
127.0.0.1 counter25.bravenet.com
127.0.0.1 counter26.bravenet.com
127.0.0.1 counter27.bravenet.com
127.0.0.1 counter28.bravenet.com
127.0.0.1 counter29.bravenet.com
127.0.0.1 counter2.bravenet.com
127.0.0.1 counter2.freeware.de
127.0.0.1 counter2.hitslink.com
127.0.0.1 counter2.sextracker.be
127.0.0.1 counter2.sextracker.com
127.0.0.1 counter30.bravenet.com
127.0.0.1 counter31.bravenet.com
127.0.0.1 counter32.bravenet.com
127.0.0.1 counter33.bravenet.com
127.0.0.1 counter34.bravenet.com
127.0.0.1 counter35.bravenet.com
127.0.0.1 counter36.bravenet.com
127.0.0.1 counter37.bravenet.com
127.0.0.1 counter38.bravenet.com
127.0.0.1 counter39.bravenet.com
127.0.0.1 counter3.bravenet.com
127.0.0.1 counter3.sextracker.be
127.0.0.1 counter3.sextracker.com
127.0.0.1 counter40.bravenet.com
127.0.0.1 counter41.bravenet.com
127.0.0.1 counter42.bravenet.com
127.0.0.1 counter43.bravenet.com
127.0.0.1 counter44.bravenet.com
127.0.0.1 counter45.bravenet.com
127.0.0.1 counter46.bravenet.com
127.0.0.1 counter47.bravenet.com
127.0.0.1 counter48.bravenet.com
127.0.0.1 counter49.bravenet.com
127.0.0.1 counter4all.dk
127.0.0.1 counter4.bravenet.com
127.0.0.1 counter4.sextracker.be
127.0.0.1 counter4.sextracker.com
127.0.0.1 counter4u.de
127.0.0.1 counter50.bravenet.com
127.0.0.1 counter5.bravenet.com
127.0.0.1 counter5.sextracker.be
127.0.0.1 counter5.sextracker.com
127.0.0.1 counter6.bravenet.com
127.0.0.1 counter6.sextracker.be
127.0.0.1 counter6.sextracker.com
127.0.0.1 counter7.bravenet.com
127.0.0.1 counter7.sextracker.be
127.0.0.1 counter7.sextracker.com
127.0.0.1 counter8.bravenet.com
127.0.0.1 counter8.sextracker.be
127.0.0.1 counter8.sextracker.com
127.0.0.1 counter9.bravenet.com
127.0.0.1 counter9.sextracker.be
127.0.0.1 counter9.sextracker.com
127.0.0.1 counter.aaddzz.com
127.0.0.1 counterad.de
127.0.0.1 counter.adultcheck.com
127.0.0.1 counter.adultrevenueservice.com
127.0.0.1 counter.advancewebhosting.com
127.0.0.1 counter.aport.ru
127.0.0.1 counteraport.spylog.com
127.0.0.1 counter.asexhound.com
127.0.0.1 counter.avp2000.com
127.0.0.1 counter.bizland.com
127.0.0.1 counter.bloke.com
127.0.0.1 counterbot.com
127.0.0.1 counter.clubnet.ro
127.0.0.1 counter.cnw.cz
127.0.0.1 countercrazy.com
127.0.0.1 counter.credo.ru
127.0.0.1 counter.cz
127.0.0.1 counter.digits.com
127.0.0.1 counter.dreamhost.com
127.0.0.1 counter.e-audit.it
127.0.0.1 counter.execpc.com
127.0.0.1 counter.fateback.com
127.0.0.1 counter.gamespy.com
127.0.0.1 counter.hitslink.com
127.0.0.1 counter.hitslinks.com
127.0.0.1 counter.htmlvalidator.com
127.0.0.1 counter.impressur.com
127.0.0.1 counter.inetusa.com
127.0.0.1 counter.inti.fr
127.0.0.1 counter.kaspersky.com
127.0.0.1 counter.letssingit.com
127.0.0.1 counter.mtree.com
127.0.0.1 counter.mycomputer.com
127.0.0.1 counter.netmore.net
127.0.0.1 counter.nope.dk
127.0.0.1 counter.nowlinux.com
127.0.0.1 counter.pcgames.de
127.0.0.1 counter.rambler.ru
127.0.0.1 counters.auctionhelper.com # comment these
127.0.0.1 counters.auctionwatch.com # out to allow
127.0.0.1 counters.auctiva.com # tracking by
127.0.0.1 counters.honesty.com # ebay users
127.0.0.1 counter.search.bg
127.0.0.1 counter.sexhound.nl
127.0.0.1 counters.gigya.com
127.0.0.1 counter.sparklit.com
127.0.0.1 counter.superstats.com
127.0.0.1 counter.surfcounters.com
127.0.0.1 counters.xaraonline.com
127.0.0.1 counter.times.lv
127.0.0.1 counter.topping.com.ua
127.0.0.1 counter.tripod.com
127.0.0.1 counter.uq.edu.au
127.0.0.1 counter.w3open.com
127.0.0.1 counter.webcom.com
127.0.0.1 counter.webmedia.pl
127.0.0.1 counter.webtrends.com
127.0.0.1 counter.webtrends.net
127.0.0.1 counter.xxxcool.com
127.0.0.1 counter.yadro.ru
127.0.0.1 count.paycounter.com
127.0.0.1 count.xhit.com
127.0.0.1 cs.sexcounter.com
127.0.0.1 c.statcounter.com
127.0.0.1 c.thecounter.de
127.0.0.1 cw.nu
127.0.0.1 cyseal.cyveillance.com
127.0.0.1 cz3.clickzs.com
127.0.0.1 cz6.clickzs.com
127.0.0.1 da.ce.bd.a9.top.list.ru
127.0.0.1 da.newstogram.com
127.0.0.1 data2.perf.overture.com
127.0.0.1 data.coremetrics.com
127.0.0.1 data.webads.co.nz
127.0.0.1 dclk.haaretz.co.il
127.0.0.1 dclk.themarker.com
127.0.0.1 dclk.themarketer.com
127.0.0.1 delivery.loopingclick.com
127.0.0.1 de.sitestat.com
127.0.0.1 detectorcarecenter.in
127.0.0.1 dgit.com
127.0.0.1 didtheyreadit.com # email bugs
127.0.0.1 digistats.westjet.com
127.0.0.1 dimeprice.com # "spam bugs"
127.0.0.1 directads.mcafee.com
127.0.0.1 dkb01.webtrekk.net
127.0.0.1 dotcomsecrets.com
127.0.0.1 dpbolvw.net
127.0.0.1 dpm.demdex.net
127.0.0.1 ds.247realmedia.com
127.0.0.1 ds.amateurmatch.com
127.0.0.1 dwclick.com
127.0.0.1 e-2dj6wfk4ehd5afq.stats.esomniture.com
127.0.0.1 e-2dj6wfk4ggdzkbo.stats.esomniture.com
127.0.0.1 e-2dj6wfk4gkcpiep.stats.esomniture.com
127.0.0.1 e-2dj6wfk4skdpogo.stats.esomniture.com
127.0.0.1 e-2dj6wfkiakdjgcp.stats.esomniture.com
127.0.0.1 e-2dj6wfkiepczoeo.stats.esomniture.com
127.0.0.1 e-2dj6wfkikjd5glq.stats.esomniture.com
127.0.0.1 e-2dj6wfkiokc5odp.stats.esomniture.com
127.0.0.1 e-2dj6wfkiqjcpifp.stats.esomniture.com
127.0.0.1 e-2dj6wfkocjczedo.stats.esomniture.com
127.0.0.1 e-2dj6wfkokjajseq.stats.esomniture.com
127.0.0.1 e-2dj6wfkowkdjokp.stats.esomniture.com
127.0.0.1 e-2dj6wfkykpazskq.stats.esomniture.com
127.0.0.1 e-2dj6wflicocjklo.stats.esomniture.com
127.0.0.1 e-2dj6wfligpd5iap.stats.esomniture.com
127.0.0.1 e-2dj6wflikgdpodo.stats.esomniture.com
127.0.0.1 e-2dj6wflikiajslo.stats.esomniture.com
127.0.0.1 e-2dj6wflioldzoco.stats.esomniture.com
127.0.0.1 e-2dj6wfliwpczolp.stats.esomniture.com
127.0.0.1 e-2dj6wfloenczmkq.stats.esomniture.com
127.0.0.1 e-2dj6wflokmajedo.stats.esomniture.com
127.0.0.1 e-2dj6wfloqgc5mho.stats.esomniture.com
127.0.0.1 e-2dj6wfmysgdzobo.stats.esomniture.com
127.0.0.1 e-2dj6wgkigpcjedo.stats.esomniture.com
127.0.0.1 e-2dj6wgkisnd5abo.stats.esomniture.com
127.0.0.1 e-2dj6wgkoandzieq.stats.esomniture.com
127.0.0.1 e-2dj6wgkycpcpsgq.stats.esomniture.com
127.0.0.1 e-2dj6wgkyepajmeo.stats.esomniture.com
127.0.0.1 e-2dj6wgkyknd5sko.stats.esomniture.com
127.0.0.1 e-2dj6wgkyomdpalp.stats.esomniture.com
127.0.0.1 e-2dj6whkiandzkko.stats.esomniture.com
127.0.0.1 e-2dj6whkiepd5iho.stats.esomniture.com
127.0.0.1 e-2dj6whkiwjdjwhq.stats.esomniture.com
127.0.0.1 e-2dj6wjk4amd5mfp.stats.esomniture.com
127.0.0.1 e-2dj6wjk4kkcjalp.stats.esomniture.com
127.0.0.1 e-2dj6wjk4ukazebo.stats.esomniture.com
127.0.0.1 e-2dj6wjkosodpmaq.stats.esomniture.com
127.0.0.1 e-2dj6wjkouhd5eao.stats.esomniture.com
127.0.0.1 e-2dj6wjkowhd5ggo.stats.esomniture.com
127.0.0.1 e-2dj6wjkowjajcbo.stats.esomniture.com
127.0.0.1 e-2dj6wjkyandpogq.stats.esomniture.com
127.0.0.1 e-2dj6wjkycpdzckp.stats.esomniture.com
127.0.0.1 e-2dj6wjkyqmdzcgo.stats.esomniture.com
127.0.0.1 e-2dj6wjkysndzigp.stats.esomniture.com
127.0.0.1 e-2dj6wjl4qhd5kdo.stats.esomniture.com
127.0.0.1 e-2dj6wjlichdjoep.stats.esomniture.com
127.0.0.1 e-2dj6wjliehcjglp.stats.esomniture.com
127.0.0.1 e-2dj6wjlignajgaq.stats.esomniture.com
127.0.0.1 e-2dj6wjloagc5oco.stats.esomniture.com
127.0.0.1 e-2dj6wjlougazmao.stats.esomniture.com
127.0.0.1 e-2dj6wjlyamdpogo.stats.esomniture.com
127.0.0.1 e-2dj6wjlyckcpelq.stats.esomniture.com
127.0.0.1 e-2dj6wjlyeodjkcq.stats.esomniture.com
127.0.0.1 e-2dj6wjlygkd5ecq.stats.esomniture.com
127.0.0.1 e-2dj6wjmiekc5olo.stats.esomniture.com
127.0.0.1 e-2dj6wjmyehd5mfo.stats.esomniture.com
127.0.0.1 e-2dj6wjmyooczoeo.stats.esomniture.com
127.0.0.1 e-2dj6wjny-1idzkh.stats.esomniture.com
127.0.0.1 e-2dj6wjnyagcpkko.stats.esomniture.com
127.0.0.1 e-2dj6wjnyeocpcdo.stats.esomniture.com
127.0.0.1 e-2dj6wjnygidjskq.stats.esomniture.com
127.0.0.1 e-2dj6wjnyqkajabp.stats.esomniture.com
127.0.0.1 easy-web-stats.com
127.0.0.1 ecestats.theglobeandmail.com
127.0.0.1 economisttestcollect.insightfirst.com
127.0.0.1 ehg.fedex.com
127.0.0.1 eitbglobal.ojdinteractiva.com
127.0.0.1 email.positionly.com
127.0.0.1 emea.rel.msn.com
127.0.0.1 engine.cmmeglobal.com
127.0.0.1 enoratraffic.com
127.0.0.1 entry-stats.huffingtonpost.com
127.0.0.1 environmentalgraffiti.uk.intellitxt.com
127.0.0.1 e-n.y-1shz2prbmdj6wvny-1sez2pra2dj6wjmyepdzadpwudj6x9ny-1seq-2-2.stats.esomniture.com
127.0.0.1 e-ny.a-1shz2prbmdj6wvny-1sez2pra2dj6wjny-1jcpgbowsdj6x9ny-1seq-2-2.stats.esomniture.com
127.0.0.1 es.optimost.com
127.0.0.1 extremereach.com
127.0.0.1 fastcounter.bcentral.com
127.0.0.1 fastcounter.com
127.0.0.1 fastcounter.linkexchange.com
127.0.0.1 fastcounter.linkexchange.net
127.0.0.1 fastcounter.linkexchange.nl
127.0.0.1 fastcounter.onlinehoster.net
127.0.0.1 fastwebcounter.com
127.0.0.1 fcstats.bcentral.com
127.0.0.1 fdbdo.com
127.0.0.1 fi.sitestat.com
127.0.0.1 fl01.ct2.comclick.com
127.0.0.1 flycast.com
127.0.0.1 forbescollect.247realmedia.com
127.0.0.1 formalyzer.com
127.0.0.1 foxcounter.com
127.0.0.1 free-counter.5u.com
127.0.0.1 freeinvisiblecounters.com
127.0.0.1 freestats.com
127.0.0.1 freewebcounter.com
127.0.0.1 free.xxxcounter.com
127.0.0.1 fs10.fusestats.com
127.0.0.1 ft2.autonomycloud.com
127.0.0.1 gapl.hit.gemius.pl
127.0.0.1 gator.com
127.0.0.1 gcounter.hosting4u.net
127.0.0.1 gd.mlb.com
127.0.0.1 geocounter.net
127.0.0.1 gkkzngresullts.com
127.0.0.1 go-in-search.net
127.0.0.1 goldstats.com
127.0.0.1 googfle.com
127.0.0.1 googletagservices.com
127.0.0.1 gostats.com
127.0.0.1 grafix.xxxcounter.com
127.0.0.1 gtcc1.acecounter.com
127.0.0.1 g-wizzads.net
127.0.0.1 hc2.humanclick.com
127.0.0.1 highscanprotect.com
127.0.0.1 hit10.hotlog.ru
127.0.0.1 hit2.hotlog.ru
127.0.0.1 hit37.chark.dk
127.0.0.1 hit37.chart.dk
127.0.0.1 hit39.chart.dk
127.0.0.1 hit5.hotlog.ru
127.0.0.1 hit8.hotlog.ru
127.0.0.1 hit.clickaider.com
127.0.0.1 hit-counter.5u.com
127.0.0.1 hit-counter.udub.com
127.0.0.1 hits.guardian.co.uk
127.0.0.1 hits.gureport.co.uk
127.0.0.1 hits.nextstat.com
127.0.0.1 hits.webstat.com
127.0.0.1 hitx.statistics.ro
127.0.0.1 hst.tradedoubler.com
127.0.0.1 htm.freelogs.com
127.0.0.1 http300.edge.ru4.com
127.0.0.1 iccee.com
127.0.0.1 idm.hit.gemius.pl
127.0.0.1 ieplugin.com
127.0.0.1 iesnare.com # See http://www.codingthewheel.com/archives/online-gambling-privacy-iesnare
127.0.0.1 ig.insightgrit.com
127.0.0.1 ih.constantcontacts.com
127.0.0.1 i.kissmetrics.com # http://www.wired.com/epicenter/2011/07/undeletable-cookie/
127.0.0.1 ilead.itrack.it
127.0.0.1 image.masterstats.com
127.0.0.1 images1.paycounter.com
127.0.0.1 images-aud.freshmeat.net
127.0.0.1 images-aud.slashdot.org
127.0.0.1 images-aud.sourceforge.net
127.0.0.1 images.dailydiscounts.com # "spam bugs"
127.0.0.1 images.itchydawg.com
127.0.0.1 impacts.alliancehub.com # "spam bugs"
127.0.0.1 impch.tradedoubler.com
127.0.0.1 imp.clickability.com
127.0.0.1 impde.tradedoubler.com
127.0.0.1 impdk.tradedoubler.com
127.0.0.1 impes.tradedoubler.com
127.0.0.1 impfr.tradedoubler.com
127.0.0.1 impgb.tradedoubler.com
127.0.0.1 impie.tradedoubler.com
127.0.0.1 impit.tradedouble.com
127.0.0.1 impit.tradedoubler.com
127.0.0.1 impnl.tradedoubler.com
127.0.0.1 impno.tradedoubler.com
127.0.0.1 impse.tradedoubler.com
127.0.0.1 in.paycounter.com
127.0.0.1 insightfirst.com
127.0.0.1 insightxe.looksmart.com
127.0.0.1 int.sitestat.com
127.0.0.1 in.webcounter.cc
127.0.0.1 iprocollect.realmedia.com
127.0.0.1 izitracking.izimailing.com
127.0.0.1 jgoyk.cjt1.net
127.0.0.1 jkearns.freestats.com
127.0.0.1 journalism.uk.smarttargetting.com
127.0.0.1 js.cybermonitor.com
127.0.0.1 js.hs-analytics.net
127.0.0.1 jsonlinecollect.247realmedia.com
127.0.0.1 js.revsci.net
127.0.0.1 kissmetrics.com
127.0.0.1 kqzyfj.com
127.0.0.1 kt4.kliptracker.com
127.0.0.1 leadpub.com
127.0.0.1 liapentruromania.ro
127.0.0.1 lin31.metriweb.be
127.0.0.1 linkcounter.com
127.0.0.1 linkcounter.pornosite.com
127.0.0.1 link.masterstats.com
127.0.0.1 linktrack.bravenet.com
127.0.0.1 livestats.atlanta-airport.com
#127.0.0.1 ll.a.hulu.com # Uncomment to block Hulu.
127.0.0.1 loc1.hitsprocessor.com
127.0.0.1 log1.countomat.com
127.0.0.1 log4.quintelligence.com
127.0.0.1 log999.goo.ne.jp
127.0.0.1 loga.xiti.com
127.0.0.1 log.btopenworld.com
127.0.0.1 logc146.xiti.com
127.0.0.1 logc1.xiti.com
127.0.0.1 logc22.xiti.com
127.0.0.1 logc25.xiti.com
127.0.0.1 logc31.xiti.com
127.0.0.1 log.clickstream.co.za
127.0.0.1 log.hankooki.com
127.0.0.1 logi6.xiti.com
127.0.0.1 logi7.xiti.com
127.0.0.1 logi8.xiti.com
127.0.0.1 logp3.xiti.com
127.0.0.1 logs.comics.com
127.0.0.1 logs.eresmas.com
127.0.0.1 logs.eresmas.net
127.0.0.1 log.statistici.ro
127.0.0.1 logv14.xiti.com
127.0.0.1 logv17.xiti.com
127.0.0.1 logv18.xiti.com
127.0.0.1 logv21.xiti.com
127.0.0.1 logv25.xiti.com
127.0.0.1 logv27.xiti.com
127.0.0.1 logv29.xiti.com
127.0.0.1 logv32.xiti.com
127.0.0.1 logv4.xiti.com
127.0.0.1 logv.xiti.com
127.0.0.1 lpcloudsvr302.com
127.0.0.1 luycos.com
127.0.0.1 lycoscollect.247realmedia.com
127.0.0.1 lycoscollect.realmedia.com
127.0.0.1 m1.nedstatbasic.net
127.0.0.1 m1.webstats4u.com
127.0.0.1 mailcheckisp.biz # "spam bugs"
127.0.0.1 mailfoogae.appspot.com # Streak email tracker
127.0.0.1 mailtrack.me
127.0.0.1 mama128.valuehost.ru
127.0.0.1 marketscore.com
127.0.0.1 mature.xxxcounter.com
127.0.0.1 mbox5.offermatica.com
127.0.0.1 media101.sitebrand.com
127.0.0.1 media.superstats.com
127.0.0.1 mediatrack.revenue.net
127.0.0.1 members2.hookup.com
127.0.0.1 metric.10best.com
127.0.0.1 metric.infoworld.com
127.0.0.1 metric.nationalgeographic.com
127.0.0.1 metric.nwsource.com
127.0.0.1 metric.olivegarden.com
127.0.0.1 metrics2.pricegrabber.com
127.0.0.1 metrics.accuweather.com
127.0.0.1 metrics.al.com
127.0.0.1 metrics.att.com
127.0.0.1 metrics.boston.com
127.0.0.1 metrics.cbc.ca
127.0.0.1 metrics.cleveland.com
127.0.0.1 metrics.cnn.com
127.0.0.1 metrics.csmonitor.com
127.0.0.1 metrics.ctv.ca
127.0.0.1 metrics.dallasnews.com
127.0.0.1 metrics.elle.com
127.0.0.1 metrics.experts-exchange.com
127.0.0.1 metrics.fandome.com
127.0.0.1 metrics.foxnews.com
127.0.0.1 metrics.gap.com
127.0.0.1 metrics.health.com
127.0.0.1 metrics.hrblock.com
127.0.0.1 metrics.ioffer.com
127.0.0.1 metrics.ireport.com
127.0.0.1 metrics.kgw.com
127.0.0.1 metrics.ksl.com
127.0.0.1 metrics.ktvb.com
127.0.0.1 metrics.landolakes.com
127.0.0.1 metrics.lhj.com
127.0.0.1 metrics.maxim.com
127.0.0.1 metrics.mlive.com
127.0.0.1 metrics.mms.mavenapps.net
127.0.0.1 metrics.mpora.com
127.0.0.1 metrics.mysanantonio.com
127.0.0.1 metrics.nba.com
127.0.0.1 metrics.nextgov.com
127.0.0.1 metrics.nfl.com
127.0.0.1 metrics.npr.org
127.0.0.1 metrics.oclc.org
127.0.0.1 metrics.olivegarden.com
127.0.0.1 metrics.oregonlive.com
127.0.0.1 metrics.parallels.com
127.0.0.1 metrics.performancing.com
127.0.0.1 metrics.philly.com
127.0.0.1 metrics.post-gazette.com
127.0.0.1 metrics.premiere.com
127.0.0.1 metrics.rottentomatoes.com
127.0.0.1 metrics.sephora.com
127.0.0.1 metrics.soundandvision.com
127.0.0.1 metrics.soundandvisionmag.com
127.0.0.1 metrics.sun.com
127.0.0.1 metric.starz.com
127.0.0.1 metrics.technologyreview.com
127.0.0.1 metrics.theatlantic.com
127.0.0.1 metrics.thedailybeast.com
127.0.0.1 metrics.thefa.com
127.0.0.1 metrics.thefrisky.com
127.0.0.1 metrics.thenation.com
127.0.0.1 metrics.theweathernetwork.com
#127.0.0.1 metrics.ticketmaster.com # interferes with logging in to ticketmaster.com
127.0.0.1 metrics.tmz.com
127.0.0.1 metrics.toyota.com
127.0.0.1 metrics.tulsaworld.com
127.0.0.1 metrics.washingtonpost.com
127.0.0.1 metrics.whitepages.com
127.0.0.1 metrics.womansday.com
127.0.0.1 metrics.yellowpages.com
127.0.0.1 metrics.yousendit.com
127.0.0.1 metric.thenation.com
127.0.0.1 mktg.actonsoftware.com
127.0.0.1 mng1.clickalyzer.com
127.0.0.1 monster.gostats.com
127.0.0.1 mpsnare.iesnare.com # See http://www.codingthewheel.com/archives/online-gambling-privacy-iesnare
127.0.0.1 msn1.com
127.0.0.1 msnm.com
127.0.0.1 mt122.mtree.com
127.0.0.1 mtcount.channeladvisor.com
127.0.0.1 mtrcs.popcap.com
127.0.0.1 mtv.247realmedia.com
127.0.0.1 multi1.rmuk.co.uk
127.0.0.1 mvs.mediavantage.de
127.0.0.1 mvtracker.com
127.0.0.1 mystats.com
127.0.0.1 nedstat.s0.nl
127.0.0.1 nethit-free.nl
127.0.0.1 net-radar.com
127.0.0.1 network.leadpub.com
127.0.0.1 nextgenstats.com
127.0.0.1 nht-2.extreme-dm.com
127.0.0.1 nl.nedstatbasic.net
#127.0.0.1 nl.sitestat.com # may interfere with duo.nl
127.0.0.1 o.addthis.com
127.0.0.1 objects.tremormedia.com
127.0.0.1 okcounter.com
127.0.0.1 omniture.theglobeandmail.com
127.0.0.1 omtrdc.net
127.0.0.1 one.123counters.com
127.0.0.1 oss-crules.marketscore.com
127.0.0.1 oss-survey.marketscore.com
127.0.0.1 ostats.mozilla.com
127.0.0.1 other.xxxcounter.com
127.0.0.1 ourtoolbar.com
127.0.0.1 out.true-counter.com
127.0.0.1 p.addthis.com
127.0.0.1 partner.alerts.aol.com
127.0.0.1 partners.pantheranetwork.com
127.0.0.1 passpport.com
127.0.0.1 paxito.sitetracker.com
127.0.0.1 paycounter.com
127.0.0.1 pei-ads.thesmokingjacket.com
127.0.0.1 perso.estat.com
127.0.0.1 pf.tradedoubler.com
127.0.0.1 pings.blip.tv
127.0.0.1 pix02.revsci.net
127.0.0.1 pix03.revsci.net
127.0.0.1 pix04.revsci.net
127.0.0.1 pixel-geo.prfct.co
127.0.0.1 pixel.invitemedia.com
127.0.0.1 pixel.tapad.com
127.0.0.1 pmg.ad-logics.com
127.0.0.1 pn2.adserver.yahoo.com
127.0.0.1 pointclicktrack.com
127.0.0.1 pong.qubitproducts.com
127.0.0.1 postclick.adcentriconline.com
127.0.0.1 postgazettecollect.247realmedia.com
127.0.0.1 precisioncounter.com
127.0.0.1 p.reuters.com
127.0.0.1 printmail.biz
127.0.0.1 prof.estat.com
#127.0.0.1 pro.hit.gemius.pl # May interfere with some video sites
127.0.0.1 proxycfg.marketscore.com
127.0.0.1 proxy.ia2.marketscore.com
127.0.0.1 proxy.ia3.marketscore.com
127.0.0.1 proxy.ia4.marketscore.com
127.0.0.1 proxy.or3.marketscore.com
127.0.0.1 proxy.or4.marketscore.com
127.0.0.1 proxy.sj3.marketscore.com
127.0.0.1 proxy.sj4.marketscore.com
127.0.0.1 p.twitter.com
127.0.0.1 quantserve.com #: Ad Tracking, JavaScript, etc.
127.0.0.1 quareclk.com
127.0.0.1 raw.oggifinogi.com
127.0.0.1 r.clickdensity.com
127.0.0.1 remotrk.com
127.0.0.1 rightmedia.net
127.0.0.1 rightstats.com
127.0.0.1 roskatrack.roskadirect.com
127.0.0.1 rr1.xxxcounter.com
127.0.0.1 rr2.xxxcounter.com
127.0.0.1 rr3.xxxcounter.com
127.0.0.1 rr4.xxxcounter.com
127.0.0.1 rr5.xxxcounter.com
127.0.0.1 rr7.xxxcounter.com
127.0.0.1 rts.pgmediaserve.com
127.0.0.1 rts.phn.doublepimp.com
127.0.0.1 s10.histats.com
127.0.0.1 s10.sitemeter.com
127.0.0.1 s11.sitemeter.com
127.0.0.1 s12.sitemeter.com
127.0.0.1 s13.sitemeter.com
127.0.0.1 s14.sitemeter.com
127.0.0.1 s15.sitemeter.com
127.0.0.1 s16.sitemeter.com
127.0.0.1 s17.sitemeter.com
127.0.0.1 s18.sitemeter.com
127.0.0.1 s19.sitemeter.com
127.0.0.1 s1.shinystat.it
127.0.0.1 s1.thecounter.com
127.0.0.1 s20.sitemeter.com
127.0.0.1 s21.sitemeter.com
127.0.0.1 s22.sitemeter.com
127.0.0.1 s23.sitemeter.com
127.0.0.1 s24.sitemeter.com
127.0.0.1 s25.sitemeter.com
127.0.0.1 s26.sitemeter.com
127.0.0.1 s27.sitemeter.com
127.0.0.1 s28.sitemeter.com
127.0.0.1 s29.sitemeter.com
127.0.0.1 s2.statcounter.com
127.0.0.1 s2.youtube.com
127.0.0.1 s30.sitemeter.com
127.0.0.1 s31.sitemeter.com
127.0.0.1 s32.sitemeter.com
127.0.0.1 s33.sitemeter.com
127.0.0.1 s34.sitemeter.com
127.0.0.1 s35.sitemeter.com
127.0.0.1 s36.sitemeter.com
127.0.0.1 s37.sitemeter.com
127.0.0.1 s38.sitemeter.com
127.0.0.1 s39.sitemeter.com
127.0.0.1 s3.hit.stat.pl
127.0.0.1 s41.sitemeter.com
127.0.0.1 s42.sitemeter.com
127.0.0.1 s43.sitemeter.com
127.0.0.1 s44.sitemeter.com
127.0.0.1 s45.sitemeter.com
127.0.0.1 s46.sitemeter.com
127.0.0.1 s47.sitemeter.com
127.0.0.1 s48.sitemeter.com
127.0.0.1 s4.histats.com
127.0.0.1 s4.shinystat.com
127.0.0.1 sact.atdmt.com
127.0.0.1 sa.jumptap.com
127.0.0.1 s.clickability.com
127.0.0.1 scorecardresearch.com
127.0.0.1 scribe.twitter.com
127.0.0.1 scrooge.channelcincinnati.com
127.0.0.1 scrooge.channeloklahoma.com
127.0.0.1 scrooge.click10.com
127.0.0.1 scrooge.clickondetroit.com
127.0.0.1 scrooge.nbc11.com
127.0.0.1 scrooge.nbc4columbus.com
127.0.0.1 scrooge.nbc4.com
127.0.0.1 scrooge.nbcsandiego.com
127.0.0.1 scrooge.newsnet5.com
127.0.0.1 scrooge.thebostonchannel.com
127.0.0.1 scrooge.thedenverchannel.com
127.0.0.1 scrooge.theindychannel.com
127.0.0.1 scrooge.thekansascitychannel.com
127.0.0.1 scrooge.themilwaukeechannel.com
127.0.0.1 scrooge.theomahachannel.com
127.0.0.1 scrooge.wesh.com
127.0.0.1 scrooge.wftv.com
127.0.0.1 scrooge.wnbc.com
127.0.0.1 scrooge.wsoctv.com
127.0.0.1 scrooge.wtov9.com
127.0.0.1 sdc.rbistats.com
127.0.0.1 sdogiu.bestamazontips.com
127.0.0.1 searchadv.com
127.0.0.1 sekel.ch
127.0.0.1 servedby.valuead.com
127.0.0.1 server10.opentracker.net
127.0.0.1 server11.opentracker.net
127.0.0.1 server12.opentracker.net
127.0.0.1 server13.opentracker.net
127.0.0.1 server14.opentracker.net
127.0.0.1 server15.opentracker.net
127.0.0.1 server16.opentracker.net
127.0.0.1 server17.opentracker.net
127.0.0.1 server18.opentracker.net
127.0.0.1 server1.opentracker.net
127.0.0.1 server2.opentracker.net
127.0.0.1 server3.opentracker.net
127.0.0.1 server3.web-stat.com
127.0.0.1 server4.opentracker.net
127.0.0.1 server5.opentracker.net
127.0.0.1 server6.opentracker.net
127.0.0.1 server7.opentracker.net
127.0.0.1 server8.opentracker.net
127.0.0.1 server9.opentracker.net
127.0.0.1 service.bfast.com
127.0.0.1 service.maxymiser.net
#127.0.0.1 services.krxd.net
127.0.0.1 se.sitestat.com
127.0.0.1 sexcounter.com
127.0.0.1 seznam.hit.gemius.pl
127.0.0.1 showads.pubmatic.com
127.0.0.1 showcount.honest.com
127.0.0.1 sideshow.directtrack.com
127.0.0.1 sitestat.com
127.0.0.1 sitestats.tiscali.co.uk
127.0.0.1 sm1.sitemeter.com
127.0.0.1 sm2.sitemeter.com
127.0.0.1 sm3.sitemeter.com
127.0.0.1 sm4.sitemeter.com
127.0.0.1 sm5.sitemeter.com
127.0.0.1 sm6.sitemeter.com
127.0.0.1 sm7.sitemeter.com
127.0.0.1 sm8.sitemeter.com
127.0.0.1 sm9.sitemeter.com
127.0.0.1 smartstats.com
127.0.0.1 smetrics.att.com
127.0.0.1 socialize.eu1.gigya.com
127.0.0.1 softcore.xxxcounter.com
127.0.0.1 softonic.com
127.0.0.1 softonic.it
127.0.0.1 sostats.mozilla.com
127.0.0.1 sovereign.sitetracker.com
127.0.0.1 spinbox.maccentral.com
127.0.0.1 spinbox.versiontracker.com
127.0.0.1 spklds.com
127.0.0.1 s.statistici.ro
127.0.0.1 s.stats.wordpress.com
127.0.0.1 ss.tiscali.com
127.0.0.1 ss.tiscali.it
127.0.0.1 st1.hit.gemius.pl
127.0.0.1 stags.peer39.net
127.0.0.1 stast2.gq.com
127.0.0.1 stat1.z-stat.com
127.0.0.1 stat3.cybermonitor.com
127.0.0.1 stat.4u.pl
127.0.0.1 stat.alibaba.com
127.0.0.1 statcounter.com
127.0.0.1 stat-counter.tass-online.ru
127.0.0.1 stat.discogs.com
127.0.0.1 static.kibboko.com
127.0.0.1 static.smni.com # Santa Monica - popunders
127.0.0.1 statik.topica.com
127.0.0.1 statique.secureguards.eu
127.0.0.1 statistics.dynamicsitestats.com
127.0.0.1 statistics.elsevier.nl
127.0.0.1 statistics.reedbusiness.nl
127.0.0.1 statistics.theonion.com
127.0.0.1 statistik-gallup.net
127.0.0.1 stat.netmonitor.fi
127.0.0.1 stat.onestat.com
127.0.0.1 stats1.clicktracks.com
127.0.0.1 stats1.corusradio.com
127.0.0.1 stats1.in
127.0.0.1 stats.24ways.org
127.0.0.1 stats2.clicktracks.com
127.0.0.1 stats2.gourmet.com
127.0.0.1 stats2.newyorker.com
127.0.0.1 stats2.rte.ie
127.0.0.1 stats2.unrulymedia.com
127.0.0.1 stats2.vanityfair.com
127.0.0.1 stats4all.com
127.0.0.1 stats5.lightningcast.com
127.0.0.1 stats6.lightningcast.net
127.0.0.1 stats.absol.co.za
127.0.0.1 stats.adbrite.com
127.0.0.1 stats.adotube.com
127.0.0.1 stats.adultswim.com
127.0.0.1 stats.airfarewatchdog.com
127.0.0.1 stats.allliquid.com
127.0.0.1 stats.askmen.com
127.0.0.1 stats.bbc.co.uk
127.0.0.1 stats.becu.org
127.0.0.1 stats.big-boards.com
127.0.0.1 stats.blogoscoop.net
127.0.0.1 stats.bonzaii.no
127.0.0.1 stats.break.com
127.0.0.1 stats.brides.com
127.0.0.1 stats.buysellads.com
127.0.0.1 stats.cafepress.com
127.0.0.1 stats.canalblog.com
127.0.0.1 stats.cartoonnetwork.com
#127.0.0.1 stats.channel4.com
127.0.0.1 stats.clickability.com
127.0.0.1 stats.concierge.com
127.0.0.1 stats.cts-bv.nl
127.0.0.1 stats.darkbluesea.com
127.0.0.1 stats.datahjaelp.net
127.0.0.1 stats.directnic.com
127.0.0.1 stats.dziennik.pl
127.0.0.1 stats.economist.com
127.0.0.1 stats.epicurious.com
127.0.0.1 statse.webtrendslive.com # Fortune.com among others
127.0.0.1 stats.examiner.com
127.0.0.1 stats.fairmont.com
127.0.0.1 stats.fastcompany.com
127.0.0.1 stats.foxcounter.com
127.0.0.1 stats.free-rein.net
127.0.0.1 stats.f-secure.com
127.0.0.1 stats.ft.com
127.0.0.1 stats.gamestop.com
127.0.0.1 stats.globesports.com
127.0.0.1 stats.groupninetyfour.com
127.0.0.1 stats.idsoft.com
127.0.0.1 stats.ign.com
127.0.0.1 stats.ilsemedia.nl
127.0.0.1 stats.independent.co.uk
127.0.0.1 stats.indexstats.com
127.0.0.1 stats.indextools.com
127.0.0.1 stats.investors.com
127.0.0.1 stats.iwebtrack.com
127.0.0.1 stats.jippii.com
127.0.0.1 stats.klsoft.com
127.0.0.1 stats.ladotstats.nl
127.0.0.1 stats.macworld.com
127.0.0.1 stats.magnify.net
127.0.0.1 stats.manticoretechnology.com
127.0.0.1 stats.millanusa.com
127.0.0.1 stats.nowpublic.com
127.0.0.1 stats.paycounter.com
127.0.0.1 stats.platinumbucks.com
127.0.0.1 stats.popscreen.com
127.0.0.1 stats.reinvigorate.net
127.0.0.1 stats.resellerratings.com
127.0.0.1 stats.revenue.net
127.0.0.1 stats.searchles.com
127.0.0.1 stats.space-es.com
127.0.0.1 stats.sponsorafuture.org.uk
127.0.0.1 stats.srvasnet.info
127.0.0.1 stats.ssa.gov
127.0.0.1 stats.street-jeni.us
127.0.0.1 stats.styletechnology.me
127.0.0.1 stats.superstats.com
127.0.0.1 stats.telegraph.co.uk
127.0.0.1 stats.thoughtcatalog.com
127.0.0.1 stats.townnews.com
127.0.0.1 stats.ultimate-webservices.com
127.0.0.1 stats.unionleader.com
127.0.0.1 stats.video.search.yahoo.com
127.0.0.1 stats.vodpod.com
127.0.0.1 stats.wordpress.com
127.0.0.1 stats.www.ibm.com
127.0.0.1 stats.yourminis.com
127.0.0.1 stat.webmedia.pl
127.0.0.1 stat.www.fi
127.0.0.1 stat.yellowtracker.com
127.0.0.1 stat.youku.com
127.0.0.1 stl.p.a1.traceworks.com
127.0.0.1 straighttangerine.cz.cc
127.0.0.1 st.sageanalyst.net
127.0.0.1 sugoicounter.com
127.0.0.1 superstats.com
127.0.0.1 s.youtube.com