<commit_before>#!/bin/sh

# get brew
if !(type "brew" > /dev/null 2>&1); then
	/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
fi

# brew install
brew update & install \
git \
vim \
nodebrew \
wget \
zsh-git-prompt \
zsh-completions


# mv2trash
if [ ! -f ~/dotfiles/bin/mv2trash ]; then
	echo "download mv2trash!"
	curl -L https://raw.githubusercontent.com/dankogai/osx-mv2trash/master/bin/mv2trash > ~/dotfiles/bin/mv2trash
	chmod a+x ~/dotfiles/bin/mv2trash
fi

<commit_msg>add nodebrew setup.<commit_after>#!/bin/sh

# get brew
if !(type "brew" > /dev/null 2>&1); then
	/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
fi

# brew install
brew update & install \
git \
vim \
nodebrew \
wget \
zsh-git-prompt \
zsh-completions


# mv2trash
if [ ! -f ~/dotfiles/bin/mv2trash ]; then
	echo "download mv2trash!"
	curl -L https://raw.githubusercontent.com/dankogai/osx-mv2trash/master/bin/mv2trash > ~/dotfiles/bin/mv2trash
	chmod a+x ~/dotfiles/bin/mv2trash
fi

# nodebrew
if [ ! -f ~/.nodebrew ]; then
	nodebrew setup
	nodebrew install-binary v14.15.4
	nodebrew use v14.15.4
fi

{'fraction_non_alphanumeric': 0.1554800339847069, 'fraction_numerical': 0.0237892948173322, 'mean_word_length': 3.548262548262548, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6916201', 'n_tokens_mistral': 511, 'n_tokens_neox': 488, 'n_words': 100}