<commit_before>#!/bin/bash

cur_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
platform=$(uname)


install_requirements_for_mac() {
    set -e
    # NOTE: XCode is required.
    # for vim
    brew install llvm --with-toolchain
    brew install shellcheck
    brew install readline xz
    brew install macvim --HEAD --with-cscope --with-lua --with-luajit --with-python --with-override-system-vim
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew install gnupg pnupg2 gpg-agent pinentry-mac # for gpg
    brew install zsh
    brew install ctags
    brew install the_silver_searcher
    brew install fzf
    /usr/local/opt/fzf/install
    brew install pyenv
    brew install pyenv-virtualenvwrapper
    brew install tmux reattach-to-user-namespace
    brew install coreutils findutils gnu-getopt
    brew ln gnu-getopt --force
    brew install yarn
    brew install watch
    brew install autojump
    brew install go
}

change_settings_for_mac() {<commit_msg>Change order<commit_after>#!/bin/bash

cur_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
platform=$(uname)


install_requirements_for_mac() {
    set -e
    # NOTE: XCode is required.
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    # for vim
    brew install llvm --with-toolchain
    brew install shellcheck
    brew install readline xz
    brew install macvim --HEAD --with-cscope --with-lua --with-luajit --with-python --with-override-system-vim
    brew install gnupg pnupg2 gpg-agent pinentry-mac # for gpg
    brew install zsh
    brew install ctags
    brew install the_silver_searcher
    brew install fzf
    /usr/local/opt/fzf/install
    brew install pyenv
    brew install pyenv-virtualenvwrapper
    brew install tmux reattach-to-user-namespace
    brew install coreutils findutils gnu-getopt
    brew ln gnu-getopt --force
    brew install yarn
    brew install watch
    brew install autojump
    brew install go
}

change_settings_for_mac() {
{'fraction_non_alphanumeric': 0.09732360097323602, 'fraction_numerical': 0.0019464720194647203, 'mean_word_length': 3.047244094488189, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2786724', 'n_tokens_mistral': 684, 'n_tokens_neox': 655, 'n_words': 189}