code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
# $Id: remove_message.sh 5152 2003-11-18 15:20:45Z nijel $
#
# Shell script that removes a message from all message files (Lem9)
# it checks for the message, followed by a space
#
# Example: remove_message.sh 'strMessageToRemove'
#
if [ $# -ne 1 ] ; then
echo "usage: remove_message.sh 'strMessageToRe... | Shell |
#!/bin/bash
# $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $
#
# Shell script that adds a message to all message files (Lem9)
#
# Example: add_message.sh '$strNewMessage' 'new message contents'
#
if [ $# -ne 2 ] ; then
echo "usage: add_message.sh '\$strNewMessage' 'new message contents'"
exit 1
fi
for... | Shell |
#!/bin/sh
# $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $
##
# Shell script to produce counts of just how out of date the translations are!
##
# Accepts optional parameters of a list of files to produce counts from
# Defaults to using all files
##
# Written by Robin Johnson <robbat2 at users.sourceforge.net>... | Shell |
#!/bin/sh
# $Id: check_lang.sh 10648 2007-09-15 23:31:45Z lem9 $
##
# Shell script to check that all language files are syncronized
# Catches duplicate/missing strings
#
# Robin Johnson <robbat2@users.sourceforge.net>
# August 9, 2002
##
MASTER="english-utf-8.inc.php"
TMPDIR="tmp-check"
FILEPAT="*.inc.php"
STRINGMATCH... | Shell |
#!/bin/sh
# $Id: sort_lang.sh 5206 2003-11-26 20:42:58Z nijel $
##
# Shell script to make each language file neat and tidy
#
# Robin Johnson <robbat2@users.sourceforge.net>
# August 9, 2002
##
specialsort()
{
in=$1
out=$2
STRINGORDER="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
for i in ... | Shell |
#!/bin/bash
# $Id: add_message_file.sh 7364 2005-09-24 08:49:52Z nijel $
#
# Shell script that adds a message file to all message files
# adding "//to translate" on each line
#
# Example: add_message_file.sh xxx
#
if [ $# -ne 1 ] ; then
echo "usage: add_message_file.sh filename"
exit 1
fi
for file in *.inc.p... | Shell |
#!/bin/bash
# $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $
#
# Shell script that adds a message to all message files (Lem9)
#
# Example: add_message.sh '$strNewMessage' 'new message contents'
#
if [ $# -ne 2 ] ; then
echo "usage: add_message.sh '\$strNewMessage' 'new message contents'"
exit 1
fi
for... | Shell |
#!/bin/sh
# $Id: check_lang.sh 10648 2007-09-15 23:31:45Z lem9 $
##
# Shell script to check that all language files are syncronized
# Catches duplicate/missing strings
#
# Robin Johnson <robbat2@users.sourceforge.net>
# August 9, 2002
##
MASTER="english-utf-8.inc.php"
TMPDIR="tmp-check"
FILEPAT="*.inc.php"
STRINGMATCH... | Shell |
#!/bin/sh
# $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $
##
# Shell script to produce counts of just how out of date the translations are!
##
# Accepts optional parameters of a list of files to produce counts from
# Defaults to using all files
##
# Written by Robin Johnson <robbat2 at users.sourceforge.net>... | Shell |
#!/bin/bash
# $Id: add_message_file.sh 7364 2005-09-24 08:49:52Z nijel $
#
# Shell script that adds a message file to all message files
# adding "//to translate" on each line
#
# Example: add_message_file.sh xxx
#
if [ $# -ne 1 ] ; then
echo "usage: add_message_file.sh filename"
exit 1
fi
for file in *.inc.p... | Shell |
#!/bin/bash
# $Id: remove_message.sh 5152 2003-11-18 15:20:45Z nijel $
#
# Shell script that removes a message from all message files (Lem9)
# it checks for the message, followed by a space
#
# Example: remove_message.sh 'strMessageToRemove'
#
if [ $# -ne 1 ] ; then
echo "usage: remove_message.sh 'strMessageToRe... | Shell |
#!/bin/sh
# $Id: sort_lang.sh 5206 2003-11-26 20:42:58Z nijel $
##
# Shell script to make each language file neat and tidy
#
# Robin Johnson <robbat2@users.sourceforge.net>
# August 9, 2002
##
specialsort()
{
in=$1
out=$2
STRINGORDER="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
for i in ... | 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/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC bootstrap.less > ../css/bootstrap.min.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g less';
exit 1;
fi
| Shell |
#!/bin/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC bootstrap.less > ../css/bootstrap.min.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g less';
exit 1;
fi
| Shell |
#!/bin/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC calendar.less > ../css/calendar.css
$LESSC event.less > ../css/event.css
$LESSC print.less > ../css/print.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g ... | Shell |
#!/bin/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC calendar.less > ../css/calendar.css
$LESSC event.less > ../css/event.css
$LESSC print.less > ../css/print.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g ... | Shell |
#!/bin/bash
if which -s uglifyjs; then
cat bootstrap-*.js general.js | uglifyjs -nc > general.min.js
uglifyjs -nc calendar.js > calendar.min.js
uglifyjs -nc event.js > event.min.js
else
echo 'Error: uglifyjs not found. Install Node.js then: npm install -g uglify-js';
exit 1;
fi
| Shell |
#!/bin/bash
if which -s uglifyjs; then
cat bootstrap-*.js general.js | uglifyjs -nc > general.min.js
uglifyjs -nc calendar.js > calendar.min.js
uglifyjs -nc event.js > event.min.js
else
echo 'Error: uglifyjs not found. Install Node.js then: npm install -g uglify-js';
exit 1;
fi
| Shell |
#!/bin/bash
PARENT="../../vortex/less"
LESSC="lessc --yui-compress --include-path=.:$PARENT"
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC $PARENT/calendar.less > ../css/calendar.css
$LESSC $PARENT/event.less > ../css/event.css
else
echo 'Error: lessc not found. Install Node.js then: npm... | Shell |
#!/bin/bash
PARENT="../../vortex/less"
LESSC="lessc --yui-compress --include-path=.:$PARENT"
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC $PARENT/calendar.less > ../css/calendar.css
$LESSC $PARENT/event.less > ../css/event.css
else
echo 'Error: lessc not found. Install Node.js then: npm... | Shell |
#!/bin/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC calendar.less > ../css/calendar.css
$LESSC event.less > ../css/event.css
$LESSC print.less > ../css/print.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g ... | Shell |
#!/bin/bash
LESSC="lessc --yui-compress --include-path=."
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC calendar.less > ../css/calendar.css
$LESSC event.less > ../css/event.css
$LESSC print.less > ../css/print.css
else
echo 'Error: lessc not found. Install Node.js then: npm install -g ... | Shell |
#!/bin/bash
if which -s uglifyjs; then
cat bootstrap-*.js general.js | uglifyjs -nc > general.min.js
uglifyjs -nc calendar.js > calendar.min.js
uglifyjs -nc event.js > event.min.js
else
echo 'Error: uglifyjs not found. Install Node.js then: npm install -g uglify-js';
exit 1;
fi
| Shell |
#!/bin/bash
if which -s uglifyjs; then
cat bootstrap-*.js general.js | uglifyjs -nc > general.min.js
uglifyjs -nc calendar.js > calendar.min.js
uglifyjs -nc event.js > event.min.js
else
echo 'Error: uglifyjs not found. Install Node.js then: npm install -g uglify-js';
exit 1;
fi
| Shell |
#!/bin/bash
PARENT="../../vortex/less"
LESSC="lessc --yui-compress --include-path=.:$PARENT"
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC $PARENT/calendar.less > ../css/calendar.css
$LESSC $PARENT/event.less > ../css/event.css
else
echo 'Error: lessc not found. Install Node.js then: npm... | Shell |
#!/bin/bash
PARENT="../../vortex/less"
LESSC="lessc --yui-compress --include-path=.:$PARENT"
if which -s lessc; then
$LESSC general.less > ../css/general.css
$LESSC $PARENT/calendar.less > ../css/calendar.css
$LESSC $PARENT/event.less > ../css/event.css
else
echo 'Error: lessc not found. Install Node.js then: npm... | 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-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-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
# 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-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-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
# 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-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
# 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
# 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
# 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
echo "/* This script-generated file contains the PostScript prologues" > output
echo " * in a form suitable to inclusion in a C source code */" >> output
echo "" >> output
for i in `ls -1 *.ps | LC_ALL=C sort`; do
echo $i > temp
name=`sed -e 's/\.ps/_ps/g' -e 's/-/_/g' temp`
rm temp
echo "sta... | Shell |
#! /bin/sh
echo "/* This script-generated file contains the PostScript prologues" > output
echo " * in a form suitable to inclusion in a C source code */" >> output
echo "" >> output
for i in `ls -1 *.ps | LC_ALL=C sort`; do
echo $i > temp
name=`sed -e 's/\.ps/_ps/g' -e 's/-/_/g' temp`
rm temp
echo "sta... | Shell |
#!/bin/sh
mv gnuplot_x11.c gnuplot_x11.c_x
mv corplot.c corplot.c_pc
mv winmain.c winmain.c_pc
mv wintext.c wintext.c_pc
mv winmenu.c winmenu.c_pc
mv bf_test.c bf_test.c_b
acc -knr -DSYSV -DUSG -DGAMMA=gamma -DHAVE_GETCWD -DX11 \
-DUNIXPLOT -I/usr/include/X11 -I/usr/include/X11/Xaw *.c \
-lbsd -lplot -lm -o gn... | Shell |
#!/bin/sh
mv gnuplot_x11.c gnuplot_x11.c_x
mv corplot.c corplot.c_pc
mv winmain.c winmain.c_pc
mv wintext.c wintext.c_pc
mv winmenu.c winmenu.c_pc
mv bf_test.c bf_test.c_b
acc -knr -DSYSV -DUSG -DGAMMA=gamma -DHAVE_GETCWD -DX11 \
-DUNIXPLOT -I/usr/include/X11 -I/usr/include/X11/Xaw *.c \
-lbsd -lplot -lm -o gn... | Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/bash
svn export http://google-url.googlecode.com/svn/trunk/ googleurl --force
cd googleurl/base/
patch ./basictypes.h < ../../basictypes.h.patch
patch ./logging.h < ../../logging.h.patch
patch ./string16.h < ../../string16.h.patch
patch ./string16.cc < ../../string16.cc.patch
| Shell |
#!/bin/sh
python2.7 -m unittest discover -v
| Shell |
#!/bin/bash
case "$1" in
"start")
python manage.py runfcgi method=prefork maxchildren=6 maxspare=4 minspare=2 maxrequests=500 host=127.0.0.1 port=8002 pidfile=/tmp/song.pid;
#../env/bin/python manage.py runfcgi method=threaded host=127.0.0.1 port=8000 pidfile=/tmp/server.pid;
#../env/bin/python manage.py celeryd -B &... | Shell |
#!/bin/bash
case "$1" in
"start")
python manage.py runfcgi method=prefork maxchildren=6 maxspare=4 minspare=2 maxrequests=500 host=127.0.0.1 port=8002 pidfile=/tmp/song.pid;
#../env/bin/python manage.py runfcgi method=threaded host=127.0.0.1 port=8000 pidfile=/tmp/server.pid;
#../env/bin/python manage.py celeryd -B &... | Shell |
#!/bin/sh
echo "----------------- building antlr c files from grammar ------------------------"
java -cp $CLASSPATH:./Tools/antlr-3.2.jar org.antlr.Tool -fo ./antlr/output ./antlr/wswd.g
if [ "$?" -ne "0" ]; then
echo "Sorry, there is a problem with antlr. Make sure that you have java installed"
exit 1
fi
echo "... | Shell |
#!/bin/sh
echo "----------------- building antlr c files from grammar ------------------------"
java -cp $CLASSPATH:./Tools/antlr-3.2.jar org.antlr.Tool -fo ./antlr/output ./antlr/wswd.g
if [ "$?" -ne "0" ]; then
echo "Sorry, there is a problem with antlr. Make sure that you have java installed"
exit 1
fi
echo "... | 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
# 打开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
python consume.py
cp events.csv events.unsorted.csv
sort -u events.unsorted.csv > events.csv
curl "http://geekeventfinder.appspot.com/clear?passcode=captainmayi"
~/dev/google_appengine/tools/bulkload_client.py \
--filename events.csv \
--kind Event \
... | Shell |
#!/bin/bash
python consume.py
cp events.csv events.unsorted.csv
sort -u events.unsorted.csv > events.csv
curl "http://geekeventfinder.appspot.com/clear?passcode=captainmayi"
~/dev/google_appengine/tools/bulkload_client.py \
--filename events.csv \
--kind Event \
... | Shell |
#!/bin/bash
INSTALL_DIR="`pwd`/jni/libraw"
SRC_DIR="`pwd`/../LibRaw-0.14.7"
cd $SRC_DIR
export TOOLCHAIN="$HOME/NVPACK/toolchain-14"
export NDK="$HOME/NVPACK/android-ndk-r8b"
export SYSROOT="$TOOLCHAIN/sysroot"
export PATH="$TOOLCHAIN/bin:$SYSROOT/usr/local/bin:$PATH"
export ARCH="armv7-a"
export SYS_ROOT="$NDK_ROOT... | Shell |
#!/bin/bash
INSTALL_DIR="`pwd`/jni/exiv2"
SRC_DIR="`pwd`/../exiv2-0.22"
cd $SRC_DIR
export TOOLCHAIN="$HOME/NVPACK/toolchain-14"
export NDK="$HOME/NVPACK/android-ndk-r8b"
export SYSROOT="$TOOLCHAIN/sysroot"
export PATH="$TOOLCHAIN/bin:$SYSROOT/usr/local/bin:$PATH"
export ARCH="armv7-a"
export SYS_ROOT="$NDK_ROOT/pla... | Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set localDir /home/alex/workspace_SwEnP/WgPlanerServlet/WebContent/
set remoteDir /home/PRJ/svn/swenp/wg-planer/project/www/tomcat/
set url uranus2.hs-weingarten.de
spawn rsync -avzO --delete --exclude '*.svn*' $localDir $user@$url:$remoteDir
expect ... | Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set url uranus2.hs-weingarten.de
spawn ssh -L 8081:pluto.hs-weingarten.de:80 $user@$url
expect "*?assword*"
send -- "$password\r"
interact
| Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set url uranus2.hs-weingarten.de
spawn ssh -L 8081:pluto.hs-weingarten.de:80 $user@$url
expect "*?assword*"
send -- "$password\r"
interact
| Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set localDir /home/alex/workspace_SwEnP/WgPlanerServlet/WebContent/
set remoteDir /home/PRJ/svn/swenp/wg-planer/project/www/tomcat/
set url uranus2.hs-weingarten.de
spawn rsync -avzO --delete --exclude '*.svn*' $localDir $user@$url:$remoteDir
expect ... | Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set localDir /home/alex/workspace_SwEnP/WgPlanerServlet/WebContent/
set remoteDir /home/PRJ/svn/swenp/wg-planer/project/www/tomcat/
set url uranus2.hs-weingarten.de
read "User: " $user
read "Password: " $password
spawn rsync -avzO --delete --exclude ... | Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set url uranus2.hs-weingarten.de
spawn ssh -L 3308:fbe-neptun.hs-weingarten.de:3308 $user@$url
expect "*?assword*"
send -- "$password\r"
interact
| Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set localDir /home/alex/workspace_SwEnP/WgPlanerServlet/WebContent/
set remoteDir /home/PRJ/svn/swenp/wg-planer/project/www/tomcat/
set url uranus2.hs-weingarten.de
read "User: " $user
read "Password: " $password
spawn rsync -avzO --delete --exclude ... | Shell |
#!/bin/sh
#!/usr/bin/env -f
set user MYUSER
set password MYPASSWORD
set url uranus2.hs-weingarten.de
spawn ssh -L 3308:fbe-neptun.hs-weingarten.de:3308 $user@$url
expect "*?assword*"
send -- "$password\r"
interact
| Shell |
#!/bin/sh -x
exec autoreconf
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2009 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | 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, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally ... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-12-25.00
# 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
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2005-05-14.22
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 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 u... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# List version-controlled file names.
# Print a version string.
scriptversion=2009-07-21.16; # UTC
# Copyright (C) 2006-2009 Free Software Foundation, Inc.
# 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 Fre... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# 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 the terms... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2009 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.