<commit_before>#!/bin/bash

jarfile="/data/minecraft_server.jar"
propertyfile="/data/server.properties"
version="1.8.8"
maxmemory="1G"
uri="https://s3.amazonaws.com/Minecraft.Download/versions/${version}/minecraft_server.${version}.jar"

if [ ! -f $jarfile ]; then
  curl $uri -o $jarfile
fi

echo "configuring ${propertyfile} ..."

sed -i -e"s/online-mode=.*/online-mode=false/" $propertyfile

# it's necessary for java running at correct ENV
cd /data

java -Xmx${maxmemory} -jar $jarfile nogui<commit_msg>Updated: start.sh.<commit_after>#!/bin/bash

jarfile="/data/minecraft_server.jar"
propertyfile="/data/server.properties"
version="1.8.8"
maxmemory="1G"
uri="https://s3.amazonaws.com/Minecraft.Download/versions/${version}/minecraft_server.${version}.jar"

if [ ! -f $jarfile ]; then
  curl $uri -o $jarfile
fi

echo "configuring ${propertyfile} ..."

sed -i -e"s/online-mode=.*/online-mode=false/" $propertyfile

# it's necessary for java running at correct ENV
cd /data && java -Xmx${maxmemory} -jar minecraft_server.jar nogui
{'fraction_non_alphanumeric': 0.17521781219748306, 'fraction_numerical': 0.00968054211035818, 'mean_word_length': 4.84180790960452, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4286151', 'n_tokens_mistral': 369, 'n_tokens_neox': 368, 'n_words': 74}