code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # pastebin.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
Shell
#!/bin/bash # # multiupload.nl module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License,...
Shell
#!/bin/bash # # ziddu.com module # Copyright (c) 2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at ...
Shell
#!/bin/bash # # mirrorcreator.com module # Copyright (c) 2011-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licen...
Shell
#!/bin/bash # # uploading.com module # Copyright (c) 2010-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, ...
Shell
#!/bin/bash # # 4shared.com module # Copyright (c) 2010-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or...
Shell
#!/bin/bash # # uploadable.ch module # Copyright (c) 2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # ...
Shell
#!/bin/bash # # crocko.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
Shell
#!/bin/bash # # fileover.net module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
Shell
#!/bin/bash # # freakshare.com module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License,...
Shell
#!/bin/bash # # fshare.vn module # Copyright (c) 2013-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Shell
#!/bin/bash # # data.hu module # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
Shell
#!/bin/bash # # depositfiles.com module # Copyright (c) 2010-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licens...
Shell
#!/bin/bash # # cramit.in module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Shell
#!/bin/bash # # multiup.org module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (a...
Shell
#!/bin/bash # # exoshare.com module # Copyright (c) 2011-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
Shell
#!/bin/bash # # netload.in module # Copyright (c) 2010-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or ...
Shell
#!/bin/bash # # directmirror.com module # Copyright (c) 2011-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licens...
Shell
#!/bin/bash # # gfile.ru module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at y...
Shell
#!/bin/bash # # go4up.com module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Shell
#!/bin/bash # # zalaa.com module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Shell
#!/bin/bash # # bayfiles.net module # Copyright (c) 2012-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
Shell
#!/bin/bash # # nakido.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
Shell
#!/bin/bash # # solidfiles.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Shell
#!/bin/bash # # filefactory.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or ...
Shell
#!/bin/bash # # anonymousdelivers.us module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License...
Shell
#!/bin/bash # # bayimg.com module # Copyright (c) 2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at...
Shell
#!/usr/bin/env bash # # Retrieve metadata from a download link (sharing site url) # Copyright (c) 2013-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software ...
Shell
#!/usr/bin/env bash # # Retrieve list of links from a shared-folder (sharing site) url # Copyright (c) 2010-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Soft...
Shell
#!/usr/bin/env bash # # Common set of functions used by modules # Copyright (c) 2010-2014 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either...
Shell
#!/usr/bin/env bash # # Delete files from file sharing websites # Copyright (c) 2010-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either...
Shell
#!/bin/bash rm -rf dist && mkdir dist BASE=`basename build/*-*.*.*` pushd build/$BASE > /dev/null # package an xpi echo "+ Creating dist/$BASE.xpi" zip -9 ../../dist/$BASE.xpi install.* chrome.manifest chrome/ec2ui.jar README LICENSE cp README LICENSE ../../dist popd > /dev/null pushd dist > /dev/null #...
Shell
#!/bin/bash date set -e function get_dir_revision() { local pkg_release local last_rev # Generate a release number for the entire branch last_rev=$(hg log $1 -b default -l 1 | grep 'changeset') changeset=${last_rev#*:} pkg_release=${changeset%:*} if [ -z "$pkg_release" ] ; then pkg_r...
Shell
#!/bin/bash ./build.sh && ./package.sh
Shell
#!/bin/bash ./build.sh && ./package.sh
Shell
#!/bin/bash rm -rf dist && mkdir dist BASE=`basename build/*-*.*.*` pushd build/$BASE > /dev/null # package an xpi echo "+ Creating dist/$BASE.xpi" zip -9 ../../dist/$BASE.xpi install.* chrome.manifest chrome/ec2ui.jar README LICENSE cp README LICENSE ../../dist popd > /dev/null pushd dist > /dev/null #...
Shell
#!/bin/bash date set -e function get_dir_revision() { local pkg_release local last_rev # Generate a release number for the entire branch last_rev=$(hg log $1 -b default -l 1 | grep 'changeset') changeset=${last_rev#*:} pkg_release=${changeset%:*} if [ -z "$pkg_release" ] ; then pkg_r...
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash # install everything needed to run this application, start with deb files, should be run as root add-apt-repository ppa:libreoffice/ppa apt-get update apt-get install mysql-server libapache2-mod-wsgi python-xlwt libreoffice python-reportlab python-mysqldb python-ldap python-setuptools python-feedparser pyt...
Shell
#!/bin/bash # install everything needed to run this application, start with deb files, should be run as root apt-get install mysql-server python-uno python-xlwt python-reportlab python-mysqldb python-ldap python-pip python-feedparser python-xlrd python-mysqldb mysql-client python2.7-dev rabbitmq-server # Install this...
Shell
#!/bin/bash # jnm 20120625 if [ $# -ne 1 ] then echo "Usage: $0 school" 1>&2 exit 1 fi sugar="sugar_$1" sword="sword_$1" sed "s/!!!SUGAR DB!!!/$sugar/g" sword_sync.sql | sed "s/!!!SWORD DB!!!/$sword/g"
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash # # Copyright (c) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh DIR="$( cd "$( dirname "$0" )" && pwd )" javac -target 1.5 -source 1.5 $DIR/testlibs/*.java if [ -n "$JYTHON_HOME" ] then javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java else echo set JYTHON_HOME to compile listeners fi
Shell
#!/bin/bash base=`dirname $0` ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash #python src/robot/rebot.py $* &> /dev/null & python src/robot/run.py $* &> /dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jyt...
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/sh testdir=`dirname $0` rm -f $testdir/output.* export PYTHONPATH=$testdir/../../../src python -m robot.run -l none -r none -d $testdir $testdir/test.txt python $testdir/../times2csv.py $testdir/output.xml echo "------------------------------ results ------------------------------" cat $testdir/output.csv echo "...
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 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 $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 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 adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
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 adb shell pm clear com.google.android.apps.iosched
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/bash # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/bash # # Copyright (c) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # Copyright 2012 Roman Nurik # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
Shell
#!/bin/sh find . -iname \.DS_Store -exec rm {} \; rm -rf extension.zip cd extension/ zip -qr ../extension.zip . cd .. zipinfo -l extension.zip
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.website.project.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
cd /cygdrive/c/workspace/AndEnginePhysicsBox2DExtension/ /cygdrive/c/workspace/sdk/android-ndk-r6/ndk-build
Shell
#!/bin/sh javah -jni -o preview_handler_jni.h -classpath ../bin/ edu.dhbw.andar.CameraPreviewHandler javah -jni -o marker_info.h -classpath ../bin/ edu.dhbw.andar.ARToolkit
Shell
#!/bin/sh javah -jni -o preview_handler_jni.h -classpath ../bin/ edu.dhbw.andar.CameraPreviewHandler javah -jni -o marker_info.h -classpath ../bin/ edu.dhbw.andar.ARToolkit
Shell
#!/bin/sh javah -jni -o preview_handler_jni.h -classpath ../bin/ edu.dhbw.andar.CameraPreviewHandler javah -jni -o marker_info.h -classpath ../bin/ edu.dhbw.andar.ARToolkit
Shell
#!/bin/sh javah -jni -o preview_handler_jni.h -classpath ../bin/ edu.dhbw.andar.CameraPreviewHandler javah -jni -o marker_info.h -classpath ../bin/ edu.dhbw.andar.ARToolkit
Shell
#!/bin/sh -e ./test_bitstream ./test_estimatebit ./test_qrencode ./test_qrinput ./test_qrspec ./test_rs ./test_split ./test_mask ./test_mqrspec ./test_mmask ./test_monkey
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-10-06.20; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software # Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under t...
Shell
# libtool (GNU libtool) 2.4 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even f...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2007 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#!/bin/sh set -e if [ `uname -s` = Darwin ]; then LIBTOOLIZE=glibtoolize else LIBTOOLIZE=libtoolize fi if [ -d /usr/local/share/aclocal ]; then ACLOCAL_DIR=/usr/local/share/aclocal elif [ -d /opt/local/share/aclocal ]; then ACLOCAL_DIR=/opt/local/share/aclocal elif [ -d /usr/share/aclocal ]; then ...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/bash #set -x # search function echos position in array or nothing pos() { c=0 local hay needle=$1 shift for hay; do if [[ $hay == $needle ]]; then echo $c; return 0;fi ((c++)) done; return 1 } if [[ -z $1 || $(pos "-h" "$@") ]]; then cat <<EOF Usage: `basename $0` [CC] [cflags] [l...
Shell
#!/bin/bash #set -x # search function echos position in array or nothing pos() { c=0 local hay needle=$1 shift for hay; do if [[ $hay == $needle ]]; then echo $c; return 0;fi ((c++)) done; return 1 } if [[ -z $1 || $(pos "-h" "$@") ]]; then cat <<EOF Usage: `basename $0` [CC] [cflags] [l...
Shell
#!/bin/bash anchor <<"EOF"|php -a for $i = 3; $i--; echo "outer loop $i\n" for $x = 0;$x < 3; $x++ echo(" inner loop $x\n"); EOF
Shell
#!/bin/bash anchor <<"EOF"|php -a for $i = 3; $i--; echo "outer loop $i\n" for $x = 0;$x < 3; $x++ echo(" inner loop $x\n"); EOF
Shell
#!/bin/sh #http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html #http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools set -o verbose #echo onset +o verbose #echo off # Note: this must ...
Shell
#!/bin/sh #http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html set -o verbose #echo onset +o verbose #echo off # Note: this must run on a Mac myDir="`dirname "$0"`" cd $myDir APP_NAME="Android Design Preview" OUT_PATH=../out/mac OUT_ZIP="${AP...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared TexturePack-Output-Definitions: TEXTUREPACK_OUTPUT_DIRECTORY="../assets/gfx/texturepacks/" TEXTUREPACK_OUTPUT_JAVAIDS_PACKAGE="org.website.project.texturepacks" TEXTUREPACK_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared TexturePack-Output-Definitions: TEXTUREPACK_OUTPUT_DIRECTORY="../assets/gfx/texturepacks/" TEXTUREPACK_OUTPUT_JAVAIDS_PACKAGE="org.website.project.texturepacks" TEXTUREPACK_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/Applications/android/ndk/r8e/" SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd )" PROJECT_DIRECTORY=${SCRIPT_DIR}/../ # Run build: pushd ${PROJECT_DIRECTORY} > /dev/null ${NDK_DIRECTORY}ndk-build -j8 # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj find . -name gdb...
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/Applications/android/ndk/r8e/" SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd )" PROJECT_DIRECTORY=${SCRIPT_DIR}/../ # Run build: pushd ${PROJECT_DIRECTORY} > /dev/null ${NDK_DIRECTORY}ndk-build -j8 # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj find . -name gdb...
Shell
#!/bin/sh WOW_ROOT="/Applications/World of Warcraft" find "$WOW_ROOT/WTF" -name 'epgp.lua*' $*
Shell