code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# Used to update http://openlayers.org/dev/
svn up /www/openlayers/docs/dev;
# Get current 'Last Changed Rev'
REV=`svn info /www/openlayers/docs/dev/ | grep 'Last Changed Rev' | awk '{print $4}'`
# Get the last svn rev
touch /tmp/ol_svn_rev
OLD_REV="o`cat /tmp/ol_svn_rev`"
# If they're not equal, do so... | Shell |
#!/bin/sh
VERSION=$1
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
./build.py full
cp OpenLayers.js ..
cd ..
mkdir doc/devdocs
mkdir doc/apidocs
rm tools/*.pyc
mkdir /www/openlayers/htdocs/api/$VERSION
cp OpenLayers.js /www/openlayers/htdocs/... | Shell |
#!/bin/sh
# Used to update http://openlayers.org/dev/
svn up /www/openlayers/docs/dev;
# Get current 'Last Changed Rev'
REV=`svn info /www/openlayers/docs/dev/ | grep 'Last Changed Rev' | awk '{print $4}'`
# Get the last svn rev
touch /tmp/ol_svn_rev
OLD_REV="o`cat /tmp/ol_svn_rev`"
# If they're not equal, do so... | Shell |
#!/bin/sh
VERSION=$1
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
./build.py full
cp OpenLayers.js ..
cd ..
mkdir doc/devdocs
mkdir doc/apidocs
rm tools/*.pyc
mkdir /www/openlayers/htdocs/api/$VERSION
cp OpenLayers.js /www/openlayers/htdocs/... | Shell |
#!/bin/sh
sudo launchctl stop com.fsb.logKext
sudo launchctl unload /Library/LaunchDaemons/logKext.plist
sudo /Library/Application\ Support/logKext/logKextKeyGen remove
sudo rm -f /Library/LaunchDaemons/logKext.plist
sudo rm -rf /System/Library/Extensions/logKext.kext
sudo rm -rf /Library/Application\ Support/logKext
... | Shell |
#!/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 |
current=""
if [ $1 == "current" ]; then
current="current"
shift
fi
dest_dir=$1
log_dir=$1/logs
src=$2
file=`basename $src`
res=$dest_dir/$file.hadoop
7za e -so $src 2>$log_dir/$file.7z.log | python2.6 ./scripts/encode.py $current $res 2>$log_dir/$file.encode.log
| Shell |
bucket=s3://macalester # s3 bucket
health=$bucket/health # everything for maxima goes under here
input=$bucket/wikipedia/en-2012-05-02/ # the processed full text input file
output=$health/out/example/ # output directory. CAREFUL - WILL BE OV... | Shell |
bucket=s3://macalester # s3 bucket
health=$bucket/health # everything for maxima goes under here
input=$bucket/wikipedia/en-2012-05-02/ # the processed full text input file
output=$health/out/editornamespacetimes/ # output directory. CAREFUL - WILL BE O... | Shell |
bucket=s3://macalester # s3 bucket
health=$bucket/health # everything for maxima goes under here
input=$bucket/wikipedia/en-2012-05-02/ # the processed full text input file
output=$health/out/nsf/ # output directory. CAREFUL - WILL BE O... | Shell |
bucket=s3://macalester # s3 bucket
health=$bucket/health # everything for maxima goes under here
input=$bucket/wikipedia/en-2011-11-15/ # the processed full text input file
output=$health/out/editortimes/ # output directory. CAREFUL - WILL BE O... | Shell |
bucket=s3://macalester # s3 bucket
health=$bucket/health # everything for maxima goes under here
input=$bucket/wikipedia/en-2012-05-02/ # the processed full text input file
output=$health/out/getbytes/ # output directory. CAREFUL - WILL BE O... | Shell |
dir=../dat/arab_spring
export PYTHONPATH=.:~/Downloads/pywikipedia/
while read page; do
title=`echo $page | grep -v '^#' | sed 's/.*\///'`
if [ -z "$title" ]; then
continue
fi
echo "downloading page $title"
python2.6 ./encode_api.py "$dir/$title.txt" $title
done < $dir/pages.txt
| Shell |
bucket=s3://macalester # s3 bucket
input=$bucket/wikipedia/en-2012-05-02-sorted/ # the processed full text input file
pwrs=$bucket/wikipedia/pwrs # pwr directory
output=$pwrs/out/ # output directory. CAREFUL - WILL BE OVERWRITTEN!
logs=$pwrs/l... | Shell |
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "usage: $0 s3://dest/dir file1 file2 ...."
fi
dest=$1
shift
echo "dest is $dest"
echo $@ | tr ' ' '\n' | parallel -P 5 --group s3cmd put {} $dest
| Shell |
#!/bin/bash
src_files="
src/wikiParser/categories/CategoryComparer.java
src/wikiParser/categories/CategoryRecord.java
src/wikiParser/categories/LocalCategoryComparer.java
"
javac -cp lib/trove-3.0.2.jar $src_files &&
java -server -Xmx3000M -cp lib/trove-3.0.2.jar:src wikiParser.categories.LocalCategoryComparer dat/al... | Shell |
# This script processes a dump file by file.
# The parallel command can be downloaded at http://www.gnu.org/software/parallel/
#
if [ $1 == "current" ]; then
current="current"
shift
fi
dest=$1
shift
mkdir -p $dest/logs
echo $@ | \
tr ' ' '\n' | \
parallel --progress ./scripts/encode_one.sh $current $dest {}... | Shell |
set -x
bucket=s3://macalester # s3 bucket
cites=$bucket/cites # everything for cites goes under here
input=$bucket/wikipedia/ar-2012-05-03/ # the processed full text input file
output=$bucket/wikipedia/ar-2012-05-03-sorted/ # output directory. CAREFUL - W... | Shell |
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "usage: $0 s3://dest/dir file1 file2 ...."
fi
dest=$1
shift
echo "dest is $dest"
echo $@ | tr ' ' '\n' | parallel -P 5 --group s3cmd put {} $dest
| Shell |
#!/bin/bash
src_files="
src/wikiParser/categories/CategoryComparer.java
src/wikiParser/categories/CategoryRecord.java
src/wikiParser/categories/LocalCategoryComparer.java
"
javac -cp lib/trove-3.0.2.jar $src_files &&
java -server -Xmx3000M -cp lib/trove-3.0.2.jar:src wikiParser.categories.LocalCategoryComparer dat/al... | Shell |
set -x
bucket=s3://macalester # s3 bucket
cites=$bucket/cites # everything for cites goes under here
input=$bucket/wikipedia/en-2012-05-02/ # the processed full text input file
output=$bucket/wikipedia/en-2012-05-02-sorted/ # output directory. CAREFUL - W... | Shell |
set -x
bucket=s3://macalester # s3 bucket
cites=$bucket/cites # everything for cites goes under here
input=$bucket/wikipedia/en-2012-05-02-sorted/ # the processed full text input file
output=$cites/out/final/ # output directory. CAREF... | Shell |
jar_dest=jobjars/$RANDOM/wikipediamapreduce.jar
echo "placing jar in $jar_dest"
s3cmd put ./dist/wikipedia-map-reduce.jar s3://macademia/$jar_dest || exit 1
elastic-mapreduce --create --name 'Step5FinalDocSim' \
--instance-group master --instance-type cc2.8xlarge \
--instance-count 1 \
--instance-group co... | Shell |
jar_dest=jobjars/$RANDOM/wikipediamapreduce.jar
echo "placing jar in $jar_dest"
s3cmd put ./dist/wikipedia-map-reduce.jar s3://macademia/$jar_dest || exit 1
elastic-mapreduce --create --name 'CategoryComparer' \
--instance-group master --instance-type cc2.8xlarge \
--instance-count 1 \
--instance-group co... | Shell |
jar_dest=jobjars/$RANDOM/wikipediamapreduce.jar
echo "placing jar in $jar_dest"
s3cmd put ./dist/wikipedia-map-reduce.jar s3://macademia/$jar_dest || exit 1
elastic-mapreduce --create --name 'Step6DocSimFormatter' \
--instance-group master --instance-type cc2.8xlarge \
--instance-count 1 \
--instance-grou... | Shell |
jar_dest=jobjars/$RANDOM/wikipediamapreduce.jar
echo "placing jar in $jar_dest"
s3cmd put ./dist/wikipedia-map-reduce.jar s3://macademia/$jar_dest || exit 1
elastic-mapreduce --create --name 'Step4DocSimScorer' \
--instance-group master --instance-type cc2.8xlarge \
--instance-count 1 \
--instance-group c... | Shell |
filedest=$1
shift
rm $filedest/wikipedia.txt.*
rm $filedest/encode.log
(for i in $@; do
7za e -so $i
done ) | python ./split.py 100 $filedest/wikipedia.txt. 8000 >&$filedest/encode.log
#python ./split.py 100 $1/wikipedia.txt. 8000 >&$1/encode.log
#7za e -so $1 | python ./split.py 100 $2/wikipedia.txt. 8000 >&$2/enc... | 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//bash
python pwb.py monumente/parse_monument_article.py &> /dev/null &
python pwb.py monumente/parse_monument_article.py -lang:commons -family:commons
python pwb.py monumente/update_database.py
python pwb.py monumente/corroborate_monument_data.py
| Shell |
#!/bin//bash
python pwb.py monumente/parse_monument_article.py &> /dev/null &
python pwb.py monumente/parse_monument_article.py -lang:commons -family:commons
python pwb.py monumente/update_database.py
python pwb.py monumente/corroborate_monument_data.py
| Shell |
#!/bin/bash
# download the data dumps containing coordinates from Wikipedia articles
# from http://toolserver.org/~dispenser/dumps/ extract them, extract the
# coordinates and article names from the sql, then save them in a csv file
wget -r -nd -l 1 http://toolserver.org/~dispenser/dumps/
for FILE in `find . -type f ... | Shell |
#!/bin/bash
# download the data dumps containing coordinates from Wikipedia articles
# from http://toolserver.org/~dispenser/dumps/ extract them, extract the
# coordinates and article names from the sql, then save them in a csv file
wget -r -nd -l 1 http://toolserver.org/~dispenser/dumps/
for FILE in `find . -type f ... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
$scriptResources/downloadF... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
SSLVERSION=0.9.8h-1
PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
$scriptResources... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1
BUILD=/tmp/build_hunspell
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://download... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads/pthread
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
INCLUDE=$PREFIX/include
BIN=$PREFIX/bin
LIB=$PREFIX/lib
mkdir -p $downloa... | Shell |
#!/bin/sh
./install_FreeType.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
AGG_VERSION=2.4
else
AGG_VERSION=$1
fi
PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION
BUILD=/tm... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://cocotron.googlec... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.opengl.org/r... | Shell |
#!/bin/sh
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sour... | Shell |
#!/bin/sh
echo "Installing zlib"
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/
# We need the headers/libraries, zlib.net only provides a dll or source which is more wor... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge, ... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
echo "Installing libxml2"
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/... | Shell |
#!/bin/bash
# the name of the server on which we test
export TESTING_SERVER=192.168.2.102
# the directory under which our build directory is available on the _server_
export TESTING_DIR=/Tests
# specifies if files should be linked or copied to the test harness folder
export TESTING_LINK_FILES=YES
| Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/sh
#
# Split resource forks from resource files, so that we can check both
# forks into svn
function splitfile {
cat "$1/rsrc" > ".resource-forks/$1"
}
splitfile OpenTransportSupport
splitfile pmcl-kernel
splitfile PPCCL
splitfile pmcl/siow_resources
#splitfile RMCL
splitfile examples/contextual-menu-cursor.... | Shell |
#!/bin/sh
# This doesn't try to fix type/creator info for random MCL text files
# that aren't needed to build MCL.
find . -name '*isp' -exec /Developer/Tools/SetFile -t TEXT -c CCL2 {} \;
/Developer/Tools/SetFile -t TEXT -c 'MPS ' pmcl/*.[chsr]
/Developer/Tools/SetFile -t HELP -c CCL2 'MCL Help'
# Copy the resource ... | 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
# The location of your yuidoc install
yuidoc_home=/opt/yuidoc
# The location of the files to parse. Parses subdirectories, but will fail if
# there are duplicate file names in these directories. You can specify multiple
# source trees:
# parser_in="%HOME/www/yui/src %HOME/www/event/src"
parser_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
# 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 |
# first generate luna_baselib.* and luna_mainlib.*
lua ../luna_gen.lua luna_baselib.lua
# then generate luna_pdfwin.*
# note that all the classes defined in luna_pdfwin.lua is dependent on luna_baselib and luna_mainlib
# to do this,
# use in luna_baselib.lua
# writeDefinitionDBtoFile(source_path..'/generated/luna_b... | Shell |
if [ ! -d ./build_unix_dbg ];
then
mkdir build_unix_dbg
fi
cd build_unix_dbg
cmake -D "CMAKE_BUILD_TYPE=Debug" ..
#make 2>&1 | less
make
| Shell |
if [ ! -d ./build_unix ];
then
mkdir build_unix
fi
cd build_unix
cmake ..
#make 2>&1 | less
make
#run tests
cd ..
| Shell |
if [ -d ./build_unix ];
then
cd build_unix
rm -rf *
cd ..
fi
if [ -d ./build_unix_dbg ];
then
cd build_unix_dbg
rm -rf *
cd ..
fi
| Shell |
cd bin
./test_garbage_collection
./test_var_arg
./test_property
./test_inheritance
./test_table
| Shell |
#!/bin/sh
# You may find this shell script helpful.
DATA=miniTest
DATA=masc
# --parser nlpclass.assignments.PCFGParserTester\$PCFGParser \
java -server -mx500m -cp classes \
nlpclass.assignments.PCFGParserTester \
--parser nlpclass.assignments.PCFGParserTester\$BaselineParser \
--path ../data \
--data $DAT... | Shell |
#! /bin/sh
## This script has some modifications to try to find Java on various of the
## ITSS Unix boxes ... Christopher Manning 2008
# Copyright 2001-2005 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with t... | Shell |
#! /bin/sh
## This script has some modifications to try to find Java on various of the
## ITSS Unix boxes ... Christopher Manning 2008
# Copyright 2001-2005 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with t... | Shell |
#!/bin/sh
# You may find this shell script helpful.
DATA=miniTest
DATA=masc
# --parser nlpclass.assignments.PCFGParserTester\$PCFGParser \
java -server -mx500m -cp classes \
nlpclass.assignments.PCFGParserTester \
--parser nlpclass.assignments.PCFGParserTester\$BaselineParser \
--path ../data \
--data $DAT... | Shell |
#!/bin/sh
# You may find this shell script helpful.
java -server -mx500m -cp classes \
nlpclass.assignments.Submit \
$@
| Shell |
#!/bin/sh
# You may find this shell script helpful.
java -server -mx500m -cp classes \
nlpclass.assignments.Submit \
$@
| Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#!/bin/sh
#
# Copyright (c) 2007-2010 Takashi Kitao
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | Shell |
#/bin/sh
python usbmuxd-python-client/tcprelay.py -t 22:2222 1999:1999
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.