code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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 |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
# run "./runTests.sh" for verbose output
# for short output, run
# ./runTests.sh | grep FAILED
# ./runTests.sh | grep PASSED
#master branch
SERVER_CLASS="org.ws4d.coap.test.PlugtestServer"
CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient"
CLASSPATH="bin/:../ws4d-jcoap/bin"
LOG_DIR="log"
REF_LOG_DIR="logref"
... | Shell |
#!/bin/bash
INPUTDIR=$1
OUTPUTDIR=$1-rev
mkdir -p $OUTPUTDIR
for path in $INPUTDIR/*.cpp
do
# echo $path
# echo "Basename of $path = `basename $path`"
# echo "Dirname of $path = `dirname $path`"
file=`basename $path`
echo $file
sed -f cleanup.sed $path > $OUTPUTDIR/$file
# echo $path "->"$OUTPUTDIR/$file
done
| Shell |
#!/bin/bash
INPUTDIR=$1
OUTPUTDIR=$1-rev
mkdir -p $OUTPUTDIR
for path in $INPUTDIR/*.cpp
do
# echo $path
# echo "Basename of $path = `basename $path`"
# echo "Dirname of $path = `dirname $path`"
file=`basename $path`
echo $file
sed -f cleanup.sed $path > $OUTPUTDIR/$file
# echo $path "->"$OUTPUTDIR/$file
done
| Shell |
#!/bin/bash
INPUTDIR=$1
OUTPUTDIR=$2
echo "Copying TeX files from $INPUTDIR to $OUTPUTDIR"
mkdir -v -p $OUTPUTDIR
for path in $INPUTDIR/*.tex
do
file=`basename $path`
echo $file
cat svn-insert.tex > $OUTPUTDIR/$file
cat $path >> $OUTPUTDIR/$file
done
| Shell |
#!/bin/bash
pdflatex --interaction batchmode all_au
cp all_au.log all_au.1.log
makeindex -s docindex.sty all_au.idx
sed -f sedmodxxx xxx.sed > yyy.sed
sed -f yyy.sed all_au.ind > ttmp
sed -f href.sed ttmp > all_au.ind
pdflatex all_au
cp all_au.log all_au.2.log
| Shell |
#!/bin/bash
pdflatex --interaction batchmode all_au
cp all_au.log all_au.1.log
makeindex -s docindex.sty all_au.idx
sed -f sedmodxxx xxx.sed > yyy.sed
sed -f yyy.sed all_au.ind > ttmp
sed -f href.sed ttmp > all_au.ind
pdflatex all_au
cp all_au.log all_au.2.log
| Shell |
#!/bin/bash
INPUTDIR=$1
OUTPUTDIR=$2
echo "Copying TeX files from $INPUTDIR to $OUTPUTDIR"
mkdir -v -p $OUTPUTDIR
for path in $INPUTDIR/*.tex
do
file=`basename $path`
echo $file
cat svn-insert.tex > $OUTPUTDIR/$file
cat $path >> $OUTPUTDIR/$file
done
| Shell |
#!/bin/bash
# $Id$
#
# Author: John Sibert
# Copyright (c) 2009 ADMB Foundation
#
WD=$(pwd)
echo $WD
#ssh admbfoun@admb-foundation.org 'ls -lR ~/public_html/documentation/api/default/*; ls -lR ~/public_html/documentation/api/sunsys/*';
cd sunsys-dox/html
pwd
zip -r sunsys.zip *
#unzip -l sunsys.zip
ssh admbfoun@admb-fo... | Shell |
#!/bin/bash
# $Id: upload.sh 229 2009-05-19 23:36:35Z jsibert $
#
# Author: John Sibert
# Copyright (c) 2009 ADMB Foundation
#
WD=$(pwd)
echo $WD
#ssh admbfoun@admb-foundation.org 'ls -lR ~/public_html/documentation/api/default/*; ls -lR ~/public_html/documentation/api/sunsys/*';
cd sunsys-dox/html
pwd
zip -r sunsys.zi... | Shell |
#!/bin/bash
# see the Doxygen user manual
# svn stat -v $1 | sed -n 's/ˆ[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/\/r/;s/ .*//p'
# invoking as getVersionInfo.sh linad99/fvar.hpp prepends 9.0 to the revision
# for fvar.hpp
svn stat -v $1 | sed -n 's/ˆ[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/9.0./;s/ .*//p'
| Shell |
#!/bin/bash
# see the Doxygen user manual
# svn stat -v $1 | sed -n 's/ˆ[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/\/r/;s/ .*//p'
# invoking as getVersionInfo.sh linad99/fvar.hpp prepends 9.0 to the revision
# for fvar.hpp
svn stat -v $1 | sed -n 's/ˆ[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/9.0./;s/ .*//p'
| Shell |
#!/bin/bash
# The SRCS list was generated from the objects.list files by the script obj2cpp
# The directory was inserted by hand with vi
SRCS="
linad99/fmmtr1.cpp
linad99/tsdfpool.cpp
linad99/multiindex.cpp
linad99/indextyp.cpp
linad99/logit.cpp
linad99/d3arr12.cpp
linad99/dmat41.cpp
linad99/dmat42.cpp
linad99... | Shell |
#!/bin/bash
# The SRCS list was generated from the objects.list files by the script obj2cpp
# The directory was inserted by hand with vi
SRCS="
linad99/fmmtr1.cpp
linad99/tsdfpool.cpp
linad99/multiindex.cpp
linad99/indextyp.cpp
linad99/logit.cpp
linad99/d3arr12.cpp
linad99/dmat41.cpp
linad99/dmat42.cpp
linad99... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: admb [-d] [-r] [-s] model\n
Build AD Model Builder executable from TPL.\n
-d Create DLL
-r Create ADMB-RE
-s Use safe bounds and debugging symbols
model Filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [[ "$... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adcomp [-d] [-r] [-s] model\n
Compile AD Model Builder C++ to object code.\n
-d Create object file for DLL
-r Create object file for ADMB-RE
-s Create object file with safe bounds and debugging symbols
model Filename prefix, e.g. simpl... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adlink [-d] [-r] [-s] model\n
Link AD Model Builder object code to executable.\n
-d creates DLL
-r creates ADMB-RE
-s uses safe bounds and debugging symbols
model is the filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: admb [-d] [-r] [-s] model\n
Build AD Model Builder executable from TPL.\n
-d Create DLL
-r Create ADMB-RE
-s Use safe bounds and debugging symbols
model Filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [[ "$... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adcomp [-d] [-r] [-s] model\n
Compile AD Model Builder C++ to object code.\n
-d Create object file for DLL
-r Create object file for ADMB-RE
-s Create object file with safe bounds and debugging symbols
model Filename prefix, e.g. simpl... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adlink [-d] [-r] [-s] model\n
Link AD Model Builder object code to executable.\n
-d creates DLL
-r creates ADMB-RE
-s uses safe bounds and debugging symbols
model is the filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: admb [-d] [-r] [-s] model\n
Build AD Model Builder executable from TPL.\n
-d Create DLL
-r Create ADMB-RE
-s Use safe bounds and debugging symbols
model Filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [[ "$... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adcomp [-d] [-r] [-s] model\n
Compile AD Model Builder C++ to object code.\n
-d Create object file for DLL
-r Create object file for ADMB-RE
-s Create object file with safe bounds and debugging symbols
model Filename prefix, e.g. simpl... | Shell |
#!/bin/bash
#
# Sets the ADMB Home directory.
#
export ADMB_HOME=~/admb
#
# Adds the ADMB bin directory to $PATH.
#
export PATH=$ADMB_HOME/bin:$PATH
printf "Set the ADMB Home directory to $ADMB_HOME\n"
| Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adlink [-d] [-r] [-s] model\n
Link AD Model Builder object code to executable.\n
-d creates DLL
-r creates ADMB-RE
-s uses safe bounds and debugging symbols
model is the filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: admb [-d] [-r] [-s] model\n
Build AD Model Builder executable from TPL.\n
-d Create DLL
-r Create ADMB-RE
-s Use safe bounds and debugging symbols
model Filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [[ "$... | Shell |
#!/bin/bash
#
# Sets the ADMB Home directory.
#
export ADMB_HOME=~/admb
#
# Adds the ADMB bin directory to $PATH.
#
export PATH=$ADMB_HOME/bin:$PATH
printf "Set the ADMB Home directory to $ADMB_HOME\n"
| Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adcomp [-d] [-r] [-s] model\n
Compile AD Model Builder C++ to object code.\n
-d Create object file for DLL
-r Create object file for ADMB-RE
-s Create object file with safe bounds and debugging symbols
model Filename prefix, e.g. simpl... | Shell |
#!/bin/bash
shopt -s expand_aliases
alias help='echo -e "Usage: adlink [-d] [-r] [-s] model\n
Link AD Model Builder object code to executable.\n
-d creates DLL
-r creates ADMB-RE
-s uses safe bounds and debugging symbols
model is the filename prefix, e.g. simple\n"'
if [[ "$1" == "" ]]; then help; exit; fi
if [... | Shell |
PATH=.:$ADMB_HOME/bin:$PATH
tpl2cpp simple-noeol
mygcco simple-noeol
simple-noeol
| Shell |
cp -v ../../trunk/examples/admb/simple/simple.tpl simple_hypen.tpl
cp -v ../../trunk/examples/admb/simple/simple.tpl simple-hypen.tpl
cp -v ../../trunk/examples/admb/simple/simple.dat simple_hypen.dat
cp -v ../../trunk/examples/admb/simple/simple.dat simple-hypen.dat
PATH=.:$ADMB_HOME/bin:$PATH
tpl2cpp simple_hypen
t... | Shell |
#!/bin/bash
#
# Copyright (c) 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
set -e # fail early
function die() {
echo "Error: " $*
echo
echo "USage: $0 [dest]"
exit 1
}
shopt -s extglob # extended glob pattern
function process() {
SRC="$1"
BASE="${SRC/.apk/}"
DATE=`date +%Y%m%d`
N=1
while /bin/true; do
EXT=`python -c "print chr(96+$N)"`
DEST="${BASE}_${DATE... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER"
exit 0
fi
if [ -z "$2" ]; then
echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER"
exit 0
fi
if [ -z "$3" ]; then
echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER"
exit 0
fi
echo "AdempiereLBR"
echo "."
echo ". Eduardo Montene... | Shell |
#!/bin/bash
## 05-Jan-2009 - Make the file executable for Linux/Unix platforms
if [ -z "$1" ]; then
echo "Usage: $0 DIRECTORY DATABASE USER"
exit 0
fi
if [ -z "$2" ]; then
echo "Usage: $0 DIRECTORY DATABASE USER"
exit 0
fi
if [ -z "$3" ]; then
echo "Usage: $0 DIRECTORY DATABASE USER"
exit 0
fi
echo... | 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/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-2011, 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-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/sh
#
# Usage example: ./generate.sh int Int Integer"
# Args are: primitive type, capitalized primitive type, wrapper type
#
# To make changes to the .java files in this package,
# 1. run this script to generate the templates, move the .gen files
# somewhere else
# 2. modify the template with your intended cha... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
# For Cygwin.
# javac -Xbootclasspath:c:/Program\ Files/Java/jre6/lib/rt.jar -source 1.6 -target 1.6 src/*.java
javac -Xbootclasspath:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/classes.jar -source 1.6 -target 1.6 src/*.java
mkdir -p com/littlesounddj/lsdmanager
mv src/*.class com/littlesoun... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | 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
# 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
# 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 |
#!/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 |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
<?php
/**
* @file
* This script runs Drupal tests from command line.
*/
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green.
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red.
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown.
// Set defaults and get overrides.
list($args, $count) = simpletest_script_par... | Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
... | Shell |
#!/bin/bash
#any ipsw should work
URL="http://appldnld.apple.com/iPhone4/041-0551.20110325.Aw2Dr/iPhone3,1_4.3.1_8G4_Restore.ipsw"
IPSW="iPhone3,1_4.3.1_8G4_Restore.ipsw"
RAMDISK="038-0902-005.dmg"
CUSTOMRAMDISK="myramdisk.dmg"
IMG3FS="./img3fs/img3fs"
IMG3MNT="/tmp/img3"
if [ ! -f $IPSW ]; then
curl -O $URL
fi
... | Shell |
#!/bin/sh
cat /dev/rdisk0s2s1 | netcat -l -p 1234
| 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/sh
echo "Content-Type: text/plain"
echo
echo "This is shell script CGI."
| Shell |
#!/bin/sh
echo "echoing bad headers: server must report status 500"
exec 1>&2
echo shit!!!
| Shell |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo $QUERY_STRING
| 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
# 打开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
#
set -ue
backend=""
# match dev_appserver oauth2 default user_id
userID="0"
while [ $# -ge 1 ]
do
arg="$1"
shift
if [ "$arg" == "-b" ]
then
backend=1
else
userID="$arg"
fi
done
if [ "$backend" ]
then
# matcher backend
set -x
curl --data-binary "{}" -H "Content-Type: applicatio... | Shell |
#!/bin/bash
#
set -uex
dev_appserver.py \
--host 0.0.0.0 \
--skip_sdk_update_check yes \
. $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/list-games'
| Shell |
#!/bin/bash
#
set -ue
# make sure stuff is installed
[ ! -d 'node_modules' ] && npm install socket.io express
set -x
# run the game
node games-server/main.js $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/debug'
| Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/ping"
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/start-game'
| Shell |
#!/bin/bash
#
set -ue
pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' )
set -x
data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }'
curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234... | Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/log"
| Shell |
#!/bin/sh
# django-helpdesk shell script to upload to pypi.
WORKDIR=/tmp/django-helpdesk-build.$$
mkdir $WORKDIR
pushd $WORKDIR
git clone git://github.com/rossp/django-helpdesk.git
cd django-helpdesk
/usr/bin/python2.4 setup.py bdist_egg upload
/usr/bin/python2.5 setup.py bdist_egg upload
/usr/bin/python2.5 setup.py... | Shell |
#!/bin/sh
# Reprepro & inoticoming dir for logs
# put this directory where you need
INOTICOMINGLOG="/var/log/reprepro/inoticoming/"
# For each Repository in
REPREPROBASEDIRLIST="/srv/hardy /srv/lucid "
# Create directory (for if the flies)
if [ -d "$INOTICOMINGLOG" ] ; then
echo "Directory created... nothing... | Shell |
#!/bin/sh
# Reprepro & inoticoming dir for logs
# put this directory where you need
INOTICOMINGLOG="/var/log/reprepro/inoticoming/"
# For each Repository in
REPREPROBASEDIRLIST="/srv/hardy /srv/lucid "
# Create directory (for if the flies)
if [ -d "$INOTICOMINGLOG" ] ; then
echo "Directory created... nothing... | Shell |
#!/bin/sh
grep ".deb" | sed -e "s%.*\/%%g;s%\_all.deb%%g;s%\_i386.deb%%g;s%'%%g;s%\_% \(\_%g;s%$%\_\)%g;s%^% \* %g"
| Shell |
#!/bin/sh
ABSTRACTFILE="$(mktemp /tmp/adminpool.XXXX)"
echo "Actualizando pool unico llx1206 "
reprepro -b /srv/nfs/lliurex1206/llx1206-unico/ -V --noskipold update #2>>$ABSTRACTFILE | tee -a $ABSTRACTFILE
reprepro -b /srv/nfs/lliurex1206/llx1206-unico/ retrack | tee -a $ABSTRACTFILE
reprepro -b /srv/nfs/lliurex1... | Shell |
#!/bin/sh
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/nwfermi-0.4.5_i386.deb
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/opensc-dnie_1.4.8-1_i386_ll.deb
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/easy-interactive-driv... | Shell |
#!/bin/sh
#USERS_AT_HOSTS="lliurex@oogie.lliurex.fs lliurex@lliurex.net"
USERS_AT_FTP="lliurex@arxiu.lliurex.net"
WIKIFILE=$(mktemp /home/lliurex/wikifile.XXXX)
for uaf in $USERS_AT_FTP; do
echo "Copiando archivos a $uaf "
echo ""
if [ -r "$HOME/.ssh/$uaf.key" ]; then
RSYNC_RSH="ssh -i $HOME/.ssh/$uaf.key"
el... | Shell |
#!/bin/sh
grep ".deb" | sed -e "s%.*\/%%g;s%\_all.deb%%g;s%\_i386.deb%%g;s%'%%g;s%\_% \(\_%g;s%$%\_\)%g;s%^% \* %g"
| Shell |
#!/bin/sh
ABSTRACTFILE="$(mktemp /tmp/adminpool.XXXX)"
echo "Actualizando pool unico llx1206 "
reprepro -b /srv/nfs/lliurex1206/llx1206-unico/ -V --noskipold update #2>>$ABSTRACTFILE | tee -a $ABSTRACTFILE
reprepro -b /srv/nfs/lliurex1206/llx1206-unico/ retrack | tee -a $ABSTRACTFILE
reprepro -b /srv/nfs/lliurex1... | Shell |
#!/bin/bash
# Fail on errors
set -e
# GLOBAL VALUES
DISTRIBUTION="llx1206"
INCOMING_POOL="zlx1206"
#INCOMING_POOL_APP="zlx1009APP"
# FILTER_LIST
FILTER_LIST_PREFIX="llx1206_"
FILTER_LIST_SUFFIX="-filterList.txt"
DISTRO_FINAL_DIR="/srv/nfs/lliurex1206/fllx1009/"
DISTRIBUTIONS="stable"
DEBOOTSTRAP_DIR="/tmp/debootstr... | Shell |
#!/bin/sh
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/nwfermi-0.4.5_i386.deb
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/opensc-dnie_1.4.8-1_i386_ll.deb
reprepro -b /srv/nfs/lliurex1206/zlx1206/ -C main includedeb zlx1206 ../debs/easy-interactive-driv... | Shell |
#!/bin/sh
#USERS_AT_HOSTS="lliurex@oogie.lliurex.fs lliurex@lliurex.net"
USERS_AT_FTP="lliurex@arxiu.lliurex.net"
WIKIFILE=$(mktemp /home/lliurex/wikifile.XXXX)
for uaf in $USERS_AT_FTP; do
echo "Copiando archivos a $uaf "
echo ""
if [ -r "$HOME/.ssh/$uaf.key" ]; then
RSYNC_RSH="ssh -i $HOME/.ssh/$uaf.key"
el... | Shell |
#!/bin/bash
# Fail on errors
set -e
# GLOBAL VALUES
DISTRIBUTION="llx1206"
INCOMING_POOL="zlx1206"
#INCOMING_POOL_APP="zlx1009APP"
# FILTER_LIST
FILTER_LIST_PREFIX="llx1206_"
FILTER_LIST_SUFFIX="-filterList.txt"
DISTRO_FINAL_DIR="/srv/nfs/lliurex1206/fllx1009/"
DISTRIBUTIONS="stable"
DEBOOTSTRAP_DIR="/tmp/debootstr... | Shell |
#!/bin/sh
# Reprepro & inoticoming dir for logs
# put this directory where you need
INOTICOMINGLOG="/var/log/reprepro/inoticoming/"
# For each Repository in
REPREPROBASEDIRLIST="/srv/nfs/lliurex1109/zlx1109 /srv/nfs/lucid64 "
# Create directory (for if the flies)
if [ -d "$INOTICOMINGLOG" ] ; then
echo "Directory c... | Shell |
#!/bin/bash
set -e
DIRECTORIES="/srv/nfs/lliurex1109/zlx1109 /srv/nfs/lliurex1206/zlx1206 /srv/nfs/lliurex1109/zlxexperimental"
case $1 in
start)
for d in $DIRECTORIES; do
cd $d
ERROR=$(./adminpool-inoticoming.sh |true)
logger -t "adminpool" "$ERROR"
done
;;
*)
echo "Usage: /etc/i... | Shell |
#!/bin/bash
set -e
DIRECTORIES="/srv/nfs/lliurex1109/zlx1109 /srv/nfs/lliurex1206/zlx1206 /srv/nfs/lliurex1109/zlxexperimental"
case $1 in
start)
for d in $DIRECTORIES; do
cd $d
ERROR=$(./adminpool-inoticoming.sh |true)
logger -t "adminpool" "$ERROR"
done
;;
*)
echo "Usage: /etc/i... | Shell |
#!/bin/sh
# Reprepro & inoticoming dir for logs
# put this directory where you need
INOTICOMINGLOG="/var/log/reprepro/inoticoming/"
# For each Repository in
REPREPROBASEDIRLIST="/srv/nfs/lliurex1109/zlx1109 /srv/nfs/lucid64 "
# Create directory (for if the flies)
if [ -d "$INOTICOMINGLOG" ] ; then
echo "Directory c... | Shell |
#!/bin/sh
#
### $Id: run.sh abhayani@redhat.com $ ###
#
# Mobicents Media Server Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SS7 CLI Bootstrap Script ##
## ##... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.