code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
/usr/bin/find /System/Library/Extensions/logKext.kext -exec /bin/chmod -R g-w {} \;
/sbin/kextunload -b com.fsb.kext.logKext
/sbin/kextload /System/Library/Extensions/logKext.kext
/Library/Application\ Support/logKext/logKextKeyGen
/bin/launchctl load /Library/LaunchDaemons/logKext.plist
/usr/bin/open /LogKe... | Shell |
#/bin/sh
#Info
export VER=`cat lng.h | grep LNG_VER | awk '{ print $3 }' | sed 's/"//g'`
export VER_FOR_NAME=`echo $VER | sed 's/\./_/g'`
export PLATFORM=$1
export APPNAME=$2
export PANEL=
if [ `echo $PLATFORM | grep EZX` ]
then
export PLATFORM=`echo $PLATFORM | sed 's/EZX-//g'`
fi
if [ "$PLATFORM" = "E8" ]
then
expo... | Shell |
#/bin/sh
#Info
export VER=`cat lng.h | grep LNG_VER | awk '{ print $3 }' | sed 's/"//g'`
export VER_FOR_NAME=`echo $VER | sed 's/\./_/g'`
export PLATFORM=$1
export APPNAME=$2
export PANEL=
if [ `echo $PLATFORM | grep EZX` ]
then
export PLATFORM=`echo $PLATFORM | sed 's/EZX-//g'`
fi
if [ "$PLATFORM" = "E8" ]
then
expo... | Shell |
#/bin/sh
#Info
export VER=`cat lng.h | grep LNG_VER | awk '{ print $3 }' | sed 's/"//g'`
export VER_FOR_NAME=`echo $VER | sed 's/\./_/g'`
export PLATFORM=$1
export APPNAME=$2
export PANEL=
if [ `echo $PLATFORM | grep EZX` ]
then
export PLATFORM=`echo $PLATFORM | sed 's/EZX-//g'`
fi
if [ "$PLATFORM" = "E8" ]
then
expo... | Shell |
#/bin/sh
export APPNAME=zTaskMan
for p in Z6 ZN5 U9 V8
do
if [ "$1" = "new" ]
then
make clean
make PLATFORM=EZX-$p
fi
./MakePEP.sh $p $APPNAME
done
for p in E8 ZN5 U9 EM35 EM30
do
if [ "$1" = "new" ]
then
make clean
make PLATFORM=EZX-$p
fi
./MakeMGX.sh $p $APPNAME
done
for p in Z6 V8
do
if [ "$1" = "new" ]
t... | Shell |
#! /bin/bash
sudo xboxdrv --silent --deadzone 4000
| Shell |
find . -name '*.*' | xargs wc -l
| Shell |
modprobe ftdi_sio vendor=0x0403 product=0xa6d0
| Shell |
# Updates
echo -e "Updating Modules\n"
opkg update
echo -e "Done\n\n"
# Deps
echo -e "Installing Dependencies\n"
opkg install python-dev python-modules python-setuptools openssl openssl-dev ncurses ncurses-dev
echo -e "Done\n\n"
# Tmp Setup
mkdir .init_tmp
cd .init_tmp
# Mercurial
echo -e "Setting Up Mercurial\n"
wg... | Shell |
echo 20 > /sys/kernel/debug/omap_mux/uart1_rxd
echo 0 > /sys/kernel/debug/omap_mux/uart1_txd
echo 1 > /sys/kernel/debug/omap_mux/spi0_d0
echo 21 > /sys/kernel/debug/omap_mux/spi0_sclk
| Shell |
#! /bin/bash
sudo xboxdrv --silent --deadzone 4000
| Shell |
# -*- sh -*-
k() { pkill -$1 wm; }
restart() { k HUP; }
next() { k RTMIN; }
prev() { k RTMIN+1; }
zoom() { k RTMIN+2; }
grow() { k RTMIN+3; }
shrink() { k RTMIN+4; }
kill() { k RTMIN+5; }
float() { k RTMIN+6; }
mode() { k RTMIN+7; }
view() { k RTMIN+$((8+${1:-0})); }
tag() { k RTMIN+$((18+$((${1:?'usage: wmc tag [1-9... | Shell |
# -*- sh -*-
k() { pkill -$1 wm; }
restart() { k HUP; }
next() { k RTMIN; }
prev() { k RTMIN+1; }
zoom() { k RTMIN+2; }
grow() { k RTMIN+3; }
shrink() { k RTMIN+4; }
kill() { k RTMIN+5; }
float() { k RTMIN+6; }
mode() { k RTMIN+7; }
view() { k RTMIN+$((8+${1:-0})); }
tag() { k RTMIN+$((18+$((${1:?'usage: wmc tag [1-9... | Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
SERIAL="${1:-/dev/ttyUSB0}"
fail() { echo "$@"; exit 1; }
[ -c $SERIAL ] || fail "$SERIAL doesn't look like a device file."
[ -r $SERIAL ] || fail "You don't have read access to $SERIAL."
echo "Using serial device $SERIAL for console access."
screen -d -m -S ${SERIAL##*/} -fn $SERIAL 115200
# There shoul... | Shell |
#!/bin/bash
SERIAL="${1:-/dev/ttyUSB0}"
fail() { echo "$@"; exit 1; }
[ -c $SERIAL ] || fail "$SERIAL doesn't look like a device file."
[ -r $SERIAL ] || fail "You don't have read access to $SERIAL."
echo "Using serial device $SERIAL for console access."
screen -d -m -S ${SERIAL##*/} -fn $SERIAL 115200
# There shoul... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | 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-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
# 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-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-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-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-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
# 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-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
# 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-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
# 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
# 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
# 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
echo
echo "JDOM Build System"
echo "-------------------"
echo
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
f... | Shell |
#!/bin/sh
#
# view argb8888
#
# Modified:
# Kyan He <kyan.ql.he@gmail.com> @ Tue Feb 15 01:45:54 CST 2011
#
# Initial version
# Kyan He <kyan.ql.he@gmail.com> @ Mon Sep 20 11:45:54 CST 2010
#
if ! which ffmpeg >/dev/null;
then
echo "no ffmpeg found"
elif [[ ! $# -eq 2 ]];
then
echo "Usage: `basename $0` <data... | Shell |
#!/bin/sh
#
# helper script for capture picture on device
#
# Kyan He <kyan.ql.he@gmail.com> @ Tue Feb 15 12:42:48 CST 2011
#
#
ADB_OPTIONS=
PNG="/data/local/fbdump.png"
if [ ! "$FB2PNG" = "" ];
then
adb $ADB_OPTIONS push $FB2PNG /data/local
adb $ADB_OPTIONS shell chmod 777 /data/local
adb $ADB_OPTIONS shell /data/l... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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 |
#!/bin/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| 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
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 org/jivesoftware/smack/debugger/LiteDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-10-14.15
# 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 hereby ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#!/bin/bash
# zone_update bash script Version 0.7
# Copyleft 2005 - Ernest0x (ernest0x at yahoo dot gr)
# Discription
# -----------
# If it is needed, this script updates a DNS zone file from another
# php-generated zone file.
# It is meant to be used by the WiND project (http://wind.cube.gr).
# Notes
# -----
# -... | Shell |
#!/bin/bash
# zone_update bash script Version 0.7
# Copyleft 2005 - Ernest0x (ernest0x at yahoo dot gr)
# Discription
# -----------
# If it is needed, this script updates a DNS zone file from another
# php-generated zone file.
# It is meant to be used by the WiND project (http://wind.cube.gr).
# Notes
# -----
# -... | Shell |
#! /bin/sh
#
# whoind init.d script
# Copyright (c) 2005, Faidon Liambotis <faidon@cube.gr>
#
# You are allowed to use, copy, modify, distribute this file
# without any restrictions whatsoever.
# It is provided WITHOUT ANY WARRANTY; use it at your own risk.
if [ -f /etc/default/whoind ] ; then
. /etc/default/whoind
f... | Shell |
#! /bin/sh
#
# whoind init.d script
# Copyright (c) 2005, Faidon Liambotis <faidon@cube.gr>
#
# You are allowed to use, copy, modify, distribute this file
# without any restrictions whatsoever.
# It is provided WITHOUT ANY WARRANTY; use it at your own risk.
if [ -f /etc/default/whoind ] ; then
. /etc/default/whoind
f... | Shell |
#!/bin/bash
# zone_update bash script Version 0.7
# Copyleft 2005 - Ernest0x (ernest0x at yahoo dot gr)
# Discription
# -----------
# If it is needed, this script updates a DNS zone file from another
# php-generated zone file.
# It is meant to be used by the WiND project (http://wind.cube.gr).
# Notes
# -----
# -... | Shell |
#!/bin/bash
# zone_update bash script Version 0.7
# Copyleft 2005 - Ernest0x (ernest0x at yahoo dot gr)
# Discription
# -----------
# If it is needed, this script updates a DNS zone file from another
# php-generated zone file.
# It is meant to be used by the WiND project (http://wind.cube.gr).
# Notes
# -----
# -... | Shell |
#! /bin/sh
#
# whoind init.d script
# Copyright (c) 2005, Faidon Liambotis <faidon@cube.gr>
#
# You are allowed to use, copy, modify, distribute this file
# without any restrictions whatsoever.
# It is provided WITHOUT ANY WARRANTY; use it at your own risk.
if [ -f /etc/default/whoind ] ; then
. /etc/default/whoind
f... | Shell |
#! /bin/sh
#
# whoind init.d script
# Copyright (c) 2005, Faidon Liambotis <faidon@cube.gr>
#
# You are allowed to use, copy, modify, distribute this file
# without any restrictions whatsoever.
# It is provided WITHOUT ANY WARRANTY; use it at your own risk.
if [ -f /etc/default/whoind ] ; then
. /etc/default/whoind
f... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
VERS="8.1.0"
DATE="2006-10-22"
# Leave the desired layout uncommented.
LAYOUT=layout1 # Tables based layout.
#LAYOUT=layout2 # CSS based simulated frames layout.
ASCIIDOC_HTML="python ../../asciidoc.py --backend=xhtml11 --conf-file=${LAYOUT}.conf --attribute icons --attribute iconsdir=./images/ico... | Shell |
#/bin/sh
OUTPUT=""
for i in {1..100}
do
OUTPUT="$OUTPUT\n"$(make clean run >&1)
done
UNIQUE_OUT=$(echo -e "$OUTPUT" | grep "gdtr.base" | sort | uniq)
echo "$UNIQUE_OUT"
CPU_NUM=$(cat /proc/cpuinfo | grep "^processor" | wc -l)
GDTR_NUM=$(echo "$UNIQUE_OUT" | wc -l)
echo $CPU_NUM $GDTR_NUM
if [[ $CPU_NUM -ge $GDTR_NU... | Shell |
#!/bin/sh
rm ./thumbs/*.png
for i in *.png
do
echo "processing $i"
convert -thumbnail 200 $i ./thumbs/$i
done
| Shell |
#!/bin/bash
#script que simplifica la lectura de las paginas de manual generadas por doxygen
man -M ./paginas_man $1
| Shell |
#!/bin/bash
#script que simplifica la lectura de las paginas de manual generadas por doxygen
man -M ./paginas_man $1
| Shell |
#!/bin/bash
LIST=listado
LIST_ASM=$LIST.asm
LIST_BIN=$LIST.bin
DIR_VARIABLE=../herramientas/dir_variable.sh
#Limpiamos el archivo
cat /dev/null > $LIST_ASM
# Lo que quiero es que el script me arme un listado de archivos assembler con nombre, segmento, offset y tamanio de cada archivo.
# Lo destacable es que el segmen... | Shell |
#!/bin/bash
LIST=listado
LIST_ASM=$LIST.asm
LIST_BIN=$LIST.bin
DIR_VARIABLE=../herramientas/dir_variable.sh
#Limpiamos el archivo
cat /dev/null > $LIST_ASM
# Lo que quiero es que el script me arme un listado de archivos assembler con nombre, segmento, offset y tamanio de cada archivo.
# Lo destacable es que el segmen... | Shell |
#!/bin/bash
# Este pequenio script comprueba el parametro recibido puede a su vez ser usado
# como parametro del compilador.
# De esta forma se logra desactivar selectivamente las protecciones adicionales
# propuestas por gcc, que probablemente harían que el SODIUM falle en tiempo
# de ejecución.
# La idea es colocar... | Shell |
#!/bin/sh
if test $# -ne 3
then
echo "Tool to extract symbol addresses from object files."
exit 1
fi
if test ! -f $1
then
echo "object file doesn't exist"
exit 1
fi
echo 0x`nm -f posix $1 | grep "$3 $2" | cut -d' ' -f3`
exit 1
| Shell |
#!/bin/sh
DIR_BASE="`pwd`"
DIR_USR=${DIR_BASE}/usr
##### Chequeando prerequisitos:
##### Comando "sed".
sed --version
#Si no se encontro salimos del script
if [ $? -ne 0 ]
then
echo "Error. No se encontro el comando sed"
return -1
fi
##### Comando "gawk".
whereis awk
#Si no se encontro salimos del ... | Shell |
#!/bin/sh
DIR_BASE="`pwd`"
DIR_USR=${DIR_BASE}/usr
##### Chequeando prerequisitos:
##### Comando "sed".
sed --version
#Si no se encontro salimos del script
if [ $? -ne 0 ]
then
echo "Error. No se encontro el comando sed"
return -1
fi
##### Comando "gawk".
whereis awk
#Si no se encontro salimos del ... | Shell |
#!/bin/bash
# Este pequenio script comprueba el parametro recibido puede a su vez ser usado
# como parametro del compilador.
# De esta forma se logra desactivar selectivamente las protecciones adicionales
# propuestas por gcc, que probablemente harían que el SODIUM falle en tiempo
# de ejecución.
# La idea es colocar... | Shell |
# El primer parametro de ensambla nucleo es el path correcto al sodium.asm y el segundo es el path a instalador.asm
SODIUM_ASM=$1
INSTALADOR_BIN=$2
DIR_VARIABLE="sh ../herramientas/dir_variable.sh"
#Constantes pasadas al nasm al compilar el sodium.asm
LOW_MEMORY_SIZE_ADDR=`$DIR_VARIABLE main.ld B uiTamanioMemoriaBaja... | Shell |
#!/bin/sh
if test $# -ne 3
then
echo "Tool to extract symbol addresses from object files."
exit 1
fi
if test ! -f $1
then
echo "object file doesn't exist"
exit 1
fi
echo 0x`nm -f posix $1 | grep "$3 $2" | cut -d' ' -f3`
exit 1
| 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-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-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-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
# 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
# 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
# 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-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
# 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
# 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
# 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-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-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
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/bash
D=$PWD
pushd ../..
./waf-light configure build --tools=$D/dbdlib.py --prelude=$'\tfrom waflib.extras import dbdlib\n\tdbdlib.start(cwd, VERSION, wafdir)\n\tsys.exit(0)'
popd
cp ../../waf dbd
| Shell |
# /bin/bash
D=$PWD
pushd ../..
./waf-light configure build --tools=$D/bbdlib.py --prelude=$'\tfrom waflib.extras import bbdlib\n\tbbdlib.start(cwd, VERSION, wafdir)\n\tsys.exit(0)'
popd
cp ../../waf bbd
| Shell |
# /bin/bash
D=$PWD
pushd ../..
./waf-light configure build --tools=$D/ebdlib.py --prelude=$'\tfrom waflib.extras import ebdlib\n\tebdlib.start(cwd, VERSION, wafdir)\n\tsys.exit(0)'
popd
cp ../../waf ebd
| Shell |
# /bin/bash
D=$PWD
pushd ../..
./waf-light configure build --tools=$D/cbdlib.py --prelude=$'\tfrom waflib.extras import cbdlib\n\tcbdlib.start(cwd, VERSION, wafdir)\n\tsys.exit(0)'
popd
cp ../../waf cbd
| Shell |
#! /bin/bash
# make a copy of a waf directory with the same name
#
# the tool 'relocation' (waflib/extras) adds some information
# so that a full rebuild is not performed when the dir changes
rm -rf tmp
mkdir tmp
pushd c
waf configure build
popd
cp -R c tmp/c
cd tmp/c
waf configure build
| 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.