<commit_before>alias tmux="tmux -2"

# System
alias ..="cd .."
alias ls="ls -lah"

# Flush DNS Cache
alias flushdns="dscacheutil -flushcache"

# Recursively delete .DS_Store files
# http://alex.tsd.net.au/2010/09/14/recursively-remove-ds_store-files/
alias cleanup="find . -name '*.DS_Store' -type f -delete"

# instant simple server
# https://gist.github.com/1525217
alias server="open http://localhost:8000 && python -m SimpleHTTPServer"

# Work
alias updatedev="bundle && rake db:migrate && foreman start"

# kill process(es) on certain port
killPortProcess() {
  kill `lsof -t -i:$1`
}
alias killport=killPortProcess
<commit_msg>Ag and Git Grep aliases<commit_after>alias tmux="tmux -2"

# System
alias ..="cd .."
alias ls="ls -lah"

# Flush DNS Cache
alias flushdns="dscacheutil -flushcache"

# Recursively delete .DS_Store files
# http://alex.tsd.net.au/2010/09/14/recursively-remove-ds_store-files/
alias cleanup="find . -name '*.DS_Store' -type f -delete"

# instant simple server
# https://gist.github.com/1525217
alias server="open http://localhost:8000 && python -m SimpleHTTPServer"

# git grep
alias gg="git grep"

# global agignore
alias ag="ag --path-to-agignore=~/.agignore"

# kill process(es) on certain port
killPortProcess() {
  kill `lsof -t -i:$1`
}
alias killport=killPortProcess

{'fraction_non_alphanumeric': 0.148119723714505, 'fraction_numerical': 0.03223330775134305, 'mean_word_length': 4.344262295081967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2309346', 'n_tokens_mistral': 502, 'n_tokens_neox': 466, 'n_words': 119}