diff --git a/Minecraft.sh b/Minecraft.sh deleted file mode 100755 index 96cd48b..0000000 --- a/Minecraft.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -/usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Djava.library.path=/home/tobias/.minecraft/versions/1.8.8/1.8.8-natives -cp /home/tobias/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/tobias/.minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar:/home/tobias/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/tobias/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/tobias/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/home/tobias/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/tobias/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/tobias/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/tobias/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/tobias/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/tobias/.minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/home/tobias/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar:/home/tobias/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/home/tobias/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/tobias/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/tobias/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/tobias/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/tobias/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/home/tobias/.minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar:/home/tobias/.minecraft/libraries/com/mojang/realms/1.7.39/realms-1.7.39.jar:/home/tobias/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/tobias/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/tobias/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/tobias/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/tobias/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar:/home/tobias/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar:/home/tobias/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/tobias/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/tobias/.minecraft/libraries/tv/twitch/twitch/6.5/twitch-6.5.jar:/home/tobias/.minecraft/versions/1.8.8/1.8.8.jar net.minecraft.client.main.Main --username $USER --version 1.8.8 --gameDir /home/tobias/.minecraft --assetsDir /home/tobias/.minecraft/assets --assetIndex 1.8 --uuid 7c348b938802431aa9a5ff55ca5cc39d --accessToken 53305c3535cd40d3a20a98c2e36b7b39 --userProperties {} --userType mojang diff --git a/clean-old-jenkins-builds b/clean-old-jenkins-builds deleted file mode 100755 index c89fa0c..0000000 --- a/clean-old-jenkins-builds +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - - -if [ -z "$1" ]; then - exit 1; -fi - -BRAND_CODE=$1 - -JENKINS_HOME=`eval echo "~jenkins"` -JENKINS_JOBS_DIR=$JENKINS_HOME/jobs/$BRAND_CODE/builds -BUILDS_DIR=/var/www/html/$BRAND_CODE - -for build in $BUILDS_DIR/jenkins*; do - BUILD_NUM=$(echo $build | cut -d'-' -f3) - JENKINS_BUILD_DIR=$JENKINS_JOBS_DIR/$BUILD_NUM - ls $JENKINS_BUILD_DIR &> /dev/null - BUILD_EXTST=$? - if [ "$BUILD_EXTST" != 0 ]; then - DB_NAME=`basename $build` - rm -rf $build - mysql-dropuser-and-db -u $DB_NAME - fi -done diff --git a/ghib b/ghib deleted file mode 100755 index a54861f..0000000 --- a/ghib +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash - -source $(dirname $0)/colours -USAGE="ghib [issue number]" -STORAGE=$HOME/.tobybatch/ghib - -which ghi > /dev/null -if [ "$?" != 0 ]; then - echo "$0 depends on ghi, https://github.com/tobybatch/ghi" - echo "sudo gem install ghi" -fi - -if [ ! -z "$1" ]; then - mkdir -p $HOME/.tobybatch - echo $1 > $STORAGE - REPO=$1 -fi - -if [ -z "$REPO" ]; then - if [ -e "$STORAGE" ]; then - REPO=`cat $STORAGE` - else - echo $USAGE - exit 1; - fi -fi - -if [ ! -z "$2" ]; then - ISSUE_NUM=$2; -fi - -if [ -z "$ISSUE_NUM" ]; then - ISSUE_LIST="$(ghi list $1)" - echo "${ISSUE_LIST}" - echo - echo -e $COL_GREEN"Choose issue number"$COL_RESET - read ISSUE_NUM -fi - -TITLE="$(ghi show $ISSUE_NUM $1 | head -n1)" -echo -e $COL_YELLOW"Title: $TITLE"$COL_RESET -CLEAN=${TITLE,,} -CLEAN=${CLEAN//[^a-zA-Z0-9 ]/} -CLEAN=$(echo $CLEAN | sed 's/ /_/g') -echo -e $COL_YELLOW"Sanitized title: $CLEAN"$COL_RESET - -EXISTS=$(git show-ref refs/heads/$CLEAN) -if [ -n "$EXISTS" ]; then - echo 'Branch exists' - exit 0 -fi - -echo -e $COL_GREEN"Creating a branch named $CLEAN from develop (y/n)"$COL_RESET -read a -if [ "$a" == 'y' ] || [ "$a" == 'Y']; then - git checkout develop - git checkout -b $CLEAN -fi - diff --git a/ntdrchown b/ntdrchown deleted file mode 100755 index 796e8f2..0000000 --- a/ntdrchown +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -USAGE="sudo $0 [-a] [-u USER:GROUP] [-w USER:GROUP] PATH_TO_DRUPAL" - -function usage { - echo $USAGE - cat <