<commit_before>#!/bin/bash
echo "安装将花费一定时间，请耐心等待直到安装完成^_^, ..."
sudo apt-get update
sudo apt-get install -y python-setuptools python-dev git easy_install pip docker-engine

cd /home && sudo rm -rf opentech
sudo mkdir opentech && cd opentech
sudo git clone https://github.com/msopentechcn/open-hackathon.git
cd /home/opentech/open-hackathon
sudo pip install -r open-hackathon-server/requirement.txt
sudo pip install -r open-hackathon-client/requirement.txt
sudo cp open-hackathon-server/src/hackathon/config_sample.py open-hackathon-server/src/hackathon/config.py
sudo cp open-hackathon-server/src/hackathon/config_sample.py open-hackathon-server/src/hackathon/config.py

# install and Configure guacamole
sudo apt-get install -y libcairo2-dev libjpeg62-turbo-dev libjpeg62-dev libpng12-dev libossp-uuid-dev
sudo apt-get install -y libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev
sudo apt-get install -y libvncserver-dev libwebp-dev libssl-dev libvorbis-dev
cd /home/opentech && sudo wget http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.9.tar.gz/download
sudo mv download guacamole-server-0.9.9.tar.gz && sudo tar -xzf guacamole-server-0.9.9.tar.gz && cd guacamole-server-0.9.9/
sudo autoreconf -fi
sudo ./configure --with-init-dir=/etc/init.d
sudo make
sudo make install<commit_msg>work in process<commit_after>#!/bin/bash
echo "安装将花费一定时间，请耐心等待直到安装完成^_^, ..."
sudo apt-get update
sudo apt-get install -y python-setuptools python-dev git python-pip docker-engine

cd /home && sudo rm -rf opentech
sudo mkdir opentech && cd opentech
sudo git clone https://github.com/msopentechcn/open-hackathon.git
cd /home/opentech/open-hackathon
sudo pip install -r open-hackathon-server/requirement.txt
sudo pip install -r open-hackathon-client/requirement.txt
sudo cp open-hackathon-server/src/hackathon/config_sample.py open-hackathon-server/src/hackathon/config.py
sudo cp open-hackathon-server/src/hackathon/config_sample.py open-hackathon-server/src/hackathon/config.py

# install and Configure guacamole
sudo apt-get install -y libcairo2-dev libjpeg62-turbo-dev libjpeg62-dev libpng12-dev libossp-uuid-dev
sudo apt-get install -y libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev
sudo apt-get install -y libvncserver-dev libwebp-dev libssl-dev libvorbis-dev
cd /home/opentech && sudo wget http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.9.tar.gz/download
sudo mv download guacamole-server-0.9.9.tar.gz && sudo tar -xzf guacamole-server-0.9.9.tar.gz && cd guacamole-server-0.9.9/
sudo autoreconf -fi
sudo ./configure --with-init-dir=/etc/init.d
sudo make
sudo make install
{'fraction_non_alphanumeric': 0.11492087415222306, 'fraction_numerical': 0.01733232856066315, 'mean_word_length': 4.474226804123711, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '864625', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1005, 'n_words': 212}