<commit_before>#!/bin/bash

GO_AMD64=https://storage.googleapis.com/golang/go1.6.1.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.6.1.linux-386.tar.gz
ARCH=$(uname -m)
GO_CUR=${GO_AMD64}

if [ "$ARCH" == "i686" ] || [ "$ARCH" == "i386" ]; then
  GO_CUR=${GO_X86}
fi

which git > /dev/null || apt-get install git -y

if [ -z "$GOPATH" ]; then
  curl -o go_latest.tar.gz ${GO_CUR}
  tar -C /usr/local -xzf go_latest.tar.gz
  rm go_latest.tar.gz
  export PATH=$PATH:/usr/local/go/bin

  mkdir /v2ray &> /dev/null
  export GOPATH=/v2ray
fi

go get -u github.com/v2ray/v2ray-core
rm $GOPATH/bin/build
go install github.com/v2ray/v2ray-core/tools/build
$GOPATH/bin/build
<commit_msg>Update install.sh<commit_after>#!/bin/bash

GO_AMD64=https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.6.2.linux-386.tar.gz
ARCH=$(uname -m)
GO_CUR=${GO_AMD64}

if [ "$ARCH" == "i686" ] || [ "$ARCH" == "i386" ]; then
  GO_CUR=${GO_X86}
fi

which git > /dev/null || apt-get install git -y

if [ -z "$GOPATH" ]; then
  curl -o go_latest.tar.gz ${GO_CUR}
  tar -C /usr/local -xzf go_latest.tar.gz
  rm go_latest.tar.gz
  export PATH=$PATH:/usr/local/go/bin

  mkdir /v2ray &> /dev/null
  export GOPATH=/v2ray
fi

go get -u github.com/v2ray/v2ray-core
rm $GOPATH/bin/build
go install github.com/v2ray/v2ray-core/tools/build
$GOPATH/bin/build

{'fraction_non_alphanumeric': 0.18357142857142858, 'fraction_numerical': 0.04428571428571428, 'mean_word_length': 3.563517915309446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4848882', 'n_tokens_mistral': 672, 'n_tokens_neox': 611, 'n_words': 109}