<commit_before>#!/bin/sh

function fireSetupProcedure() {
    echo "Setting up your Mac..."

    # Check for Homebrew and install it if it isn't already
    if test ! $(which brew); then
        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    fi

    # Update Homebrew recipes
    brew update

    # Install all our dependencies with bundle (See Brewfile)
    brew tap homebrew/bundle
    brew bundle

    # Make ZSH the default shell environment
    chsh -s $(which zsh)

    # Install Composer
    curl -sS https://getcomposer.org/installer | php
    mv composer.phar /usr/local/bin/composer

    # Install global Composer packages
    /usr/local/bin/composer global require laravel/installer laravel/lumen-installer
}

# Prevent the setup procedure from being fired accidentally.
case $1 in
    "-f" | "--force")
        fireSetupProcedure ;;
    *)
        read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1
        echo ""

        if [[ $REPLY =~ ^[Yy]$ ]]; then
            fireSetupProcedure
        else
            echo "Setting up your Mac was cancelled!"
        fi
esac

unset fireSetupProcedure;
<commit_msg>Install vue-cli globally<commit_after>#!/bin/sh

function fireSetupProcedure() {
    echo "Setting up your Mac..."

    # Check for Homebrew and install it if it isn't already
    if test ! $(which brew); then
        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    fi

    # Update Homebrew recipes
    brew update

    # Install all our dependencies with bundle (See Brewfile)
    brew tap homebrew/bundle
    brew bundle

    # Make ZSH the default shell environment
    chsh -s $(which zsh)

    # Install Composer
    curl -sS https://getcomposer.org/installer | php
    mv composer.phar /usr/local/bin/composer

    # Install global Composer packages
    /usr/local/bin/composer global require laravel/installer laravel/lumen-installer

    # Install global NPM packages
    yarn global add vue-cli
}

# Prevent the setup procedure from being fired accidentally.
case $1 in
    "-f" | "--force")
        fireSetupProcedure ;;
    *)
        read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1
        echo ""

        if [[ $REPLY =~ ^[Yy]$ ]]; then
            fireSetupProcedure
        else
            echo "Setting up your Mac was cancelled!"
        fi
esac

unset fireSetupProcedure;

{'fraction_non_alphanumeric': 0.09347653142402546, 'fraction_numerical': 0.0015910898965791568, 'mean_word_length': 2.4785615491009683, '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': '7158999', 'n_tokens_mistral': 764, 'n_tokens_neox': 723, 'n_words': 258}