code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
# Sample 10g CRS resource status query script
#
# Description:
# - Returns formatted version of crs_stat -t, in tabular
# format, with the complete rsc names and filtering keywords
# - The argument, $RSC_KEY, is optional and if passed to the script, will
# limit the output to HA resources who... | Shell |
#!/bin/bash
#$Id: _base_script_block.wrap,v 1.1 2012-05-07 13:47:27 remik Exp $
#
# Load usefull functions
if [ ! -f $HOME/orascr/bash/bash_library.sh ]; then
echo "[error] $HOME/orascr/bash/bash_library.sh not found. Exiting. "
exit 1
else
. $HOME/orascr/bash/bash_library.sh
fi
INFO_MODE=DEBUG
#INFO_MODE=INFO
... | Shell |
#!/bin/bash
#$Id: _base_script_block.wrap,v 1.1 2012-05-07 13:47:27 remik Exp $
#
# Load usefull functions
if [ ! -f $HOME/orascr/bash/bash_library.sh ]; then
echo "[error] $HOME/orascr/bash/bash_library.sh not found. Exiting. "
exit 1
else
. $HOME/orascr/bash/bash_library.sh
fi
INFO_MODE=DEBUG
#INFO_MODE=INFO
... | Shell |
#!/bin/bash
#$Id: _base_script_block.sh,v 1.1 2012-05-07 13:47:27 remik Exp $
LOG_DIR=/var/tmp/linux_setup
mkdir -p $LOG_DIR
(. ./linux_setup.wrap 2>&1) | tee $LOG_DIR/linux_setup_log_$1.`date '+%Y-%m-%d--%H:%M:%S'`
| Shell |
#!/bin/bash
#$Id: _base_script_block.sh,v 1.1 2012-05-07 13:47:27 remik Exp $
LOG_DIR=/var/tmp/linux_setup
mkdir -p $LOG_DIR
(. ./linux_setup.wrap 2>&1) | tee $LOG_DIR/linux_setup_log_$1.`date '+%Y-%m-%d--%H:%M:%S'`
| Shell |
#!/bin/bash
#echo "Destination folder:"
#read dest
#echo $dest
dest_dir=~/patches
if [ -d "$dest_dir" ];
then
echo "destination exists"
else mkdir ~/patches
fi
if [ $# -eq 0 ]
then
echo "No arguments supplied"
fi
for var in "$@"
do
wget -P $dest_dir --http-user=jacek.rak@avantis.pl --http-passwd=du... | 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
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
qsub -pe ompi 8 -q default.q -l pdq parallel_job_default.sh | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
qsub -pe ompi 8 -q fast.q -l pfq parallel_job_fast.sh | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
mpiCC -o par.exe main.cpp | Shell |
qsub -pe ompi 8 -q short.q -l psq parallel_job_short.sh | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
g++ -Wall -pedantic -o seq.exe main.cpp | 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.2
# 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, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | 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
#
# 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
cd empty/
./generate.sh
cd ../file_header/
./generate.sh
cd ../single_delta_encoding/
./generate.sh
cd ../double_delta_encoding/
./generate.sh
cd ../with_data/
./generate.sh | Shell |
#!/bin/bash
osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
| Shell |
#!/bin/bash
osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
| Shell |
#!/bin/bash
osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
| Shell |
#!/bin/bash
osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
| Shell |
#!/bin/bash
osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
| Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | Shell |
#!/bin/sh
# ===========================================================================
# | |
# | COMMAND FILE FOR SUBMITTING SGE JOBS |
# | ... | 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
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
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
faad "$var" -w
| Shell |
#!/bin/bash
sox -t ogg "$1" -t raw -r 44100 -c 2 -w -s -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
faad "$var" -w 2>/tmp/faaderr | lame --preset insane -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
flac -d $var -c --endian=big --force-raw-format --sign=signed | Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
sox -t ogg "$var" -t raw -r 44100 -c 2 -w -s - 2>/tmp/oggerr | lame --preset insane -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
flac -d $var -c --endian=big --force-raw-format --sign=signed | Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
faad "$var" -w
| Shell |
#!/bin/bash
sox -t ogg "$1" -t raw -r 44100 -c 2 -w -s -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
flac -d $var -c --endian=big --force-raw-format --sign=signed | Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
ffmpeg -i "$var" -b 1048576 -f asf -vcodec wmv2 -acodec wmav2 -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
faad "$var" -w 2>/tmp/faaderr | lame --preset insane -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
flac -d $var -c --endian=big --force-raw-format --sign=signed | Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
sox -t ogg "$var" -t raw -r 44100 -c 2 -w -s - 2>/tmp/oggerr | lame --preset insane -
| Shell |
#!/bin/bash
PATH=/sw/bin:/:$PATH
# this is horrific but I can't seem to get it to work another way, any bash experts willing to help
# remove " from filename
var=${1%\"}
var=${var#\"}
ffmpeg -i "$var" -b 1048576 -f asf -vcodec wmv2 -acodec wmav2 -
| Shell |
#!/bin/bash
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java -cp x360mediaserve.jar:clink170.jar:cmgatejava120.jar:commons-logging.jar:entagged-audioformats-0.15.jar:javax.servlet.jar:org.mortbay.jetty.jar:xercesImpl.jar:xml-apis.jar Run
| Shell |
#!/bin/bash
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java -cp x360mediaserve.jar:clink170.jar:cmgatejava120.jar:commons-logging.jar:entagged-audioformats-0.15.jar:javax.servlet.jar:org.mortbay.jetty.jar:xercesImpl.jar:xml-apis.jar Run
| 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
# 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
# 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 |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# 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
# ... | 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
# Xbox 360 Partition Helper
# fakes some sda1, sda2... style partitions for your disk using dmsetup
# unlike the losetup version, the input file MUST BE a block device
# use losetup to create one if you are using an image file
usage()
{
cat << EOF
xpart: Xbox 360 Partition Helper
Usage: xpart /dev/sdx
EOF
ex... | Shell |
#!/bin/sh
# Xbox 360 Partition Helper
# fakes some sda1, sda2... style partitions for your disk using losetup
usage()
{
cat << EOF
xpart: Xbox 360 Partition Helper
Usage: xpart /dev/sdx
EOF
exit 2
}
[ $# -eq 1 ] || usage
file=$1
while [ -L $file ]
do
file=`readlink $file`
done
echo "xpart: Xbox 360 Partition Helpe... | Shell |
#!/bin/sh
# Xbox 360 Partition Helper
# fakes some sda1, sda2... style partitions for your disk using dmsetup
# unlike the losetup version, the input file MUST BE a block device
# use losetup to create one if you are using an image file
usage()
{
cat << EOF
xpart: Xbox 360 Partition Helper
Usage: xpart /dev/sdx
EOF
ex... | Shell |
#!/bin/sh
# Xbox 360 Partition Helper
# fakes some sda1, sda2... style partitions for your disk using losetup
usage()
{
cat << EOF
xpart: Xbox 360 Partition Helper
Usage: xpart /dev/sdx
EOF
exit 2
}
[ $# -eq 1 ] || usage
file=$1
while [ -L $file ]
do
file=`readlink $file`
done
echo "xpart: Xbox 360 Partition Helpe... | 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, 2010
# Free Software Foundation, Inc.
timestamp='2010-01-22'
# This file is (in principle) common to ALL GNU software.
# The pres... | 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, 2010
# Free Software Foundation, Inc.
timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it... | 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
prefix="@prefix@"
exec_prefix="@exec_prefix@"
exec_prefix_set=no
usage="\
Usage: libmpq-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
if test "$#" -eq "0"; then
echo "${usage}" 1>&2
exit 1
fi
while test "$#" -gt "0"; do
case "$1" in
-*=*) optarg=`echo "$1" ... | Shell |
#!/bin/sh
#
echo "Generating build information using aclocal, autoheader, automake and autoconf"
echo "This may take a while ..."
# Touch the timestamps on all the files since CVS messes them up
directory=`dirname $0`
touch $directory/configure.ac
# Regenerate configuration files
libtoolize --copy
aclocal
autoheader
... | Shell |
#!/bin/bash
# Massive Network Game Object Server
# Monitoring Script
pid=`ps ax | awk '($5 ~ /mangos-worldd/) { print $1 }'`
cpu=`top -b -n 1 -p $pid | awk '($12 ~ /mangos-worldd/) { print $9 }'`
#echo $pid
#echo $cpu
intcpu=${cpu%.*}
#echo $intcpu
if [ "$intcpu" -gt "95" ]
then
kill -9 $pid
echo "Killed MaNGOS for ... | Shell |
#!/bin/bash
# Trinity Server
# autorestart Script
while :
do
echo "TrinityCore daemon restarted"
echo `date` >> crash.log &
./mangosd | tail -n 20 >> crash.log
echo " " >> crash.log &
pid=`ps ax | awk '($5 ~ /trinitycore/) { print $1 }'`
wait $pid
echo `date` ", TrinityCore daemon crashed and restarted.... | Shell |
#! /bin/bash
OREGON_DIR='/opt/oregon/';
RETVAL=0;
start(){
screen -AmdS oregon_restarter ${OREGON_DIR}restarter
}
stop(){
screen -dr oregon_restarter -X "quit"
}
start-realm(){
screen -AmdS oregon_realm ${OREGON_DIR}bin/oregon-realm -c ${OREGON_DIR}etc/oregonrealm.conf
}
stop-realm(){
screen -dr oregon_realm -X... | Shell |
chmod +x oregon restarter
cp oregon /etc/init.d/
cp restarter /opt/oregon/
| Shell |
#! /bin/bash
while true
do
PID1=$(pidof oregon-core)
if (( PID1 < 1 ))
then
/etc/init.d/oregon start-core
fi
PID2=$(pidof oregon-realm)
if (( PID2 < 1 ))
then
/etc/init.d/oregon start-realm
fi
sleep 10
done
| 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/sh
#
# $Id: install-sh,v 1.1 2001/11/18 06:13:16 hubbe Exp $
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
... | Shell |
#! /bin/sh
#
# $Id: install-sh,v 1.1 2001/11/18 06:13:16 hubbe Exp $
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
... | Shell |
#!/bin/bash
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
cat <<EOF
Usage: ./configure [options]
available options:
--help print this message
--disable-cli disables cli
--system-libx264 use system libx264 instead of internal
--enable-shared build s... | Shell |
#!/bin/bash
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}'`
if [ $VER != $LOCALVER ] ; then
VER="$VER+$(($LOCALVER-$VER))"
fi... | 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-08-19'
# This file is (in principle) common to ALL GNU software.
# The p... | 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-09-18'
# This file is free software; you can redistribute it and/or modify ... | Shell |
#!/bin/bash
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}'`
if [ $VER != $LOCALVER ] ; then
VER="$VER+$(($LOCALVER-$VER))"
fi... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.