<commit_before># Colorization
# Use GRC for additionnal colorization
GRC=$(which grc)
if [ -n GRC ]; then
    alias colourify='$GRC -es --colour=auto'
    alias as='colourify as'
    #cvs
    alias configure='colourify ./configure'
    alias diff='colourify diff'
    alias dig='colourify dig'
    alias g++='colourify g++'
    alias gas='colourify gas'
    alias gcc='colourify gcc'
    alias head='colourify head'
    alias ifconfig='colourify ifconfig'
    #irclog
    alias ld='colourify ld'
    #ldap
    #log
    alias ls='colourify ls'
    alias make='colourify make'
    alias mount='colourify mount'
    #mtr
    alias netstat='colourify netstat'
    alias ping='colourify ping'
    #proftpd
    alias ps='colourify ps'
    alias tail='colourify tail'
    alias traceroute='colourify traceroute'
    #wdiff
fi

# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`
    lsflags="--color --group-directories-first"
else # OS X `ls`
    lsflags="-G"
fi
alias ll='ls -lah ${lsflags}'
alias ls='ls -hFp ${lsflags}'

# General
alias ..="cd .."
alias ...="cd ../.."
alias c="clear"
alias h="history"
alias o="open"
alias home="cd $HOME"
alias pss='ps axu | grep "$@" --ignore-case --color=auto'
alias cdul="cd /usr/local/"
alias cdcellar="cd /usr/local/Cellar"

# Network
alias key="open /Applications/Utilities/Keychain\ Access.app"
alias sniff="sudo ngrep -W byline -d 'en0' -t '^(GET|POST) ' 'tcp and port 80'"
alias hosts='sudo $EDITOR /etc/hosts'
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias dig="dig +nocmd any +multiline +noall +answer"

# Disk/Files
alias disk="df -P -kHl"
alias fs="stat -f \"%z bytes\""

# Rails
alias taild="tail -f log/development.log"
alias tailt="tail -f log/test.log"
alias rres="touch tmp/restart.txt"
alias rc="rails c"
alias g="guard"

# Sublime (/usr/local/bin/sublime -> Applications/Sublime Text 3.app/Contents/...)
alias subl="sublime"

# SSH
alias knownhosts="$EDITOR ${HOME}/.ssh/known_hosts"
<commit_msg>Be explicit with aliases for Rails binstub commands<commit_after># Colorization
# Use GRC for additionnal colorization
GRC=$(which grc)
if [ -n GRC ]; then
    alias colourify='$GRC -es --colour=auto'
    alias as='colourify as'
    #cvs
    alias configure='colourify ./configure'
    alias diff='colourify diff'
    alias dig='colourify dig'
    alias g++='colourify g++'
    alias gas='colourify gas'
    alias gcc='colourify gcc'
    alias head='colourify head'
    alias ifconfig='colourify ifconfig'
    #irclog
    alias ld='colourify ld'
    #ldap
    #log
    alias ls='colourify ls'
    alias make='colourify make'
    alias mount='colourify mount'
    #mtr
    alias netstat='colourify netstat'
    alias ping='colourify ping'
    #proftpd
    alias ps='colourify ps'
    alias tail='colourify tail'
    alias traceroute='colourify traceroute'
    #wdiff
fi

# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`
    lsflags="--color --group-directories-first"
else # OS X `ls`
    lsflags="-G"
fi
alias ll='ls -lah ${lsflags}'
alias ls='ls -hFp ${lsflags}'

# General
alias ..="cd .."
alias ...="cd ../.."
alias c="clear"
alias h="history"
alias o="open"
alias home="cd $HOME"
alias pss='ps axu | grep "$@" --ignore-case --color=auto'
alias cdul="cd /usr/local/"
alias cdcellar="cd /usr/local/Cellar"

# Network
alias key="open /Applications/Utilities/Keychain\ Access.app"
alias sniff="sudo ngrep -W byline -d 'en0' -t '^(GET|POST) ' 'tcp and port 80'"
alias hosts='sudo $EDITOR /etc/hosts'
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias dig="dig +nocmd any +multiline +noall +answer"

# Disk/Files
alias disk="df -P -kHl"
alias fs="stat -f \"%z bytes\""

# Rails
alias taild="tail -f log/development.log"
alias tailt="tail -f log/test.log"
alias rres="touch tmp/restart.txt"
alias rc="./bin/rails c"
alias g="./bin/guard"

# Sublime (/usr/local/bin/sublime -> Applications/Sublime Text 3.app/Contents/...)
alias subl="sublime"

# SSH
alias knownhosts="$EDITOR ${HOME}/.ssh/known_hosts"

{'fraction_non_alphanumeric': 0.15293537247163297, 'fraction_numerical': 0.003453379378391712, 'mean_word_length': 3.6289954337899544, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4365779', 'n_tokens_mistral': 1538, 'n_tokens_neox': 1424, 'n_words': 423}