<commit_before># Enable sudo aliases
alias sudo='sudo '

# Tools
alias flatten-dir='find . -mindepth 2 -type f -exec mv -t . -i "{}" +'
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"'
alias urldecode='python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])"'
alias ip-public="dig +short myip.opendns.com @resolver1.opendns.com"
alias ip-local="ipconfig getifaddr en0"
for method in GET POST PUT DELETE; do
	alias "$method"="curl -X $method"
done

# Shortcuts
alias resource='source ~/.bashrc 2>/dev/null || source ~/.bash_profile'
alias update-conf='pullc && restow-dots && resource && zenbu -e'
alias unstow='stow -D'
alias restow='stow -R'
alias tetris='bastet'
alias ll='ls -l'
alias la='ls -la'
alias findr='find -L . ! -type d -regex'
alias HEAD='git rev-parse --abbrev-ref HEAD'
alias aniget='anistrm --program="wget -c"'
alias all="tr '\n' '\0' | xargs -0"
alias map="all -n 1"
alias g='git'
alias h='history'
alias zh='eval $(tac "$HISTFILE" | fzf --no-sort --preview= | tee -a "$HISTFILE")'
alias q='fzf --multi | map'
alias ql='locate / | fzf --multi | map'
alias u='pushd'
alias p='popd'
alias l='dirs -v'

# Prefs
alias less='less -R'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias feh='feh -.'
alias ocaml='rlwrap ocaml'<commit_msg>make emacs use 16 colors<commit_after># Enable sudo aliases
alias sudo='sudo '

# Tools
alias flatten-dir='find . -mindepth 2 -type f -exec mv -t . -i "{}" +'
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"'
alias urldecode='python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])"'
alias ip-public="dig +short myip.opendns.com @resolver1.opendns.com"
alias ip-local="ipconfig getifaddr en0"
for method in GET POST PUT DELETE; do
	alias "$method"="curl -X $method"
done

# Shortcuts
alias resource='source ~/.bashrc 2>/dev/null || source ~/.bash_profile'
alias update-conf='pullc && restow-dots && resource && zenbu -e'
alias unstow='stow -D'
alias restow='stow -R'
alias tetris='bastet'
alias ll='ls -l'
alias la='ls -la'
alias findr='find -L . ! -type d -regex'
alias HEAD='git rev-parse --abbrev-ref HEAD'
alias aniget='anistrm --program="wget -c"'
alias all="tr '\n' '\0' | xargs -0"
alias map="all -n 1"
alias g='git'
alias h='history'
alias zh='eval $(tac "$HISTFILE" | fzf --no-sort --preview= | tee -a "$HISTFILE")'
alias q='fzf --multi | map'
alias ql='locate / | fzf --multi | map'
alias u='pushd'
alias p='popd'
alias l='dirs -v'

# Prefs
alias less='less -R'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias emacs='TERM=xterm-16color emacs'
alias feh='feh -.'
alias ocaml='rlwrap ocaml'
{'fraction_non_alphanumeric': 0.17678958785249457, 'fraction_numerical': 0.007953723788864787, 'mean_word_length': 4.352030947775629, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1665287', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1073, 'n_words': 324}