code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh if [ ! -d dist ]; then mkdir dist fi O=`echo $PWD | awk 'BEGIN { FS="/"; } { print $NF }'` cd .. tar -cz $O/LICENSE $O/conf.js $O/css_includes/*.css $O/js_includes/*.js $O/json.js $O/json.py $O/main.js $O/mkdist.sh $O/server.py $O/server_conf.py $O/shuffle.js $O/spr.html $O/util.js $O/util.py > $O/dist...
Shell
#!/bin/sh if [ ! -d dist ]; then mkdir dist fi O=`echo $PWD | awk 'BEGIN { FS="/"; } { print $NF }'` cd .. tar -cz $O/LICENSE $O/conf.js $O/css_includes/*.css $O/js_includes/*.js $O/json.js $O/json.py $O/main.js $O/mkdist.sh $O/server.py $O/server_conf.py $O/shuffle.js $O/spr.html $O/util.js $O/util.py > $O/dist...
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
node server.js keywords.txt 100
Shell
./boost_asio_http_sample 127.0.0.1 5555 4 ../test_content
Shell
./libevent_sample Server:127.0.0.1 Port:5555 Backlog:10 Threads:4 Root:../test_content DefaultPage:index.html
Shell
./epoll_sample Server:127.0.0.1 Port:5555 Backlog:1000 Threads:4 Connections:1000 Root:../test_content DefaultPage:index.html Corking:1
Shell
export PGCLIENTENCODING=UTF-8 export PGUSER=postgres export PGPASSWORD=postgres export PGDATABASE=postgres echo Create database psql -q -f "create_database.sql" export PGDATABASE=sample echo Create tables and init data psql -q -f "schema-generate.sql" psql -q -f "init-data.sql"
Shell
#!/bin/sh echo "Removing older webthumb images ..." find /var/www/webthumb/ -name "*.jpg" -mtime +7 -exec rm --verbose "{}" ";" echo "Removing older webthumb images ...done"
Shell
#!/bin/sh /etc/init.d/apache2 stop /etc/init.d/webthumb stop rm --force /tmp/*.lock /etc/init.d/webthumb start /etc/init.d/apache2 start
Shell
#!/bin/sh echo "Removing older webthumb images ..." find /var/www/webthumb/ -name "*.jpg" -mtime +7 -exec rm --verbose "{}" ";" echo "Removing older webthumb images ...done"
Shell
#!/bin/sh /etc/init.d/apache2 stop /etc/init.d/webthumb stop rm --force /tmp/*.lock /etc/init.d/webthumb start /etc/init.d/apache2 start
Shell
#!/bin/sh # wrapper for 'mozilla' which can restart a process when or if it were to ever dump core while [ true ]; do mozilla $@ echo "Mozilla process failed... restarting." sleep 5 done
Shell
#!/bin/sh INSTANCE_COUNT=10 error() { echo "Status: 500 Foobar" } ### BEGIN CUSTOM VARIABLES ### URLBASE=/webthumb TMPDIR=/var/www/webthumb for i in `seq $INSTANCE_COUNT` ; do #set display to use XVFB export DISPLAY=:$i #FIXME: replace with updated code.. This needs to spin until Mozilla logs th...
Shell
#!/bin/sh #Total num of webthumb daemons running that we can connect to. INSTANCE_COUNT=10 LOG_ENABLED=true LOCK_FILE=/tmp/webthumb-1.lock MOZILLA_LOG=/tmp/webthumb-1.dat LOG_FILE=/tmp/webthumb-1.log SLEEP_INTERVAL=.2 MAX_INTERVAL=30.0 URLBASE=/webthumb function die { msg=$1 log "$msg" releaseLock ...
Shell
#!/bin/sh #Total num of webthumb daemons running that we can connect to. INSTANCE_COUNT=10 LOG_ENABLED=true LOCK_FILE=/tmp/webthumb-1.lock MOZILLA_LOG=/tmp/webthumb-1.dat LOG_FILE=/tmp/webthumb-1.log SLEEP_INTERVAL=.2 MAX_INTERVAL=30.0 URLBASE=/webthumb function die { msg=$1 log "$msg" releaseLock ...
Shell
#!/bin/sh INSTANCE_COUNT=10 error() { echo "Status: 500 Foobar" } ### BEGIN CUSTOM VARIABLES ### URLBASE=/webthumb TMPDIR=/var/www/webthumb for i in `seq $INSTANCE_COUNT` ; do #set display to use XVFB export DISPLAY=:$i #FIXME: replace with updated code.. This needs to spin until Mozilla logs th...
Shell
#!/bin/sh #Total num of webthumb daemons running that we can connect to. INSTANCE_COUNT=10 LOG_ENABLED=true LOCK_FILE=/tmp/webthumb-1.lock MOZILLA_LOG=/tmp/webthumb-1.dat LOG_FILE=/tmp/webthumb-1.log SLEEP_INTERVAL=.2 MAX_INTERVAL=30.0 URLBASE=/webthumb function die { msg=$1 log "$msg" releaseLock ...
Shell
#!/bin/sh #Total num of webthumb daemons running that we can connect to. INSTANCE_COUNT=10 LOG_ENABLED=true LOCK_FILE=/tmp/webthumb-1.lock MOZILLA_LOG=/tmp/webthumb-1.dat LOG_FILE=/tmp/webthumb-1.log SLEEP_INTERVAL=.2 MAX_INTERVAL=30.0 URLBASE=/webthumb function die { msg=$1 log "$msg" releaseLock ...
Shell
#!/bin/sh INSTANCE_COUNT=10 #Moz profile info PROF_BASE=/root/.mozilla PROF_NAME=default #FIXME: it should be possible to LS for the salt. PROF_DEFAULT_ROOT=/root/.mozilla/default/ PROF_SALT=$(ls -1 $PROF_DEFAULT_ROOT) function startup_x { #the ID of the server to startup xid=$1 #FIXME: this is kind ...
Shell
#!/bin/sh INSTANCE_COUNT=10 #Moz profile info PROF_BASE=/root/.mozilla PROF_NAME=default #FIXME: it should be possible to LS for the salt. PROF_DEFAULT_ROOT=/root/.mozilla/default/ PROF_SALT=$(ls -1 $PROF_DEFAULT_ROOT) function startup_x { #the ID of the server to startup xid=$1 #FIXME: this is kind ...
Shell
#!/bin/sh INSTANCE_COUNT=15 #Moz profile info PROF_BASE=/root/.mozilla PROF_NAME=default #FIXME: it should be possible to LS for the salt. PROF_DEFAULT_ROOT=/root/.mozilla/default/ PROF_SALT=$(ls -1 $PROF_DEFAULT_ROOT) function startup_x { #the ID of the server to startup xid=$1 #FIXME: this is kind ...
Shell
#!/bin/sh INSTANCE_COUNT=15 #Moz profile info PROF_BASE=/root/.mozilla PROF_NAME=default #FIXME: it should be possible to LS for the salt. PROF_DEFAULT_ROOT=/root/.mozilla/default/ PROF_SALT=$(ls -1 $PROF_DEFAULT_ROOT) function startup_x { #the ID of the server to startup xid=$1 #FIXME: this is kind ...
Shell
#!/bin/sh # wrapper for 'mozilla' which can restart a process when or if it were to ever dump core while [ true ]; do mozilla $@ echo "Mozilla process failed... restarting." sleep 5 done
Shell
#!/bin/sh user=user app=thttpd app_dir=/opt/webview pid_file=/var/run/$app.pid test -f $app || exit 0 cd $app_dir case "$1" in start) /sbin/start-stop-daemon --start --oknodo -d $app_dir --pidfile $pid_file --exec $app_dir/$app -- -C $app_dir/config/thttpd.conf ;; stop) start-stop-daemon --stop --oknodo --name $...
Shell
#!/bin/sh user=user app=thttpd app_dir=/opt/webview pid_file=/var/run/$app.pid test -f $app || exit 0 cd $app_dir case "$1" in start) /sbin/start-stop-daemon --start --oknodo -d $app_dir --pidfile $pid_file --exec $app_dir/$app -- -C $app_dir/config/thttpd.conf ;; stop) start-stop-daemon --stop --oknodo --name $...
Shell
#!/bin/sh # postinst script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # ...
Shell
#!/bin/sh # preinst script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details,...
Shell
#!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/webview FLAVOR=$1 PACKAGE=webview if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/webvi...
Shell
#!/bin/sh # prerm script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version...
Shell
#! /bin/sh -e # /usr/lib/emacsen-common/packages/install/webview # Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily # from the install scripts for gettext by Santiago Vila # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. FLAVOR=$1 PACKAGE=webview if [ ${FLAVOR} = emacs ]; then exit 0;...
Shell
#!/bin/sh # postrm script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # ...
Shell
#! /bin/sh # # skeleton example file to build /etc/init.d/ scripts. # This file should be used to construct scripts for /etc/init.d. # # Written by Miquel van Smoorenburg <miquels@cistron.nl>. # Modified for Debian # by Ian Murdock <imurdock@gnu.ai.mit.edu>. # # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cis...
Shell
#!/bin/sh # postinst script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # ...
Shell
#!/bin/sh # preinst script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details,...
Shell
#!/bin/sh # postrm script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # ...
Shell
#! /bin/sh # # skeleton example file to build /etc/init.d/ scripts. # This file should be used to construct scripts for /etc/init.d. # # Written by Miquel van Smoorenburg <miquels@cistron.nl>. # Modified for Debian # by Ian Murdock <imurdock@gnu.ai.mit.edu>. # # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cis...
Shell
#! /bin/sh -e # /usr/lib/emacsen-common/packages/install/webview # Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily # from the install scripts for gettext by Santiago Vila # <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. FLAVOR=$1 PACKAGE=webview if [ ${FLAVOR} = emacs ]; then exit 0;...
Shell
#!/bin/sh -e # /usr/lib/emacsen-common/packages/remove/webview FLAVOR=$1 PACKAGE=webview if [ ${FLAVOR} != emacs ]; then if test -x /usr/sbin/install-info-altdir; then echo remove/${PACKAGE}: removing Info links for ${FLAVOR} install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/webvi...
Shell
#!/bin/sh # prerm script for webview # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version...
Shell
#!/bin/bash # Scripts in the tools/ directory should source this file with the line: # pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export TOOLS_DIR=$(pwd) export PROJECT_DIR=$(dirname $TOOLS_DIR) export APP_DIR=$PROJECT_DIR/app export TESTS_DIR=$PROJECT_DIR/tests for dir in \ "$APPENG...
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 to...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/validate_merge.py "$@"
Shell
#!/bin/bash # Creates a code review on codereview.appspot.com for the current branch. # The posted patch is a diff from the default head to this branch's head. # # This script supports the following workflow: # 1. Create a named branch and make your changes there. # 2. Merge changes (if any) from the default...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export REMOTE_API_RC="from model import *"$'\n'"from setup_pf import *" $PYTHON $TOOLS_DIR/remote_api.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/merge_messages.py "$@"
Shell
#!/bin/bash DEFAULT_DAYS=90 function usage() { echo "Usage: $0 [-r <rev>] [-d <days>] [-l] [-h]" echo echo " Interactively go through all the heads that have no children in" echo " history DAG and that are at least $DEFAULT_DAYS days old, and " echo " no-op merge them to the default branch." echo ech...
Shell
#!/bin/bash # To run all tests: # # tools/unit_tests # # To run just the tests in tests/test_model.py and tests/test_indexing.py: # # tools/unit_tests test_model test_indexing pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null echo echo "--- Running unit tests" TZ=UTC $PYTHON $TESTS_DIR/...
Shell
#!/bin/bash # Copyright 2011 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 to in w...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null find $PROJECT_DIR -name '*.pyc' -exec rm '{}' ';' find $PROJECT_DIR -name '*.orig' -exec rm '{}' ';'
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null if [ "$1" == "run" ]; then shift # Look through the arguments for an application directory. for arg in "$@"; do case "$arg" in (--datastore_path*) datastore_path="$arg";; (-*) true;; ...
Shell
#!/bin/sh # use pylint to check the args. # requires installing pylint http://www.logilab.org/project/pylint # short form: easy_install pylint (may require root) LINT=$(which pylint) REPORTS="no" DEPRECATED=regsub,string,TERMIOS,Bastion,rexec if [ -z "$LINT" ]; then echo "pylint not found, please install." exit ...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/find_missing_translations.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/update_messages.py "$@"
Shell
#!/bin/bash # Starts up an appserver and runs end-to-end tests against it. # # Use -k to select particular test classes or methods by a substring match: # tools/server_tests -k ConfigTests # tools/server_tests -k test_delete_and_restore # # Specify -v to show the name of each test as it runs (rather than just...
Shell
#!/bin/bash # # Example script to create WebTrust Crypto Portal Tokens # if [ $# -ne 1 ] then echo "Create token for Cloud Hosting" echo "Usage: `basename $0` url-to-encrypted-file " exit 1 fi url=$1 # Check for ccrypt if [ ! -f `which ccrypt` ]; then echo "ccrypt does not exist" exit 1 fi ## Read key ec...
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/Dispatch.js $ARGUMENTS" $CMD
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)/lib/JSBuilder" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/Dispatch.js $ARGUMENTS" $CMD
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)/lib/JSBuilder" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/Dispatch.js $ARGUMENTS" $CMD
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/Dispatch.js $ARGUMENTS" $CMD
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/JSBuilder.js $ARGUMENTS" $CMD
Shell
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/JSBuilder.js $ARGUMENTS" $CMD
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="new-record.rb" USER="root" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script..." ...
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="new-record.rb" USER="root" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script..." ...
Shell
#!/bin/bash #This is a script to install webvo #configuration variables INSTALL_PATH="/var/www/" SERVERNAME="localhost" USERNAME="root" USERPASS="csc4150" DBNAME="Webvo" XML_FILE_NAME="$INSTALL_PATH/webvo/data/info.xml" VIDEO_PATH="/media/movies/webvo/" CONFIG_PATH="$INSTALL_PATH/webvo/config/" LOG_PATH="$INSTALL_PA...
Shell
#!/bin/bash #This is a script to install webvo #configuration variables INSTALL_PATH="/var/www/" SERVERNAME="localhost" USERNAME="root" USERPASS="csc4150" DBNAME="Webvo" XML_FILE_NAME="$INSTALL_PATH/webvo/data/info.xml" VIDEO_PATH="/media/movies/webvo/" CONFIG_PATH="$INSTALL_PATH/webvo/config/" LOG_PATH="$INSTALL_PA...
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="new-record.rb" USER="www-data" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script.....
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="new-record.rb" USER="www-data" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script.....
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="record.rb" USER="root" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script..." star...
Shell
#! /bin/sh set -e # /etc/init.d/webvo: start and stop the WebVo record/maintenance daemon REC_PATH="/var/www/webvo/ruby/" REC_NAME="record.rb" USER="root" pidfile="record.pid" test -x $REC_PATH$REC_NAME || exit 0 . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting WebVo record script..." star...
Shell
#!/bin/bash #This is a script to install webvo #configuration variables INSTALL_PATH="/var/www/" SERVERNAME="localhost" USERNAME="root" USERPASS="csc4150" DBNAME="Webvo" XML_FILE_NAME="$INSTALL_PATH/webvo/data/info.xml" VIDEO_PATH="/media/movies/webvo/" CONFIG_PATH="$INSTALL_PATH/webvo/config/" LOG_PATH="$INSTALL_PA...
Shell
#!/bin/bash #This is a script to install webvo #configuration variables INSTALL_PATH="/var/www/" SERVERNAME="localhost" USERNAME="root" USERPASS="csc4150" DBNAME="Webvo" XML_FILE_NAME="$INSTALL_PATH/webvo/data/info.xml" VIDEO_PATH="/media/movies/webvo/" CONFIG_PATH="$INSTALL_PATH/webvo/config/" LOG_PATH="$INSTALL_PA...
Shell
#!/bin/bash set -x set -e EMSCRIPTEN_PATH="PUT YOUR EMSCRIPTEN PATH HERE " OPTIMIZE="-O2 -s USE_TYPED_ARRAYS=2 -s DISABLE_EXCEPTION_CATCHING=0 " CCP="$EMSCRIPTEN_PATH/em++" CC="$EMSCRIPTEN_PATH/emcc" CFLAGS="$OPTIMIZE -DEMSCRIPTEN -DUNIX -DNDEBUG -Dlinux -DSPICE_3f -DPREDICTOR -DAN_pz -DAN_disto -DAN_noise -DHAS_STDLI...
Shell
#!/bin/bash set -x set -e EMSCRIPTEN_PATH="PUT YOUR EMSCRIPTEN PATH HERE " OPTIMIZE="-O2 -s USE_TYPED_ARRAYS=2 -s DISABLE_EXCEPTION_CATCHING=0 " CCP="$EMSCRIPTEN_PATH/em++" CC="$EMSCRIPTEN_PATH/emcc" CFLAGS="$OPTIMIZE -DEMSCRIPTEN -DUNIX -DNDEBUG -Dlinux -DSPICE_3f -DPREDICTOR -DAN_pz -DAN_disto -DAN_noise -DHAS_STDLI...
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/bin/sh make clean hg pull hg update -v qmake imageshack.pro -spec macx-g++ make
Shell
#!/bin/bash # Copyright 2009 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...
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 if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/bash -e java -jar ./lib/${final.name}.jar
Shell
#! /bin/sh NAME=smpprouter case "$1" in start) echo "Starting $NAME ..." $NAME ;; stop) echo "Stopping $NAME ..." killall $NAME ;; restart) echo "Restarting $NAME ..." killall $NAME sleep 1 $NAME ;; *) ...
Shell
#! /bin/sh NAME=smpprouter case "$1" in start) echo "Starting $NAME ..." $NAME ;; stop) echo "Stopping $NAME ..." killall $NAME ;; restart) echo "Restarting $NAME ..." killall $NAME sleep 1 $NAME ;; *) ...
Shell
#!/bin/bash cd mp3tunes rm -rf bin gen ant release /usr/lib/jvm/java-6-sun-1.6.0.14/bin/jarsigner -verbose -keystore ~/my-release-key.keystore -storepass wEluveM1 bin/Login-unsigned.apk latency rm ../mp3tunes-android_*.apk d=`date +20%y%m%d%H%M` filename='../mp3tunes-android_'$d'.apk' zipalign -v 4 bin/Login-un...
Shell
#!/bin/sh #hg push https://mp3tunesadam%40gmail.com:vQ6ku6CD5Ej8@mp3tunes.googlecode.com/hg/mp3tunes hg push https://mp3tunesron%40gmail.com:wE6UR3FT7em4@mp3tunes.googlecode.com/hg/mp3tunes
Shell
#!/bin/sh ################################################################################ # Required: run this script from the project home directory # # Guide: to be able use this script, project should be built by ant or maven # , so that it will pack a manifest info for execution into distrib jar file # To build ...
Shell
#!/bin/sh ################################################################################ # Required: run this script from the project home directory # # Guide: to be able use this script, project should be built by ant or maven # , so that it will pack a manifest info for execution into distrib jar file # To build ...
Shell
#!/bin/sh ruby webrick.rb
Shell
#!/bin/sh ruby webrick.rb
Shell
#!/bin/sh # TODO: FIXME: Get rid of this and hook it into Dojo's general build script # You must have mtasc to run this mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
Shell
#!/bin/sh # TODO: FIXME: Get rid of this and hook it into Dojo's general build script # You must have mtasc to run this mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
Shell
#!/bin/sh sed -i "s/^r.*/r`svnversion`/" app/views/layouts/_side_links.rhtml
Shell
#!/bin/sh sed -i "s/^r.*/r`svnversion`/" app/views/layouts/_side_links.rhtml
Shell
#!/bin/sh # this is a shell script that will convert HeSA certs to the form we require echo This script will convert HeSA keys into OpenSSL form echo You will be asked for a passphrase four times for the private key for i in *.crt; do openssl x509 -in $i -inform DER -out `basename $i .crt`.pem done rm -f *.crt for i...
Shell
#!/bin/sh # this is a shell script that will convert HeSA certs to the form we require echo This script will convert HeSA keys into OpenSSL form echo You will be asked for a passphrase four times for the private key for i in *.crt; do openssl x509 -in $i -inform DER -out `basename $i .crt`.pem done rm -f *.crt for i...
Shell
#!/bin/sh sed -i "s/^r.*/r`svnversion`/" app/views/layouts/_side_links.rhtml
Shell
#!/bin/sh sed -i "s/^r.*/r`svnversion`/" app/views/layouts/_side_links.rhtml
Shell
#!/bin/sh # this is a shell script that will convert HeSA certs to the form we require echo This script will convert HeSA keys into OpenSSL form echo You will be asked for a passphrase four times for the private key for i in *.crt; do openssl x509 -in $i -inform DER -out `basename $i .crt`.pem done rm -f *.crt for i...
Shell
#!/bin/sh # this is a shell script that will convert HeSA certs to the form we require echo This script will convert HeSA keys into OpenSSL form echo You will be asked for a passphrase four times for the private key for i in *.crt; do openssl x509 -in $i -inform DER -out `basename $i .crt`.pem done rm -f *.crt for i...
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell