code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/bash java -jar ../../../dist/amcg.jar --code-model model/PersonSaved.js --o output/PersonSavedEvent.java --template template/MvpEvent.vm --v java -jar ../../../dist/amcg.jar --code-model model/PersonSaved.js --o output/PersonSavedHandler.java --template template/MvpHandler.vm --v
Shell
#!/bin/bash mkdir -p build/ java -jar compiler.jar \ --compilation_level ADVANCED_OPTIMIZATIONS \ --generate_exports \ --output_wrapper="(function(){%output%})();" \ --warning_level VERBOSE \ --js ./closure/base.js \ --js ./closure/debug/error.js \ --js ./closure/string/string.js \ --js...
Shell
#!/bin/bash # Copyright (c) 2010 The ANGLE Project Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Generates GLSL ES parser - glslang_lex.cpp, glslang_tab.h, and glslang_tab.cpp run_flex() { input_file=$script_dir/$1.l output_source...
Shell
#!/bin/bash # Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Generates various components of GLSL ES preprocessor. run_flex() { input_file=$script_dir/$1 output_source=$script_dir/$2 flex --noli...
Shell
# copy to folder to reset and execute at base folder level, ex. tbaMud-3.63_compiled/ # this shell script removes all cygwin created code and re initializes the folder back to base extract rm config.cache rm config.log rm config.status rm src/conf.h rm src/Makefile rm src/util/depend rm src/util/Makefile rm src/depend ...
Shell
#!/bin/sh # # CircleMUD 3.0 autorun script # Contributions by Fred Merkel, Stuart Lamble, and Jeremy Elson # Copyright (c) 1996 The Trustees of The Johns Hopkins University # All Rights Reserved # See license.doc for more information # ############################################################################# # # Th...
Shell
#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distri...
Shell
#!/bin/sh # # CircleMUD 3.0 autorun script # Contributions by Fred Merkel, Stuart Lamble, and Jeremy Elson # Copyright (c) 1996 The Trustees of The Johns Hopkins University # All Rights Reserved # See license.doc for more information # ############################################################################# # # Th...
Shell
#!/bin/sh # # CircleMUD 3.0 autorun script # Contributions by Fred Merkel, Stuart Lamble, and Jeremy Elson # New log rotating code contributed by Peter Ajamian # Copyright (c) 1996 The Trustees of The Johns Hopkins University # All Rights Reserved # See license.doc for more information # ###############################...
Shell
#!/bin/sh cat << EOF TbaMUD is freeware (it doesn't cost anything), but it is copyrighted and has a license. You must read and agree to abide by the license before using tbaMUD. This message will only appear once (the first time you compile the server), but is contained in the file doc/license.txt if you'd like to ...
Shell
#!/bin/sh cat << EOF TbaMUD is freeware (it doesn't cost anything), but it is copyrighted and has a license. You must read and agree to abide by the license before using tbaMUD. This message will only appear once (the first time you compile the server), but is contained in the file doc/license.txt if you'd like to ...
Shell
#!/bin/sh # # CircleMUD 3.0 autorun script # Contributions by Fred Merkel, Stuart Lamble, and Jeremy Elson # New log rotating code contributed by Peter Ajamian # Copyright (c) 1996 The Trustees of The Johns Hopkins University # All Rights Reserved # See license.doc for more information # ###############################...
Shell
cp -r /home/sed/ambiendreams/tbamud-3.63_fallout/lib/world world
Shell
#!/bin/bash # Adjust these to reflect the location of NUnit in your system, # and how you want NUnit to run NUNIT=~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe NUNIT_OPTIONS=-noshadow # The rest should be okay. SRC=../src LIB=../lib KEYFILE=../keys/Google.ProtocolBuffers.snk rm -rf bin mkdir bin # Runn...
Shell
#!/bin/bash echo Compiling protobufs rm -rf tmp mkdir tmp PROTOS_DIR=../protos ./protoc --proto_path=$PROTOS_DIR --descriptor_set_out=tmp/compiled.pb \ $PROTOS_DIR/google/protobuf/descriptor.proto \ $PROTOS_DIR/google/protobuf/csharp_options.proto \ $PROTOS_DIR/google/protobuf/unittest.proto \ $PROTOS_DIR/goo...
Shell
#!/bin/sh ORIG=`pwd` V8DIR=`dirname $0` if [ -z $1 ]; then echo "usage: $0 tagname" exit fi TAG=$1 cd $V8DIR git checkout $TAG if [ $? -ne 0 ]; then echo "failed to checkout: $TAG" exit fi V8VER=`v8 -e 'print(JSON.parse(read("META.json")).version)'` git archive --output $ORIG/plv8-$V8VER.zip \ ...
Shell
#!/bin/sh exec sed -e 's/$//' "$@"
Shell
#!/bin/sh exec sed -e 's/\x0D$//' "$@"
Shell
#!/bin/sh exec sed -e 's/$//' "$@"
Shell
#!/bin/sh exec sed -e 's/\x0D$//' "$@"
Shell
#!/bin/sh # Copyright 1999-2011 Gentoo Foundation # Written by Roy Marples <uberlord@gentoo.org> # Distributed under the terms of the GNU General Public License v2 # Alternatively, this file may be distributed under the terms of the BSD License # $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_cl...
Shell
#!/bin/sh # Copyright 1999-2011 Gentoo Foundation # Written by Roy Marples <uberlord@gentoo.org> # Distributed under the terms of the GNU General Public License v2 # Alternatively, this file may be distributed under the terms of the BSD License # $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_cl...
Shell
#!/bin/sh CROSSDEV_PROGRAM=<<PROGRAM>> CROSSDEV_SYSROOT=<<SYSROOT>> exec "${CROSSDEV_PROGRAM}" --sysroot "${CROSSDEV_SYSROOT}" "$@"
Shell
#!/bin/sh if [ -z "$SYSROOT" ]; then echo "ERROR: You have to set SYSROOT to use cross-emerge-ng!" exit 1 fi # Get host triplet from build platform in / export CBUILD=$(portageq envvar CHOST) # Switch to host platform in SYSROOT export ROOT="${SYSROOT}" export PORTAGE_CONFIGROOT="${SYSROOT}" # Get host triplet fr...
Shell
#!/bin/sh CROSSDEV_PROGRAM=<<PROGRAM>> CROSSDEV_SYSROOT=<<SYSROOT>> exec "${CROSSDEV_PROGRAM}" --sysroot "${CROSSDEV_SYSROOT}" "$@"
Shell
#!/bin/sh if [ -z "$SYSROOT" ]; then echo "ERROR: You have to set SYSROOT to use cross-emerge-ng!" exit 1 fi # Get host triplet from build platform in / export CBUILD=$(portageq envvar CHOST) # Switch to host platform in SYSROOT export ROOT="${SYSROOT}" export PORTAGE_CONFIGROOT="${SYSROOT}" # Get host triplet fr...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/sh # taken from http://stackoverflow.com/questions/2803823/how-can-i-delete-all-unversioned-ignored-files-folders-in-my-working-copy # make sure this script exits with a non-zero return value if the # current directory is not in a svn working directory svn info >/dev/null || exit 1 svn status --no-ignore | gre...
Shell
#!/bin/sh # taken from http://stackoverflow.com/questions/2803823/how-can-i-delete-all-unversioned-ignored-files-folders-in-my-working-copy # make sure this script exits with a non-zero return value if the # current directory is not in a svn working directory svn info >/dev/null || exit 1 svn status --no-ignore | gre...
Shell
#! /bin/sh : 'This file is in the public domain, so clarified as of' : '2006-07-17 by Arthur David Olson.' case $#-$1 in 2-|2-0*|2-*[!0-9]*) echo "$0: wild year - $1" >&2 exit 1 ;; esac case $#-$2 in 2-even) case $1 in *[24680]) exit 0 ;; *) exit 1 ;; esac ;; 2-nonpres|2-nonuspres) case $1 in...
Shell
#! /bin/sh : 'This file is in the public domain, so clarified as of' : '2006-07-17 by Arthur David Olson.' case $#-$1 in 2-|2-0*|2-*[!0-9]*) echo "$0: wild year - $1" >&2 exit 1 ;; esac case $#-$2 in 2-even) case $1 in *[24680]) exit 0 ;; *) exit 1 ;; esac ;; 2-nonpres|2-nonuspres) case $1 in...
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/list-games'
Shell
#!/bin/bash # set -ue set -x curl -H "Content-Type: application/json" "http://localhost:12345/ping"
Shell
#!/bin/bash # set -ue backend="" # match dev_appserver oauth2 default user_id userID="0" while [ $# -ge 1 ] do arg="$1" shift if [ "$arg" == "-b" ] then backend=1 else userID="$arg" fi done if [ "$backend" ] then # matcher backend set -x curl --data-binary "{}" -H "Content-Type: applicatio...
Shell
#!/bin/bash # set -uex dev_appserver.py \ --host 0.0.0.0 \ --skip_sdk_update_check yes \ . $*
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/debug'
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/start-game'
Shell
#!/bin/bash # set -ue set -x curl -H "Content-Type: application/json" "http://localhost:12345/log"
Shell
#!/bin/bash # set -ue # make sure stuff is installed [ ! -d 'node_modules' ] && npm install socket.io express set -x # run the game node games-server/main.js $*
Shell
#!/bin/bash # set -ue pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' ) set -x data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }' curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234...
Shell
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore - new URL git...
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell