<commit_before>#!/bin/bash

# install fonts
# Inconsolata
echo access http://levien.com/type/myfonts/inconsolata.html to install Inconsolata
# DejaVu Sans Mono
echo access https://dejavu-fonts.github.io/Download.html to install DejaVu Sans Mono

# install iTerm2
echo access https://www.iterm2.com/downloads.html to install iTerm2

# install necessary tools
sudo xcode-select --install

# git config
git config --global color.ui true
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.di difftool
git config --global alias.st "status --short --branch"
git config --global alias.last "log -1 HEAD"
git config --global push.default simple
git config --global diff.tool vimdiff
git config --global merge.tool vimdiff
git config --global difftool.prompt false
git config --global core.filemode false
git config --global core.excludesfile "${HOME}/.gitignore"

cat > "${HOME}/.gitignore" << EOF
*.py[co]
*.sw[op]
.DS_Store
.installed.cfg
bin/
develop-eggs/
*.egg-info/
eggs/
EOF

# install brew
# Ref. https://brew.sh/
if [[ ! -e /usr/local/bin/brew ]]; then
	/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
<commit_msg>pull.rebase = false<commit_after>#!/bin/bash

# install fonts
# Inconsolata
echo access http://levien.com/type/myfonts/inconsolata.html to install Inconsolata
# DejaVu Sans Mono
echo access https://dejavu-fonts.github.io/Download.html to install DejaVu Sans Mono

# install iTerm2
echo access https://www.iterm2.com/downloads.html to install iTerm2

# install necessary tools
sudo xcode-select --install

# git config
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.di difftool
git config --global alias.last "log -1 HEAD"
git config --global alias.st "status --short --branch"
git config --global color.ui true
git config --global core.excludesfile "${HOME}/.gitignore"
git config --global core.filemode false
git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global merge.tool vimdiff
git config --global pull.rebase false
git config --global push.default simple

cat > "${HOME}/.gitignore" << EOF
*.py[co]
*.sw[op]
.DS_Store
.installed.cfg
bin/
develop-eggs/
*.egg-info/
eggs/
EOF

# install brew
# Ref. https://brew.sh/
if [[ ! -e /usr/local/bin/brew ]]; then
	/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

{'fraction_non_alphanumeric': 0.12843676355066772, 'fraction_numerical': 0.003142183817753339, 'mean_word_length': 3.8056603773584907, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1397290', 'n_tokens_mistral': 850, 'n_tokens_neox': 819, 'n_words': 268}