<commit_before>#!/bin/bash
# Set up a new Mac to get up and running for development.
# See the README.md file for install preconditions before running this script.

# Get current directory
DOTFILES_DIR=$(dirname $BASH_SOURCE)

# Generate ssh key
ssh-keygen -t rsa -b 4096 -N ""
ssh-add ~/.ssh/id_rsa

# Install brew packages and casks
source $DOTFILES_DIR/osx/brew/brew.sh

# Bootstrap rcup: the exclusions here are enumerated in the rcrc file so
# you should be able to just run $ rcup when doing this again
# Ignores the README, setup script, brew, and ruby directory for symlinking
rcup -x README.md -x setup.sh -x *:ruby -x *:osx

# Get Solarized colors for iTerm.
git clone https://github.com/altercation/solarized.git ~/solarized
open ~/solarized/iterm2-colors-solarized/Solarized\ Dark.itermcolors
open ~/solarized/iterm2-colors-solarized/Solarized\ Light.itermcolors
rm -rf ~/solarized

# Install Vundle to get vim plugins defined in .vimrc up and running
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

# Configure Karabiner
source $DOTFILES_DIR/osx/karabiner/karabiner.sh

# Install Ruby versions
source $DOTFILES_DIR/ruby/chruby.sh
<commit_msg>Specify name of ssh key file<commit_after>#!/bin/bash
# Set up a new Mac to get up and running for development.
# See the README.md file for install preconditions before running this script.

# Get current directory
DOTFILES_DIR=$(dirname $BASH_SOURCE)

# Generate ssh key
ssh-keygen -t rsa -b 4096 -N "" -f ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa

# Install brew packages and casks
source $DOTFILES_DIR/osx/brew/brew.sh

# Bootstrap rcup: the exclusions here are enumerated in the rcrc file so
# you should be able to just run $ rcup when doing this again
# Ignores the README, setup script, brew, and ruby directory for symlinking
rcup -x README.md -x setup.sh -x *:ruby -x *:osx

# Get Solarized colors for iTerm.
git clone https://github.com/altercation/solarized.git ~/solarized
open ~/solarized/iterm2-colors-solarized/Solarized\ Dark.itermcolors
open ~/solarized/iterm2-colors-solarized/Solarized\ Light.itermcolors
rm -rf ~/solarized

# Install Vundle to get vim plugins defined in .vimrc up and running
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

# Configure Karabiner
source $DOTFILES_DIR/osx/karabiner/karabiner.sh

# Install Ruby versions
source $DOTFILES_DIR/ruby/chruby.sh

{'fraction_non_alphanumeric': 0.09428571428571429, 'fraction_numerical': 0.004897959183673469, 'mean_word_length': 4.282327586206897, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '993565', 'n_tokens_mistral': 885, 'n_tokens_neox': 834, 'n_words': 281}