<commit_before>#!/bin/bash
#
# This scripts gets all other scripts needed for installing my base debian system
#

function die () {
	echo >&2 "$@"
	exit 1
}

function download() {
	url="https://raw.githubusercontent.com/oizo/deb-post-install/master/$1"
	success=$(wget -q $url)
	if [[ success -ne 0 ]]; then
		die "Failed to get $url, exiting..."
	else
		echo "Download $1... success"
	fi
}

cd $HOME
bin_dir="bin"
if [[ ! -e ${bin_dir} ]]; then
	mkdir -p ${bin_dir}
elif [[ ! -d ${bin_dir} ]]; then
	die "${bin_dir} is not a directory."<commit_msg>improved setup<commit_after>#!/bin/bash
#
# This scripts gets all other scripts needed for installing my base debian system
#

function die () {
	echo >&2 "$@"
	exit 1
}

function download() {
	url="https://raw.githubusercontent.com/oizo/deb-post-install/master/$1"
	success=$(wget -q $url)
	if [[ success -ne 0 ]]; then
		die "Failed to get $url, exiting..."
	fi
}

cd $HOME
bin_dir="bin"
if [[ ! -e ${bin_dir} ]]; then
	mkdir -p ${bin_dir}
elif [[ ! -d ${bin_dir} ]]; then
	die "${bin_dir} is not a directory."
{'fraction_non_alphanumeric': 0.17907634307257306, 'fraction_numerical': 0.008482563619227144, 'mean_word_length': 3.6375545851528384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6007957', 'n_tokens_mistral': 414, 'n_tokens_neox': 389, 'n_words': 121}