code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
Shell
#!/bin/bash find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';' find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
Shell
#!/bin/bash rm -rf org/ietf/ rm -rf org/apache/harmony/auth rm -rf org/apache/harmony/javax/security/auth/kerberos/ rm -rf org/apache/harmony/javax/security/auth/x500/ rm org/apache/harmony/javax/security/auth/Policy.java
Shell
#!/bin/bash rm org/jivesoftware/smack/debugger/LiteDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
Shell
#!/bin/bash echo "## Step 00: initialize" ( if ! [ -d build ]; then mkdir build mkdir build/src mkdir build/src/trunk fi ) fetch() { ( cd src if ! [ -f "${2}/.svn/entries" ]; then mkdir "${2}" cd "${2}" svn co --non-interactive --trust-server-cert "${1}" "." else cd "${2}" sv...
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
#! /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
# 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 # 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 # 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
#! /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 # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-11-20' # This file is (in principle) common to ALL GNU software. # The presence o...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-11-20' # This file is free software; you can redistribute it and/or modify it # und...
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 if [ -x "`which autoreconf 2>/dev/null`" ] ; then exec autoreconf -ivf fi LIBTOOLIZE=libtoolize SYSNAME=`uname` if [ "x$SYSNAME" = "xDarwin" ] ; then LIBTOOLIZE=glibtoolize fi aclocal -I m4 && \ autoheader && \ $LIBTOOLIZE && \ autoconf && \ automake --add-missing --force-missing --copy
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 # 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
#!/bin/sh if [ -x "`which autoreconf 2>/dev/null`" ] ; then exec autoreconf -ivf fi LIBTOOLIZE=libtoolize SYSNAME=`uname` if [ "x$SYSNAME" = "xDarwin" ] ; then LIBTOOLIZE=glibtoolize fi aclocal -I m4 && \ autoheader && \ $LIBTOOLIZE && \ autoconf && \ automake --add-missing --force-missing --copy
Shell
#!/bin/sh # libevent rpcgen_wrapper.sh # Transforms event_rpcgen.py failure into success for make, only if # regress.gen.c and regress.gen.h already exist in $srcdir. This # is needed for "make distcheck" to pass the read-only $srcdir build, # as with read-only sources fresh from tarball, regress.gen.[ch] will # be co...
Shell
#!/bin/sh FAILED=no if test "x$TEST_OUTPUT_FILE" = "x" then TEST_OUTPUT_FILE=/dev/null fi # /bin/echo is a little more likely to support -n than sh's builtin echo, # printf is even more likely if test "`printf %s hello 2>&1`" = "hello" then ECHO_N="printf %s" else if test -x /bin/echo then ECHO_N="/bin/echo -n...
Shell
#!/bin/sh # libevent rpcgen_wrapper.sh # Transforms event_rpcgen.py failure into success for make, only if # regress.gen.c and regress.gen.h already exist in $srcdir. This # is needed for "make distcheck" to pass the read-only $srcdir build, # as with read-only sources fresh from tarball, regress.gen.[ch] will # be co...
Shell
#!/bin/sh FAILED=no if test "x$TEST_OUTPUT_FILE" = "x" then TEST_OUTPUT_FILE=/dev/null fi # /bin/echo is a little more likely to support -n than sh's builtin echo, # printf is even more likely if test "`printf %s hello 2>&1`" = "hello" then ECHO_N="printf %s" else if test -x /bin/echo then ECHO_N="/bin/echo -n...
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/bash ### BEGIN INIT INFO # Provides: memcached # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: memcached - Memory caching daemon # Description: ...
Shell
#! /bin/sh # # chkconfig: - 55 45 # description: The memcached daemon is a network memory cache service. # processname: memcached # config: /etc/sysconfig/memcached # Source function library. . /etc/rc.d/init.d/functions PORT=11211 USER=nobody MAXCONN=1024 CACHESIZE=64 OPTIONS="" if [ -f /etc/sysconfig/memcached ];...
Shell
#! /bin/sh # # chkconfig: - 55 45 # description: The memcached daemon is a network memory cache service. # processname: memcached # config: /etc/sysconfig/memcached # Source function library. . /etc/rc.d/init.d/functions PORT=11211 USER=nobody MAXCONN=1024 CACHESIZE=64 OPTIONS="" if [ -f /etc/sysconfig/memcached ];...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: memcached # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: memcached - Memory caching daemon # Description: ...
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 # 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
#! /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 # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-06-11' # This file is (in principle) common to ALL GNU software. # The presence o...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-06-10' # This file is free software; you can redistribute it and/or modify it # und...
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 # 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 # 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
function log() { local TIMESTR=`date '+%Y-%m-%d %T'` touch $1 echo "[$TIMESTR][$$] $2" >> $1 }
Shell
#!/bin/bash for f in *ppm ; do convert -quality 100 $f `basename $f ppm`jpg; done #ffmpeg -codec mjpeg -y -r 30 -b 1800 -i %03d.jpg test1800.mp4 #ffmpeg -y -r 30 -i %03d.jpg -vcodec mjpeg -qscale 1 -an output.avi rm output.avi ffmpeg -y -r 30 -i %04d.png -vcodec huffyuv output.avi rm *.jpg rm *.png totem output....
Shell
#!/bin/bash #emerge --sync #emerge -av gentoolkit emerge --newuse --deep --update world #emerge --deep --update world emerge --depclean revdep-rebuild echo "now clean temp files ..." rm -rf /var/tmp/portage/* rm -rf /var/tmp/ccache/* rm -rf /var/tmp/binpkgs/* rm -rf /var/tmp/genkernel/* rm -rf /usr/portage/distfiles/* ...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program 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;...
Shell
#!/bin/bash # Replace these three settings. PROJDIR="/home/youngking/code/hg/lfc-buildout-development" PIDFILE="$PROJDIR/mysite.pid" SOCKET="$PROJDIR/mysite.sock" cd $PROJDIR if [ -f $PIDFILE ]; then kill `cat -- $PIDFILE` rm -f -- $PIDFILE fi exec /usr/bin/env - \ PYTHONPATH="../python:.." \ ./bin/djang...
Shell
for each in VBox{SDL,Headless} VirtualBox; do fowners root:vboxusers /opt/VirtualBox/${each} fperms 4510 /opt/VirtualBox/${each} pax-mark -m "${D}"/opt/VirtualBox/${each} done
Shell
#!/bin/bash # # resetRootPass script # # Recover lost root password of mysql database. # # By Willem Bermon # echo echo "Mysql password recovery utility" echo # Stop the mysql server /etc/init.d/mysql stop /etc/init.d/mysql zap > /dev/null killall mysqld > /dev/null # Run mysqld in permissionless mode /sbin/start-s...
Shell
ps -ef | awk '{ print $1,$2,$7,$8 }' | awk '/[0-9][0-9]:[3-9][0-9]:[0-9][0-9]/ { print $1,$2,$3,$4 }' #| '/python/ { print "kill -9 " $2}'
Shell
#!/bin/bash #emerge --sync #emerge -av gentoolkit eix-sync emerge --newuse --deep --update world #emerge --deep --update world emerge --depclean revdep-rebuild echo "now clean temp files ..." echo "done"
Shell
#!/bin/bash # Replace these three settings. PROJDIR="/var/django/xmuplanet" PIDFILE="$PROJDIR/mysite.pid" SOCKET="$PROJDIR/mysite.sock" cd $PROJDIR if [ -f $PIDFILE ]; then kill `cat -- $PIDFILE` rm -f -- $PIDFILE fi exec /usr/bin/env - \ PYTHONPATH="../python:.." \ ./manage.py runfcgi method=thread sock...
Shell
#!/usr/bin/env bash if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi rvm_path="${rvm_path:-$HOME/.rvm}" mkdir -p $rvm_path/src/ builtin cd $rvm_path/src rm -rf ./rvm/ git clone --depth 1 git://github.com/wayneeseguin/rvm.git builtin cd rvm dos2un...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5.1 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program 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 Foundatio...
Shell
#!/bin/bash zip ../../../devel/share/codeblocks/wxsmith.zip manifest.xml *.xrc zip ../../../output/share/codeblocks/wxsmith.zip manifest.xml *.xrc mkdir -p ../../../devel/share/codeblocks/images/wxsmith > /dev/null 2> /dev/null mkdir -p ../../../output/share/codeblocks/images/wxsmith > /dev/null 2> /dev/null cp ./...
Shell
#!/bin/bash zip ../../../devel/share/codeblocks/wxsmith.zip manifest.xml *.xrc zip ../../../output/share/codeblocks/wxsmith.zip manifest.xml *.xrc mkdir -p ../../../devel/share/codeblocks/images/wxsmith > /dev/null 2> /dev/null mkdir -p ../../../output/share/codeblocks/images/wxsmith > /dev/null 2> /dev/null cp ./...
Shell
#!/bin/bash mkdir -p ../../../devel/share/codeblocks/images/codesnippets > /dev/null 2> /dev/null mkdir -p ../../../output/share/codeblocks/images/codesnippets > /dev/null 2> /dev/null cp ./resources/*.png ../../../devel/share/codeblocks/images/codesnippets/ > /dev/null 2> /dev/null cp ./resources/*.png ../../../output...
Shell
#!/bin/bash mkdir -p ../../../devel/share/codeblocks/images/codesnippets > /dev/null 2> /dev/null mkdir -p ../../../output/share/codeblocks/images/codesnippets > /dev/null 2> /dev/null cp ./resources/*.png ../../../devel/share/codeblocks/images/codesnippets/ > /dev/null 2> /dev/null cp ./resources/*.png ../../../output...
Shell
#!/bin/bash mkdir -p ../../../devel/share/codeblocks/lib_finder >/dev/null 2>/dev/null mkdir -p ../../../output/share/codeblocks/lib_finder > /dev/null 2>/dev/null cp ./lib_finder/*.xml ../../../devel/share/codeblocks/lib_finder >/dev/null 2>/dev/null cp ./lib_finder/*.xml ../../../output/share/codeblocks/lib_finde...
Shell
#!/bin/bash mkdir -p ../../../devel/share/codeblocks/lib_finder >/dev/null 2>/dev/null mkdir -p ../../../output/share/codeblocks/lib_finder > /dev/null 2>/dev/null cp ./lib_finder/*.xml ../../../devel/share/codeblocks/lib_finder >/dev/null 2>/dev/null cp ./lib_finder/*.xml ../../../output/share/codeblocks/lib_finde...
Shell
echo "creating core .pot files" find ../sdk ../src |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o codeblocks.pot find ../plugins |grep -v contrib |grep -P "(\.cpp|\.h)$" |xargs xgettext --keyword=_ -o coreplugins.pot echo "creating contrib .pot files" find ../plugins/contrib/codestat |grep -P "(\.cpp|\....
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/bash xcodebuild -configuration Release -target "Wax" -sdk iphoneos xcodebuild -configuration Release -target "Wax" -sdk iphonesimulator
Shell
#!/bin/bash xcodebuild -configuration Release -target "Wax" -sdk iphoneos xcodebuild -configuration Release -target "Wax" -sdk iphonesimulator
Shell
#!/bin/bash FRAMEWORK_NAME=wax FRAMEWORK_VERSION=A FRAMEWORK_CURRENT_VERSION=0.9 FRAMEWORK_COMPATIBILITY_VERSION=0.9 BUILD_TYPE=Release # This is the full name of the framework we'll build FRAMEWORK_DIR=$FRAMEWORK_NAME.framework # Clean any existing framework that might be there already echo "Framework: Cleaning fr...
Shell
#!/bin/bash FRAMEWORK_NAME=wax FRAMEWORK_VERSION=A FRAMEWORK_CURRENT_VERSION=0.9 FRAMEWORK_COMPATIBILITY_VERSION=0.9 BUILD_TYPE=Release # This is the full name of the framework we'll build FRAMEWORK_DIR=$FRAMEWORK_NAME.framework # Clean any existing framework that might be there already echo "Framework: Cleaning fr...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "...
Shell
#!/bin/zsh # Created by Corey Johnson WAX_SCRIPTS_DIR="scripts" SOURCE_SCRIPTS_DIR="$PROJECT_DIR/$WAX_SCRIPTS_DIR" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/$WAX_SCRIPTS_DIR" # Verify that the user isn't using an old version of Wax if [ -d "$PROJECT_DIR/data/scripts" ]; then echo "error: W...
Shell
#!/system/bin/sh DIR=/data/data/org.gaeproxy PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } redsocks { local_ip = 127.0.0.1; local_port = 8123; ip = 127.0.0.1; port = $2; type = http-relay; } redsocks { local_ip = 12...
Shell
#!/system/bin/sh DIR=/data/data/org.gaeproxy PYTHONPATH=${1}/python-extras PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload export PYTHONPATH export TEMP=${1}/python-extras export PYTHONHOME=${DIR}/python export LD_LIBRARY_PATH=${DIR}/python/lib case $2 in goagent) echo " [listen] ip = 127.0.0...
Shell
#!/system/bin/sh DIR=/data/data/org.gaeproxy PYTHONPATH=${1}/python-extras PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload export PYTHONPATH export TEMP=${1}/python-extras export PYTHONHOME=${DIR}/python export LD_LIBRARY_PATH=${DIR}/python/lib case $2 in goagent) echo " [listen] ip = 127.0.0...
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/sh APPNAME="read_watts.pl" # if the app name _IS_ found in process list, exit ps xc|fgrep "${APPNAME}" >/dev/null && exit 0 # if the app isn't found, open it echo ${APPNAME} "Not found, Loading it now" cd /var/www/energy/collector ./${APPNAME} 2>&1 | logger -t watts & exit 0
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash myCgate="/var/CommuniGate" myLogFile="/var/CommuniGate/spamassassin/spam-result.out" myDate=`date +%Y-%m-%d\ %H:%M:%S` echo "Date $myDate " $@ >> $myLogFile #Get the fileid of the message file QueuePath=$3 NewFile=`/bin/basename $QueuePath`'.tmp' FinalFile=$NewFile'.sub' SAUser=$1 echo $SAUser # Formu...
Shell
#!/bin/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"};...
Shell
#!/bin/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;' if 0; #!/usr/bin/perl use Cpanel::Form (); use Whostmgr::HTMLInterface (); use Whostmgr::ACLS (); use CLI; use Cpanel::...
Shell
#!/bin/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"};...
Shell
#!/bin/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"};...
Shell