<commit_before># grc overides for ls
#   Made possible through contributions from generous benefactors like
#   `brew install coreutils`
if $(gls &>/dev/null)
then
  alias ls="gls -F --color"
  alias l="gls -lAh --color"
  alias ll="gls -l --color"
  alias la='gls -A --color'
fi

# Pretty print the path
alias path="echo $PATH | tr -s ':' '\n'"

# Get week number
alias week='date +%V'

# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="/sbin/ifconfig | grep \"inet \" | grep -v 127.0.0.1 | cut -d ' ' -f2" #"ipconfig getifaddr en1"
alias macaddress="/sbin/ifconfig | grep en0 -B 10 | grep ether | cut -d ' ' -f2"

# Clean up LaunchServices to remove duplicates in the “Open With” menu
alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"

# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"

# Projects
alias ss="c SameSystem/samesystem"

alias testas="cd ~/quest && clear && ruby parser.rb"

# OS X restarts
alias rrfinder="killall -KILL Finder"
alias rrdock="killall -KILL Dock" # launchctl stop com.apple.Dock.agent
alias rrmenubar="killall -KILL SystemUIServer"

# Merge PDF
# Usage: mergepdf /PATH/TO/FILE/1.pdf /PATH/TO/FILE/2.pdf /PATH/TO/A/WHOLE/DIR/*.pdf
alias mergepdf="/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o ./merged_document.pdf"

alias hgr='$(history 1 | sort -ur | cut -c8- | pick)'
alias hg="history 1 | grep"
<commit_msg>Remove some unused aliases<commit_after># grc overides for ls
#   Made possible through contributions from generous benefactors like
#   `brew install coreutils`
if $(gls &>/dev/null)
then
  alias ls="gls -F --color"
  alias l="gls -lAh --color"
  alias ll="gls -l --color"
  alias la='gls -A --color'
fi

# Pretty print the path
alias path="echo $PATH | tr -s ':' '\n'"

# Get week number
alias week='date +%V'

# Clean up LaunchServices to remove duplicates in the “Open With” menu
alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"

# Recursively delete `.DS_Store` files
alias dscleanup="find . -type f -name '*.DS_Store' -ls -delete"

# OS X restarts
alias rrfinder="killall -KILL Finder"
alias rrdock="killall -KILL Dock" # launchctl stop com.apple.Dock.agent
alias rrmenubar="killall -KILL SystemUIServer"

# Merge PDF
# Usage: mergepdf /PATH/TO/FILE/1.pdf /PATH/TO/FILE/2.pdf /PATH/TO/A/WHOLE/DIR/*.pdf
alias mergepdf="/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o ./merged_document.pdf"

alias hgr='$(history 1 | sort -ur | cut -c8- | pick)'
alias hg="history 1 | grep"

{'fraction_non_alphanumeric': 0.13902439024390245, 'fraction_numerical': 0.008013937282229966, 'mean_word_length': 3.9585492227979273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5788004', 'n_tokens_mistral': 1033, 'n_tokens_neox': 992, 'n_words': 306}