code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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 t... | Shell |
#!/bin/sh
ENABLE=$1
echo ""
echo " DataTables unit tests"
echo ""
if [ ! "$ENABLE" = "Enable" -a ! "$ENABLE" = "Disable" -o "ENABLE" = "-h" ]; then
echo " Enable or Disable must be given as the first argument."
echo " Optionally the second argument can be given as an integer to enable/disable a certain "
echo ... | Shell |
#!/bin/sh
cd ../media/src
# DEFAULTS
CLOSURE="/usr/local/closure_compiler/compiler.jar"
JSDOC="/usr/local/jsdoc/jsdoc"
CMD=$1
MAIN_FILE="../js/jquery.dataTables.js"
MIN_FILE="../js/jquery.dataTables.min.js"
VERSION=$(grep " * @version " DataTables.js | awk -F" " '{ print $3 }')
echo ""
echo " DataTables build ... | Shell |
#!/bin/sh
ENABLE=$1
echo ""
echo " DataTables unit tests"
echo ""
if [ ! "$ENABLE" = "Enable" -a ! "$ENABLE" = "Disable" -o "ENABLE" = "-h" ]; then
echo " Enable or Disable must be given as the first argument."
echo " Optionally the second argument can be given as an integer to enable/disable a certain "
echo ... | Shell |
#!/bin/sh
cd ../media/src
# DEFAULTS
CLOSURE="/usr/local/closure_compiler/compiler.jar"
JSDOC="/usr/local/jsdoc/jsdoc"
CMD=$1
MAIN_FILE="../js/jquery.dataTables.js"
MIN_FILE="../js/jquery.dataTables.min.js"
VERSION=$(grep " * @version " DataTables.js | awk -F" " '{ print $3 }')
echo ""
echo " DataTables build ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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 immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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
# 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 t... | Shell |
#!/bin/bash
awk 'BEGIN {printf "<?php\n\nreturn array(\n\n"} {if(NF==0) printf "\n" ; else printf "array(\"id\"=>%s, \"name\"=>\"%s\", \"endurance\"=>%d, \"strength\"=>%d, \"dexterity\"=>%d, \"spirit\"=>%d, \"award\"=>%d),\n", $1, $3, $6*100, $7*100, $8*100, $9*100, $10*100} END{printf "\n);\n\n?>"}'
| Shell |
#!/bin/bash
awk 'BEGIN {printf "<?php\n\nreturn array(\n\n"} {if(NF==0) printf "\n" ; else printf "array(\"id\"=>%s, \"name\"=>\"%s\", \"endurance\"=>%d, \"strength\"=>%d, \"dexterity\"=>%d, \"spirit\"=>%d, \"award\"=>%d),\n", $1, $3, $6*100, $7*100, $8*100, $9*100, $10*100} END{printf "\n);\n\n?>"}'
| Shell |
#!/usr/bin/expect -f
set user stoeckal
set password g7k_x9oWGT
set localDir /Users/kitty/Documents/Aptana\ Studio\ 3\ Workspace/webprog
set remoteDir /home/PRJ/svn/webprog/g07/www
set url uranus2.hs-weingarten.de
spawn bash -c "scp -r " "$localDir" "/* $user@$url:$remoteDir"
expect "*?assword*"
send -- "$password\r"
... | Shell |
expect "/Users/kitty/Documents/Aptana Studio 3 Workspace/webprog/wiki/MyDeployScript.sh" | Shell |
#!/usr/bin/expect -f
set user stoeckal
set password g7k_x9oWGT
set localDir /Users/kitty/Documents/Aptana\ Studio\ 3\ Workspace/webprog
set remoteDir /home/PRJ/svn/webprog/g07/www
set url uranus2.hs-weingarten.de
spawn bash -c "scp -r " "$localDir" "/* $user@$url:$remoteDir"
expect "*?assword*"
send -- "$password\r"
... | Shell |
expect "/Users/kitty/Documents/Aptana Studio 3 Workspace/webprog/wiki/MyDeployScript.sh" | Shell |
#!/bin/bash
#
# Update a doctor's root filesystem image. We only extract files with an
# entry in the md5sums.gz list, and we will re-create the checksums on
# completion.
#
[ -d scripts ] || { echo "Run the script from the repacker directory, not the scripts directory" ; exit ; }
if [ $# -gt 0 ]; then ORIGINAL="$1";... | Shell |
#!/bin/bash
# chkconfig: 345 88 08
# description: Forever for Node.js
DEAMON=/home/www/jsgen/app.js
LOG=/home/www/jsgen/mylogs/forever.log
PID=/root/.forever/pids/forever.pid
export PATH=$PATH:/usr/bin/node/bin
export NODE_PATH=$NODE_PATH:/usr/bin/node/lib/node_modules
node=node
forever=forever
case "$1" in
sta... | Shell |
#!/bin/bash
# chkconfig: 345 88 08
# description: Forever for Node.js
DEAMON=/home/www/jsgen/app.js
LOG=/home/www/jsgen/mylogs/forever.log
PID=/root/.forever/pids/forever.pid
export PATH=$PATH:/usr/bin/node/bin
export NODE_PATH=$NODE_PATH:/usr/bin/node/lib/node_modules
node=node
forever=forever
case "$1" in
sta... | Shell |
find_self() {
SELF_DIR=`dirname $0`
}
setclasspath() {
LIB_DIR="$SELF_DIR/lib"
CLASSPATH="$SELF_DIR/out/webp2psim.jar"
for lib in $LIB_DIR/*; do
CLASSPATH="$CLASSPATH:$lib"
done
}
#MAIN
find_self && setclasspath
java -Xms512m -Xmx1024m -cp $CLASSPATH webp2p_sim.util.ResponseTimeMetricCalculator $1
| Shell |
#!/bin/sh
find_self() {
SELF=`dirname $0`
}
usage() {
echo "usage $0 <sim.properties files> <sim type> <param to vary> < values[] || -seq <first> <last> <inc> >"
exit 1
}
#MAIN
if [ $# -lt 3 ]; then
usage
fi
find_self
FILE=$1
TYPE=$2
PARAM=$3
OPTION=$4
if [ ! -r $FILE ]; then
echo "cannot read $FILE"
ex... | Shell |
find_self() {
SELF_DIR=`dirname $0`
}
setclasspath() {
LIB_DIR="$SELF_DIR/lib"
CLASSPATH="$SELF_DIR/out/webp2psim.jar"
for lib in $LIB_DIR/*; do
CLASSPATH="$CLASSPATH:$lib"
done
}
#MAIN
find_self && setclasspath
java -Xms512m -Xmx1024m -cp $CLASSPATH webp2p_sim.core.Main $*
| Shell |
#!/bin/sh
find_self() {
SELF=`dirname $0`
}
usage() {
echo "usage $0 <sim.properties files> <sim type> <param to vary> < values[] || -seq <first> <last> <inc> >"
exit 1
}
#MAIN
if [ $# -lt 3 ]; then
usage
fi
find_self
FILE=$1
TYPE=$2
PARAM=$3
OPTION=$4
if [ ! -r $FILE ]; then
echo "cannot read $FILE"
ex... | Shell |
find_self() {
SELF_DIR=`dirname $0`
}
setclasspath() {
LIB_DIR="$SELF_DIR/lib"
CLASSPATH="$SELF_DIR/out/webp2psim.jar"
for lib in $LIB_DIR/*; do
CLASSPATH="$CLASSPATH:$lib"
done
}
#MAIN
find_self && setclasspath
java -Xms512m -Xmx1024m -cp $CLASSPATH webp2p_sim.util.ResponseTimeMetricCalculator $*
| Shell |
#!/bin/sh
find_self() {
SELF=`dirname $0`
}
usage() {
echo "usage $0 <sim.properties files> <sim type> <param to vary> < values[] || -seq <first> <last> <inc> >"
exit 1
}
#MAIN
if [ $# -lt 3 ]; then
usage
fi
find_self
FILE=$1
TYPE=$2
PARAM=$3
OPTION=$4
if [ ! -r $FILE ]; then
echo "cannot read $FILE"
ex... | Shell |
find_self() {
SELF_DIR=`dirname $0`
}
setclasspath() {
LIB_DIR="$SELF_DIR/lib"
CLASSPATH="$SELF_DIR/out/webp2psim.jar"
for lib in $LIB_DIR/*; do
CLASSPATH="$CLASSPATH:$lib"
done
}
#MAIN
find_self && setclasspath
java -Xms512m -Xmx1024m -cp $CLASSPATH webp2p_sim.core.Main $*
| Shell |
#!/bin/sh
find_self() {
SELF=`dirname $0`
}
usage() {
echo "usage $0 <sim.properties files> <sim type> <param to vary> < values[] || -seq <first> <last> <inc> >"
exit 1
}
#MAIN
if [ $# -lt 3 ]; then
usage
fi
find_self
FILE=$1
TYPE=$2
PARAM=$3
OPTION=$4
if [ ! -r $FILE ]; then
echo "cannot read $FILE"
ex... | Shell |
#if [ $# -ne 2 ]; then
# echo "Usage: <out from ping command on linux> <tries>"
# exit 1
#fi
#tries="-$2"
#soma=0
#for time in `grep time= $1 | awk -F'time=' '{print $2}' | awk -F' ' '{print $1}' | head $tries`; do
# soma=`echo "scale=3; $soma+$time" | bc`
#done
#tries=$2
#echo "scale=3; $soma/$tries" | bc
grep "r... | Shell |
#!/bin/sh
ruby webrick.rb
| Shell |
#!/bin/sh
ruby webrick.rb
| Shell |
#!/bin/sh
OPTS=-use-network=false
../../bin/mxmlc $OPTS flexstore.mxml
../../bin/mxmlc $OPTS beige.css
../../bin/mxmlc $OPTS blue.css
| Shell |
#!/bin/sh
OPTS=-use-network=false
../../bin/mxmlc $OPTS flexstore.mxml
../../bin/mxmlc $OPTS beige.css
../../bin/mxmlc $OPTS blue.css
| Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown -R www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
chown www-data:www-data templates_c/*.tpl.php
touch graph/cache
chown ww... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown -R www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
chown www-data:www-data templates_c/*.tpl.php
touch graph/cache
chown ww... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
touch graph/cache
chown www-data:www-data graph/cache
touch db/wpt_monitor... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
touch graph/cache
chown www-data:www-data graph/cache
touch db/wpt_monitor... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
touch graph/cache
chown www-data:www-data graph/cache
touch db/wpt_monitor... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
touch graph/cache
chown www-data:www-data graph/cache
touch db/wpt_monitor... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown -R www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
chown www-data:www-data templates_c/*.tpl.php
touch graph/cache
chown ww... | Shell |
#!/bin/sh
touch jobProcessor_log.html
chown www-data:www-data jobProcessor_log.html
touch QueueStatus.ini
chown www-data:www-data QueueStatus.ini
touch temp
chown -R www-data:www-data temp
touch templates_c
chown www-data:www-data templates_c
chown www-data:www-data templates_c/*.tpl.php
touch graph/cache
chown ww... | Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
grep -e '^>' OBJECTS.txt | wc -l
| Shell |
#!/bin/bash
O_IFS=$IFS
IFS=' '
objects=`grep -e '^<' OBJECTS.txt`
echo $objects
echo -e "Total:\c"
echo $objects | wc -l
IFS=$O_IFS
| Shell |
#!/bin/sh
#
# Run tests for roap_on_jsep library.
#
gjstest --js_files=roap_on_jsep_test.js,roap_on_jsep.js,fake_jsep.js \
--html_output_file=roap_on_jsep_test.html
gjstest --js_files=roap_on_jsep_test.js,roap_on_jsep.js,fake_jsep.js
| Shell |
#!/bin/sh
#
# Run tests for roap_on_jsep library.
#
gjstest --js_files=roap_on_jsep_test.js,roap_on_jsep.js,fake_jsep.js \
--html_output_file=roap_on_jsep_test.html
gjstest --js_files=roap_on_jsep_test.js,roap_on_jsep.js,fake_jsep.js
| Shell |
#script usado para gerar os arquivos do doxygen
#remove a documentacao atual.
rm -rfv docs/*
doxygen doxygen.conf
| Shell |
#!/bin/sh
# Regenerate PHPMailer documentation
rm -rf phpdocs/*
phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/,language/ --sourcecode --force --title PHPMailer
| Shell |
#!/bin/sh
# Regenerate PHPMailer documentation
rm -rf phpdocs/*
phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/,language/ --sourcecode --force --title PHPMailer
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
err () {
[ -e error.log ] && cat error.log
rm -f error.log
echo "ERROR: $*" >&2
exit 1
}
[ X"$BOARD" = X"" ] && err "build_binaries.sh should be included in configuration."
echo "Build image file"
cp $ROOT_DIRECTORY/retroImage retroImage || err "Failed to copy retroImage file"
make -C $ROOT_DIRECTO... | Shell |
#!/bin/sh
# ==============================================================================
# === Configuration ============================================================
BOARD="mega328p"
FLAGS="
-DIMAGE_MODE=roflash
-DBAUD=19200
-DCELL=int16_t
-DIMAGE_SIZE=32000
-DIMAGE_CACHE_SIZE=254
-DCELL_CACHE_TYPE=uint8_t
-DADD... | Shell |
#!/bin/sh
# ==============================================================================
# === Configuration ============================================================
BOARD="mega2560"
FLAGS="
-DIMAGE_MODE=roflash
-DBAUD=19200
-DCELL=int16_t
-DIMAGE_SIZE=32000
-DIMAGE_CACHE_SIZE=1300
-DCELL_CACHE_TYPE=uint16_t
-DA... | Shell |
#!/bin/sh
#
# creates a runnable jar "retro.jar", run like this:
#
# java -jar retro.jar
#
# and currently it will run all tests successfully (run from
# top-level project directory)
#
mkdir -p javabuild
cd java
find . -name "*.java" > javasrc.txt
javac -d ../javabuild @javasrc.txt
rm javasrc.txt
cd ..
echo "Manifest-V... | Shell |
#! /bin/sh
for f in $1/*.rst
do
rst2pdf --stylesheets doc/default.css $f
done
| Shell |
#! /bin/sh
for f in $1/*.rx
do
echo getDocsFrom $f | ./retro --with tools/extractDocs.rx
done
perl -e'unlink grep !-s, @ARGV' $1/*.rst
| Shell |
#! /bin/sh
for f in $1/*.rst
do
rst2html.py --stylesheet /documentation.css --link-stylesheet $f >${f%.*}.html
done
| Shell |
#! /bin/sh
if [ ! -f "wordlist.txt" ]; then
if [ -f "/usr/share/dict/words" ]; then
echo "Wordlist missing -- symlinking the system dictionary."
ln -s /usr/share/dict/words wordlist.txt
fi
fi
if [ ! -f "library" ]; then
ln -s ../../../library .
fi
../../../retro --image ../../../retroImage --with hangm... | Shell |
#!/bin/bash
#
# Current version
#
VERSION="4.0M1.0"
#
# Set up this revision number or we'll retrieve the last one from the SVN
#
REVISION=""
#
# In WebLab 3.9, the different zip files were:
#
# - weblab_3.9.zip: 8 MB
# - weblab-with-libs_3.9.zip: 57 MB
# - weblab-windows_3.9.zip: 51 MB
# ... | Shell |
#!/bin/sh
./external/ant/bin/ant test
| Shell |
#!/bin/sh
./external/ant/bin/ant gwtc
| Shell |
#!/bin/bash
# 50
convert Arrow_ascendingSortHover.emf -crop 100%x50% -resize 8x6 +repage tmp/Arrow_ascendingSortHover50-%01d.gif
convert Arrow_ascendingSortSelected.emf -crop 100%x50% -resize 8x6 +repage tmp/Arrow_ascendingSortSelected50-%01d.gif
convert Arrow_ascendingSortHover.emf -crop 100%x50% -re... | Shell |
#!/bin/bash
# 50
convert Arrow_ascendingSortHover.emf -crop 100%x50% -resize 8x6 +repage tmp/Arrow_ascendingSortHover50-%01d.gif
convert Arrow_ascendingSortSelected.emf -crop 100%x50% -resize 8x6 +repage tmp/Arrow_ascendingSortSelected50-%01d.gif
convert Arrow_ascendingSortHover.emf -crop 100%x50% -re... | Shell |
#!/bin/sh
# stop webmq server
cd `dirname $0`
HOST_NAME=`hostname`
SEARCH_STR_FLAG=" -Dapplication.name=webmq-server"
stop(){
WEBMQ_SERVER_JAVA_PID=`get_pid`
if [ ! -z "$WEBMQ_SERVER_JAVA_PID" ] ; then
/bin/kill $WEBMQ_SERVER_JAVA_PID
WEBMQ_SERVER_JAVA_PID=`get_pid`
exptime=1
while ... | Shell |
#!/bin/sh
#JAVA_HOME=
if [ -z "$JAVA_HOME" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
exit 1
fi
cd `dirname $0`/
BASE=`pwd`
JAVA=$JAVA_HOME/bin/java
JAR_FILES="$BASE/lib/*.jar"
APPLICATION=org.webmq.main.BootstrapServer
APPLICATION_NAME=" -Dapplication.name=webmq-server"
STATIC_FILE_PA... | Shell |
#!/bin/sh
#JAVA_HOME=
if [ -z "$JAVA_HOME" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
exit 1
fi
cd `dirname $0`/
BASE=`pwd`
JAVA=$JAVA_HOME/bin/java
JAR_FILES="$BASE/lib/*.jar"
APPLICATION=org.webmq.main.BootstrapServer
APPLICATION_NAME=" -Dapplication.name=webmq-server"
STATIC_FILE_PA... | Shell |
#!/bin/sh
# You need Flex 4 SDK:
# http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMain.swf WebSocketMain.as &&
mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf WebSocketMainInsecure.as &&
cd .. &&
zip Web... | Shell |
#!/bin/sh
# You need Flex 4 SDK:
# http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMain.swf WebSocketMain.as &&
mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf WebSocketMainInsecure.as &&
cd .. &&
zip Web... | Shell |
#!/bin/sh
# stop webmq server
cd `dirname $0`
HOST_NAME=`hostname`
SEARCH_STR_FLAG=" -Dapplication.name=webmq-server"
stop(){
WEBMQ_SERVER_JAVA_PID=`get_pid`
if [ ! -z "$WEBMQ_SERVER_JAVA_PID" ] ; then
/bin/kill $WEBMQ_SERVER_JAVA_PID
WEBMQ_SERVER_JAVA_PID=`get_pid`
exptime=1
while ... | Shell |
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lic... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); yo... | Shell |
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lic... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); yo... | Shell |
#!/bin/bash
# $Id$
# Author: Wisilence Seol (wisicn AT gmail DOT com)
#
# Copyright (C) 2009 by Wisilence Seol(wisicn AT gmail DOT com).
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundati... | Shell |
#!/bin/bash
# $Id: sendSMS-sample.sh 4 2009-08-09 09:54:31Z wisicn@gmail.com $
# Author: Wisilence Seol (wisicn AT gmail DOT com)
#
# Copyright (C) 2009 by Wisilence Seol(wisicn AT gmail DOT com).
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public Li... | Shell |
# Uncomment next line to create "privkey.pem" and "SSL_CA.pem" files
openssl req -days 3650 -out SSL_CA.pem -new -x509
# Save privkey.pem and SSL_CA.pem
# General Public and private files
openssl genrsa -out SSL_Priv.pem 1024
openssl req -key SSL_Priv.pem -new -out ./cert.req
echo 00 > file.srl
openssl x509 -r... | Shell |
echo libtoolize
if [ `(uname -s) 2>/dev/null` == 'Darwin' ]
then
glibtoolize --copy --force
else
libtoolize --copy --force
fi
echo "aclocal"
aclocal
echo "autoheader"
autoheader
echo "create NEWS, README, AUTHORS and ChangeLog"
touch NEWS README AUTHORS ChangeLog
echo "autoreconf"
autoreconf -i
echo "automake"
a... | Shell |
#/bin/bash
python manage.py syncdb
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.