<commit_before>
# getting AUR repos with ease
aur_clone () {
    git clone https://aur.archlinux.org/${1}.git
}

# jupyter stuff
add-ipy-kernel () {
    python -m ipykernel install --user --name $1 --display-name "$1"
}


# function to test output code of a command
outcode () {
    $1
    echo $!
}


# get the dependencies from pypi without installing the things
pip-list-deps () {
    PACKAGE=$1
    pip download $PACKAGE -d /tmp --no-binary :all: \
    | grep Collecting \
    | cut -d' ' -f2 \
    | grep -v $PACKAGE
}


# conda
reset-conda-none () {
    rm -rf $ANACONDA/envs/none/*
    mkdir $ANACONDA/envs/none/bin
}


# cookiecutter stuff
mkproject () {
    chenv cookiecutter
    echo "INFO: Changed conda envs."
    cookiecutter $1
    echo "INFO: Switching conda envs to 'none'."
    chenv_
    echo "INFO: Enjoy your work!"
}

mkprojectdatascience () {
    mkproject $GITREPOS/cookiecutters/cookiecutter-data-science
}

# BCH VPN
vpn-bch () {
  sudo openconnect --juniper -C "DSID=${1}" https://vpn.childrens.harvard.edu
}<commit_msg>added cookiecutter helpers<commit_after>
# getting AUR repos with ease
aur_clone () {
    git clone https://aur.archlinux.org/${1}.git
}

# jupyter stuff
add-ipy-kernel () {
    python -m ipykernel install --user --name $1 --display-name "$1"
}


# function to test output code of a command
outcode () {
    $1
    echo $!
}


# get the dependencies from pypi without installing the things
pip-list-deps () {
    PACKAGE=$1
    pip download $PACKAGE -d /tmp --no-binary :all: \
    | grep Collecting \
    | cut -d' ' -f2 \
    | grep -v $PACKAGE
}


# conda
reset-conda-none () {
    rm -rf $ANACONDA/envs/none/*
    mkdir $ANACONDA/envs/none/bin
}


# cookiecutter stuff
cutcookie () {
    chenv cookiecutter
    echo "INFO: Changed conda envs."
    cookiecutter $1
    echo "INFO: Switching conda envs to 'none'."
    chenv_
    echo "INFO: Enjoy your work!"
}

mkprojectdatascience () {
    cutcookie $GITREPOS/cookiecutters/cookiecutter-data-science
}

# BCH VPN
vpn-bch () {
  sudo openconnect --juniper -C "DSID=${1}" https://vpn.childrens.harvard.edu
}
{'fraction_non_alphanumeric': 0.13383958234456572, 'fraction_numerical': 0.007593735168485999, 'mean_word_length': 2.757575757575758, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7020825', 'n_tokens_mistral': 802, 'n_tokens_neox': 764, 'n_words': 208}