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 # 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 # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
Shell
g++ -o trn/trn.o -c -O3 trn/trn.c g++ -O3 -o weirdodd trn/trn.o weirdodd.cpp -lgmp -g -static
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiCommonLib.ncb rm -f WeiCommonLib.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
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 hg clone http:...
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
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/bin/sh -e # # Written by Philipp Meier <meier@meisterbohne.de> for Jetty # Modified for JMemcached by Ryan Daum <ryan@thimbleware.com> # ### BEGIN INIT INFO # Provides: jetty # Required-Start: $syslog $network # Required-Stop: $syslog $network # Should-Start: $local_fs # Should-Stop: $loca...
Shell
#!/bin/sh # # Post installation script # set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # <new-version> # ...
Shell
#!/bin/sh # # Pre removal scriptix # set -e # stop the server if [ -x "/etc/init.d/jmemcached" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d jmemcached stop || exit $? else /etc/init.d/jmemcached stop || exit $? fi fi exit 0
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # PLATFORM_LDFLAGS Linker flags # PLATFORM_SHARED_EXT Extension for shared libraries # PLATFORM_S...
Shell
#!/bin/sh python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore create_theme_preview.py
Shell
#!/bin/sh PYTHONPATH=../lib python "$@"
Shell
#!/bin/sh xgettext --package-name=pychess -o lang/pychess.pot glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade sed -i '/#, fuzzy/d' lang/pychess.pot line=""Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"" sed -i "/${line}/ s/^/# /" lang/pychess.pot
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore pgn2ecodb.py
Shell
#!/bin/sh PYTHONPATH=/home/tamas/gbtami-database/lib python -m cProfile -o rep.prof PgnImport.py python print_pstats.py
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # w...
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 # 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 # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libjpeg) 7.0 # Libtool was configured on host MacBook-Pro.local: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 200...
Shell
#!/bin/sh echo "echoing bad headers: server must report status 500" exec 1>&2 echo shit!!!
Shell
#!/bin/sh echo "Content-Type: text/plain" echo echo $QUERY_STRING
Shell
#!/bin/sh echo "Content-Type: text/plain" echo echo "This is shell script CGI."
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh SOURCE=.//unit_test_should_pass_27 TARGET=.//test_gen_files cd $SOURCE rm *.cpp rm *.hpp ..//..//debug//wpg.exe grammar.gra >>/dev/null 2>&1 rm ..//$TARGET//*.cpp rm ..//$TARGET//*.hpp cp * ..//$TARGET// cd ..
Shell
#!/bin/sh SHOULD_PASS_COUNT=45 SHOULD_FAIL_COUNT=4 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_should_pass_$i ... " cd unit_test_should_pass_$i ..//..//debug//wpg_d.exe -cmp_ans grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then...
Shell
#!/bin/sh SHOULD_PASS_COUNT=27 for (( i = 1 ; i <= $SHOULD_PASS_COUNT; i++ )) do echo -n "unit_test_regex_$i ... " cd unit_test_regex_$i ..//..//debug//wpg_d.exe grammar.gra >>/dev/null 2>&1 if [ $? = 0 ] then echo "Pass" elif [ $? = 1 ] then echo "Failed" elif [ $? = 2 ] then echo "Memory leaks" else echo "Unknown e...
Shell
#!/bin/sh rm -f WeiParserGenerator.ncb rm -f WeiParserGenerator.suo rm -rf `find . -name "Debug" -or -name "Release" -or -name "debug" -or -name "release"` rm -rf `find . -name "*.user"`
Shell
#!/bin/bash make clean # # The "big three" standard bootloaders. make atmega8 make atmega168 make atmega328 # # additional buildable platforms of # somewhat questionable support level make lilypad make lilypad_resonator make pro8 make pro16 make pro20 make atmega328_pro8 make sanguino make mega make atmega88 make lumi...
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.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash COMPILER="/Applications/Developer Tools/compiler.jar" SOURCE=./src/jquery.autocomplete.js TARGET=./src/jquery.autocomplete.min.js echo "Minifying ${SOURCE} to ${TARGET} ... " if `java -jar "${COMPILER}" "${SOURCE}" > "${TARGET}"` then echo "Minify succeeded." else echo "Minify failed." rm "${...
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/bash gnuplot $1.plot epspdf $1.eps
Shell
#!/bin/bash # # This script is similar to minion but will do a few additional things: # - PHP process is run in the background # - PHP process is monitored and restarted if it exits for any reason # - Added handlers for SUGHUP, SIGINT, and SIGTERM # # This is meant for long running minion tasks (like background workers...
Shell
#!/bin/bash # # This script is similar to minion but will do a few additional things: # - PHP process is run in the background # - PHP process is monitored and restarted if it exits for any reason # - Added handlers for SUGHUP, SIGINT, and SIGTERM # # This is meant for long running minion tasks (like background workers...
Shell
#!/bin/sh # This script is a record of the process of importing R language sources # from the C-R project. # # The goal is to avoid modifications to the R language sources so that # we can keep in sync with C-R's development. R_SRC_ROOT=/home/alex/dev/R-2-14-2 # Base package sources BASE=$R_SRC_ROOT/src/library/ba...
Shell
#!/bin/bash [ -n "$1" ] && cd $1 git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'` if [ $LOCALVER \> 1 ] ; then VER=`git rev-list origin/master | sort | join config.git-hash - | wc -l | awk '{print $1}'` VER_DIFF=$(($LOCALVER-$VER)) echo "#define X265_REV $VER" ...
Shell
#!/bin/sh touch src/p2t.pyx python setup.py build_ext -i
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 set +e set -o errexit if [ $# -ne 4 ] then echo "Syntax: $0 IPSW RAMDISK KEY IV" echo "python_scripts/kernel_patcher.py can generate a shell script with the correct parameters" exit fi IPSW=$1 RAMDISK=$2 KEY=$3 IV=$4 CUSTOMRAMDISK="myramdisk.dmg" IMG3FS="./img3fs/img3fs" IMG3MNT="/tmp/img3" ...
Shell
#/bin/sh python usbmuxd-python-client/tcprelay.py -t 22:2222 1999:1999
Shell
#!/bin/sh SSHOPTS="-p 2222 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null" UDID=`ssh $SSHOPTS root@localhost "./device_infos udid"` if [ "$UDID" == "" ]; then exit fi echo "Device UDID : $UDID" mkdir -p $UDID DATE=`date +"%Y%m%d-%H%M"` OUT=$UDID/data_$DATE.dmg echo "Dumping data partition in $OUT ....
Shell
#!/bin/sh if [ -a /dev/disk0s1s2 ]; then # test for iOS 5 data partition mount_hfs /dev/disk0s1s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s1s2 /mnt2 2>/dev/null elif [ -a /dev/disk0s2s1 ]; then # test for iOS 4 data partition mount_hfs /dev/disk0s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s2s1 /mnt2 2>/dev...
Shell
#!/bin/sh cat /dev/rdisk0s2s1 | netcat -l -p 1234
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
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 if [ -z "$WEIRDX_HOME" ] ; then WEIRDX_HOME=`pwd` fi cd $WEIRDX_HOME CLASSPATH="${WEIRDX_HOME}":"${WEIRDX_HOME}"/weirdx.jar CMD="java -classpath ${CLASSPATH} com.jcraft.weirdx.WeirdX" ${CMD}
Shell
#!/bin/sh if [ -z "$WEIRDX_HOME" ] ; then WEIRDX_HOME=`pwd` fi cd $WEIRDX_HOME CLASSPATH="${WEIRDX_HOME}":"${WEIRDX_HOME}"/weirdx.jar CMD="java -classpath ${CLASSPATH} com.jcraft.weirdx.WeirdX" ${CMD}
Shell
#!/bin/sh if [ -z "${JAVA_HOME}" ] ; then echo "JAVA_HOME environment variable not set." 1>&2 exit 1 fi #if [ -z "${SWING_HOME}" ] ; then # echo "SWING_HOME environment variable not set." 1>&2 # exit 1 #fi if [ -z "$WEIRDX_HOME" ] ; then WEIRDX_HOME=`pwd` fi cd $WEIRDX_HOME SWING_JARS=${SWING_HOME}/swi...
Shell
#!/bin/sh if [ -z "${JAVA_HOME}" ] ; then echo "JAVA_HOME environment variable not set." 1>&2 exit 1 fi #if [ -z "${SWING_HOME}" ] ; then # echo "SWING_HOME environment variable not set." 1>&2 # exit 1 #fi if [ -z "$WEIRDX_HOME" ] ; then WEIRDX_HOME=`pwd` fi cd $WEIRDX_HOME SWING_JARS=${SWING_HOME}/swi...
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/sh touch src/p2t.pyx python setup.py build_ext -i
Shell
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@" OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@" OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@" OPENVPN_PACKAGE_HOST="@host@"
Shell
#!@SHELL@ # # run OpenVPN client against ``test reference'' server # - check that ping, http, ... via tunnel works # - check that interface config / routes are properly cleaned after test end # # prerequisites: # - openvpn binary in current directory # - writable current directory to create subdir for logs # - t_client...
Shell
#! /bin/sh # # t_lpback.sh - script to test OpenVPN's crypto loopback # Copyright (C) 2005 Matthias Andree # # 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; either version 2 # of the License, o...
Shell
#! /bin/sh # # t_cltsrv.sh - script to test OpenVPN's crypto loopback # Copyright (C) 2005, 2006, 2008 Matthias Andree # # 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; either version 2 # of th...
Shell
#! /bin/sh echo "${role}:${signal}" >&3
Shell
#!/bin/sh # # Bring up vpn routing. # calculate the network address remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"` remote_network="${remote_network#*=}" # add the stuff that doesn't change if it's not already there grep -q '^202 ' /etc/iproute2/rt_tables if [ "$?" -ne 0 ] then echo 202 vpn.out >> /e...
Shell
#!/bin/sh # # Bring down vpn routing. # calculate the network address remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"` remote_network="${remote_network#*=}" # clear routing via VPN ip route del "$remote_network"/"$remote_netmask_bits" via "$5" table vpn.out ip route del table vpnonly.out via "$5" iptabl...
Shell
#!/bin/sh # Sample script to perform OCSP queries with OpenSSL # given a certificate serial number. # If you run your own CA, you can set up a very simple # OCSP server using the -port option to "openssl ocsp". # Full documentation and examples: # http://www.openssl.org/docs/apps/ocsp.html # Edit the following val...
Shell
#!/bin/sh # Copyright (c) 2005-2010 OpenVPN Technologies, Inc. # Licensed under the GPL version 2 # First version by Jesse Adelman # someone at boldandbusted dink com # http://www.boldandbusted.com/ # PURPOSE: This script automatically sets the proper /etc/resolv.conf entries # as pulled down from an OpenVPN server....
Shell
#!/bin/sh # Copyright (c) 2005-2010 OpenVPN Technologies, Inc. # Licensed under the GPL version 2 # First version by Jesse Adelman # someone at boldandbusted dink com # http://www.boldandbusted.com/ # PURPOSE: This script automatically removes the /etc/resolv.conf entries previously # set by the companion script "cl...
Shell