<commit_before>#!/bin/bash
netaddr=192.168.20.117
if [ "${1:-'null'}" == "-d" ]; then
  dbname=${2:-'darwin2'}
else
  dbname=${1:-'darwin2'}
fi
clusterpath='/var/lib/postgresql/8.3/darwin/'
dbpath=$clusterpath$dbname
mkdir $dbpath
createlang -d template1 plpgsql
createlang -d template1 plpythonu
if [ "${1:-'null'}" == "-d" ]; then
  psql -q -v dbname=$dbname -f dropdb.sql
fi
psql -q -v dbpath=\'$dbpath\' -v dbnameS=\'$dbname\' -v dbname=$dbname -f createdb.sql
dropuser -q $dbname
createuser -l -i -q -S -R -D -P -E $dbname
psql -q -d $dbname -v dbname=$dbname -f createschema.sql
psql -q -h $netaddr -d $dbname -v dbname=$dbname -U $dbname -W -f createdomains.sql
psql -q -h $netaddr -d $dbname -v dbname=$dbname -U $dbname -W -f createtypes.sql
psql -q -h $netaddr -d $dbname -v dbname=$dbname -U $dbname -W -f createtables.sql<commit_msg>  Added merge of darwin.sh from my super B! ------------------------------------------------------------ Use --include-merges or -n0 to see merged revisions.<commit_after>#!/bin/bash
netaddr=192.168.20.117
if [ "${1:-'null'}" == "-d" ]; then
  dbname=${2:-'darwin2'}
else
  dbname=${1:-'darwin2'}
fi
clusterpath='/var/lib/postgresql/8.3/darwin/'
dbpath=$clusterpath$dbname
mkdir $dbpath
createlang -d template1 plpgsql
createlang -d template1 plpythonu
if [ "${1:-'null'}" == "-d" ]; then
  psql -q -v dbname=$dbname -f dropdb.sql
fi
psql -q -v dbpath=\'$dbpath\' -v dbnameS=\'$dbname\' -v dbname=$dbname -f createdb.sql
dropuser -q $dbname
createuser -l -i -q -S -R -D -P -E $dbname
psql -q -d $dbname -v dbname=$dbname -f createschema.sql
psql -q -h $netaddr -d $dbname -U $dbname -W -f createdomains.sql
psql -q -h $netaddr -d $dbname -U $dbname -W -f createtypes.sql
psql -q -h $netaddr -d $dbname -U $dbname -W -f createtables.sql
{'fraction_non_alphanumeric': 0.21348314606741572, 'fraction_numerical': 0.024157303370786518, 'mean_word_length': 2.9754464285714284, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3662108', 'n_tokens_mistral': 750, 'n_tokens_neox': 728, 'n_words': 215}