<commit_before># MacVim will edit all!
alias e="$EDITOR"

# dotfiles
alias reload="source ~/.zshrc"
alias cdot="cd ~/.dotfiles"
alias edot="mvim -c \"cd ~/.dotfiles\" ~/.dotfiles"
#
# Lists the size of all the folders
alias ducks='du -cks * | sort -rn |head -11'

# Edit ssh config
alias essh="e ~/.ssh/config"

# cd
alias ..='cd ..;'
alias ...='.. ..'

# List TCP ports
alias ports='sudo lsof -iTCP -sTCP:LISTEN -P'

# Host aware ls color option
case $(uname) in
  'Darwin')
    alias ls='ls -GF'
    ;;
  *)
    alias ls='ls --color=auto -F'
    ;;
esac

alias grep='grep --color'

# ls
alias l="ls -Alh"
alias ll="l"
alias l.='ls -ldG .*'
alias le='ls -aelG'
alias lsd="ls -al | awk '/^d/{print}'"

# hub (http://github.com/defunkt/hub)
# brew install hub
[ `which hub` ] && alias git='nocorrect hub'

alias brew-update='brew install $(brew outdated | cut -d " " -f1 | tr "\n" " ")'

# Rails
function rails_command {
  local cmd=$1
  shift
  if [ -e script/rails ]; then
    rails $cmd "$@"
  elif [ -e script/$cmd ]; then
    script/$cmd "$@"
  else
    echo "Rails command $cmd not found in ./script"
  fi
}
function rs { rails_command "server" "$@" }
function rc { rails_command "console" "$@" }
function rg { rails_command "generate" "$@" }
function rdb { rails_command "dbconsole" "$@" }

alias migrate='rake db:migrate db:test:clone_structure'

# bundler
alias b='bundle'
alias be='bundle exec'
alias bc='bundle console'
alias bi='bundle install'
alias bil='bundle install --local'
alias bu='bundle update'

# Start Guard using bundle exec
alias begs='bundle exec guard start'

# commands starting with % for pasting from web
alias %=' '

# What is my IP?
alias ip='curl http://www.whatismyip.com/automation/n09230945.asp'
<commit_msg>Change begs to beg to match Guard's new CLI syntax<commit_after># MacVim will edit all!
alias e="$EDITOR"

# dotfiles
alias reload="source ~/.zshrc"
alias cdot="cd ~/.dotfiles"
alias edot="mvim -c \"cd ~/.dotfiles\" ~/.dotfiles"
#
# Lists the size of all the folders
alias ducks='du -cks * | sort -rn |head -11'

# Edit ssh config
alias essh="e ~/.ssh/config"

# cd
alias ..='cd ..;'
alias ...='.. ..'

# List TCP ports
alias ports='sudo lsof -iTCP -sTCP:LISTEN -P'

# Host aware ls color option
case $(uname) in
  'Darwin')
    alias ls='ls -GF'
    ;;
  *)
    alias ls='ls --color=auto -F'
    ;;
esac

alias grep='grep --color'

# ls
alias l="ls -Alh"
alias ll="l"
alias l.='ls -ldG .*'
alias le='ls -aelG'
alias lsd="ls -al | awk '/^d/{print}'"

# hub (http://github.com/defunkt/hub)
# brew install hub
[ `which hub` ] && alias git='nocorrect hub'

alias brew-update='brew install $(brew outdated | cut -d " " -f1 | tr "\n" " ")'

# Rails
function rails_command {
  local cmd=$1
  shift
  if [ -e script/rails ]; then
    rails $cmd "$@"
  elif [ -e script/$cmd ]; then
    script/$cmd "$@"
  else
    echo "Rails command $cmd not found in ./script"
  fi
}
function rs { rails_command "server" "$@" }
function rc { rails_command "console" "$@" }
function rg { rails_command "generate" "$@" }
function rdb { rails_command "dbconsole" "$@" }

alias migrate='rake db:migrate db:test:clone_structure'

# bundler
alias b='bundle'
alias be='bundle exec'
alias bc='bundle console'
alias bi='bundle install'
alias bil='bundle install --local'
alias bu='bundle update'

# Start Guard using bundle exec
alias beg='bundle exec guard'

# commands starting with % for pasting from web
alias %=' '

# What is my IP?
alias ip='curl http://www.whatismyip.com/automation/n09230945.asp'

{'fraction_non_alphanumeric': 0.16685616827743036, 'fraction_numerical': 0.006822057987492893, 'mean_word_length': 3.4942528735632186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '300991', 'n_tokens_mistral': 1326, 'n_tokens_neox': 1255, 'n_words': 410}