<commit_before># File			~/.zsh/darwin.zsh
#
# Purpose		This file contains system specific settings for Mac OS X 
#			operating systems
#
# Author		<NAME> <<EMAIL>>
#
# Latest Version	https://github.com/pygospa/dotfiles
# License		CC BY-SA 4.0, if applicable and compatible to software
#			license



# --------------------------------------------------------------------------- #
#			Variabels					      #
# --------------------------------------------------------------------------- #

# Mac keeps path information in /etc/paths.d to automatically create path
# entries for new installed software. As we rewrite the path, we add them
# manually
for file in /etc/paths.d/*; do
	new="$(<$file)"
	export PATH="$PATH:$new"
done

# Use Firefox as default browser on OS X, if available
if [[ -x /Applications/Firefox.app/Contents/MacOS/firefox ]]; then
	export BROWSER="/Applications/Firefox.app/Contents/MacOS/firefox"
fi



# --------------------------------------------------------------------------- #
#			Aliases  					      #
# --------------------------------------------------------------------------- #

# Toggle Finder to show hidden files
alias show_hidden=' defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder'
alias hide_hidden=' defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder'

# Set easy to use commands for starting and stoping postgresql if
# available on system
if [[ -x `which pg_ctl` ]]; then
	alias pg-start=' pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
	alias pg-stop=' pg_ctl -D /usr/local/var/postgres stop -s -m fast'
fi
<commit_msg>Add cppcompile alias<commit_after># File			~/.zsh/darwin.zsh
#
# Purpose		This file contains system specific settings for macOS
#			operating systems
#
# Author		<NAME> <<EMAIL>>
#
# Latest Version	https://github.com/pygospa/dotfiles
# License		CC BY-SA 4.0, if applicable and compatible to software
#			license



# --------------------------------------------------------------------------- #
#			Variabels					      #
# --------------------------------------------------------------------------- #

# Mac keeps path information in /etc/paths.d to automatically create path
# entries for new installed software. As we rewrite the path, we add them
# manually
for file in /etc/paths.d/*; do
	new="$(<$file)"
	export PATH="$PATH:$new"
done

# Use Firefox as default browser on OS X, if available
if [[ -x /Applications/Firefox.app/Contents/MacOS/firefox ]]; then
	export BROWSER="/Applications/Firefox.app/Contents/MacOS/firefox"
fi

# Java home
export JAVA_HOME="`/usr/libexec/java_home -v 1.8`"


# --------------------------------------------------------------------------- #
#			Aliases  					      #
# --------------------------------------------------------------------------- #

# Toggle Finder to show hidden files
alias show_hidden=' defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder'
alias hide_hidden=' defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder'

# Shorthand for compiling C++11 on macOS using xcodes clang
alias cppcompile='c++ -std=c++11 -stdlib=libc++'

# Set easy to use commands for starting and stoping postgresql if
# available on system
if [[ -x `which pg_ctl` ]]; then
	alias pg-start=' pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
	alias pg-stop=' pg_ctl -D /usr/local/var/postgres stop -s -m fast'
fi

{'fraction_non_alphanumeric': 0.26522988505747125, 'fraction_numerical': 0.0028735632183908046, 'mean_word_length': 1.8462796402289452, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '3787248', 'n_tokens_mistral': 1017, 'n_tokens_neox': 956, 'n_words': 315}