<commit_before>#!/bin/sh

echo "Installer bootstrap"

echo "Create ssh key"

ssh-keygen -t rsa -b 4096

echo "install homebrew"

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


git clone <EMAIL>:hidetoshing/dotfiles.git ~/src/github.com/hidetoshing/dotfiles

cd ~/src/github.com/hidetoshing/dotfiles

echo "This dotfiles require vim, zsh, tmux."
echo "  make install"
echo "  "
echo "  please run 'ln -sfnv ~/src/github.com/hidetoshing/dotfiles/resources/vim/*.toml ~/.vim/rc/' before launch vim."
echo "  for install mac applications, make brewfile."
<commit_msg>:art: improve boot.sh<commit_after>#!/bin/sh

echo "Installer bootstrap"

# ssh key create
if [ ! -e ~/.ssh/id_rsa ]; then
    echo "Create ssh key"
    ssh-keygen -t rsa -b 4096
fi

# homebrew for mac
if ! which brew > /dev/null 3>&1; then
    echo "install homebrew"
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

git clone <EMAIL>:hidetoshing/dotfiles.git ~/src/github.com/hidetoshing/dotfiles

echo "This dotfiles require vim, zsh, tmux."
echo "  make install"
echo "  "
echo "  please run 'ln -sfnv ~/src/github.com/hidetoshing/dotfiles/resources/vim/*.toml ~/.vim/rc/' before launch vim."
echo "  for install mac applications, make brewfile."

{'fraction_non_alphanumeric': 0.1425339366515837, 'fraction_numerical': 0.007541478129713424, 'mean_word_length': 3.7392857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5742255', 'n_tokens_mistral': 512, 'n_tokens_neox': 490, 'n_words': 128}