code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Last modified: 1994-03-25
# Public domain
errstatus=0
for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
f... | Shell |
#! /bin/sh
# Generate dependencies and rules for building simple programs
# from one source file.
missing=
symbols=
for file in .. $*; do
if test -f $file; then
dir=`echo $file | sed 's,/[^/]*$,,'`
name=`echo $file | sed 's,^.*/,,' | sed 's,\.[^.]*$,,'`
ext=`echo $file | sed 's,^.*\.,,'`
includes=
... | Shell |
#! /bin/sh
# Generate dependencies and rules for multifile binaries like the
# makedoc program. Usage is 'script binary_target sourcefiles'
first=$1
depend=
missing=
if test -n "$first"; then
for file in $*; do
if test $first != $file; then
if test -f $file; then
dir=`echo $file | sed 's,/[^/]*$,,'`
... | Shell |
#! /bin/sh
# Usage: depmod.sh module_name libraries sources ...
# Generate dependencies and rules for building dynamically loaded modules
# under Unices.
modname=$1
modlibs=$2
shift; shift
sources=$*
objects=`echo $sources | sed 's,[^ ]*/,,g;s,\.[^. ]*,,g'`
MODNAME=`echo $modname | tr a-z A-Z`
module="alleg-${... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, ... | Shell |
#! /bin/sh
# Usage: deplexe.sh libraries sources ...
# Generate dependencies and rules for building simple programs
# from one source file and library.
libs=$1
shift
missing=
symbols=
for file in .. $*; do
if test -f $file; then
dir=`echo $file | sed 's,/[^/]*$,,'`
name=`echo $file | sed 's,^.*/,,' | sed ... | Shell |
#!/bin/sh
# gcc-uni.sh
# ----------
# By Matthew Leverton
#
# Builds a universal binary by a multi-step process to allow for individual
# options for both architectures. Its primary use is to be used as a wrapper
# for makefile based projects.
#
# Although untested, it should be able to build OS X 10.2 compatible bui... | Shell |
#! /bin/sh
#
# Shell script to create a distribution zip, generating the manifest
# file and optionally building diffs against a previous version. This
# should be run from the allegro directory, but will leave the zip
# files in the parent directory.
#
# This script tries to generate dependencies for all the sup... | Shell |
#! /bin/sh
# Generate dependencies and rules for building the datafile plugins library.
plugin_files="$* tools/plugins/*.c"
objects=`echo $plugin_files | sed 's,[^ ]*/,,g;s,\.[^. ]*,,g'`
# Normal library.
prev="LIBALDAT_OBJECTS ="
for file in .. $objects; do
if test "$file" != ..; then
echo "$prev \\"
pr... | Shell |
#! /bin/sh
# Generate dependencies and rules for building libraries.
# write_code: Writes the Make rules to create a set of libraries.
# Pass the library type (e.g. `alleg') and the object list variables' prefix
# (e.g. 'LIBALLEG'). What a nasty mixture of shell and Make variables...
write_code() {
staticlib... | Shell |
#!/bin/sh
# This script, by Neil Townsend, is for cross-compilers to parse the `asmdef.s'
# file and generate `asmdef.inc'.
# Updated by Peter Wang.
# Parse command-line arguments
if [ $# != 2 ]; then
echo "usage: $0 asmdef.s asmdef.inc"
exit 1
fi
s_file=$1
inc_file=$2
# 1. Get the comments
grep "/\*" $s_file | ... | Shell |
#!/bin/bash
echo Type $0 -help for help
CP=../../all-libs/almanactools.jar
CP=$CP:../../all-libs/nauticalalmanac.jar
CP=$CP:../../all-libs/geomutil.jar
CP=$CP:../../all-libs/nmeaparser.jar
sCP=$CP:../../all-libs/coreutilities.jar
java -cp $CP app.samples.VikingSunCompass $*
| Shell |
#!/bin/bash
echo Type $0 -help for help
CP=../../all-libs/almanactools.jar
CP=$CP:../../all-libs/nauticalalmanac.jar
CP=$CP:../../all-libs/geomutil.jar
CP=$CP:../../all-libs/nmeaparser.jar
sCP=$CP:../../all-libs/coreutilities.jar
java -cp $CP app.samples.VikingSunCompass $*
| 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 |
#!/bin/sh
log=undefined
check=undefined
stats=undefined
coverage=undefined
profile=undefined
competition=no
feedback=no
olevel=none
other=none
picosat=no
static=no
debug=no
die () {
echo "*** configure: $*" 1>&2
exit 1
}
while [ $# -gt 0 ]
do
case $1 in
-h|--help)
echo "usage: configure [<option> ...]... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#!/bin/bash
myret="`./cryptominisat --nosolprint --verbosity=1 AProVE09-12.cnf.gz`"
if [ "$myret" == "c SATISFIABLE" ]
then
exit 0
fi
| Shell |
#!/bin/bash
myret="`./cryptominisat --nosolprint --verbosity=1 AProVE09-12.cnf.gz`"
if [ "$myret" == "c SATISFIABLE" ]
then
exit 0
fi
| Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2010-01-22'
# This file is (in principle) common to ALL GNU software.
# The pres... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
log=undefined
check=undefined
stats=undefined
coverage=undefined
profile=undefined
competition=no
feedback=no
olevel=none
other=none
picosat=no
static=no
debug=no
die () {
echo "*** configure: $*" 1>&2
exit 1
}
while [ $# -gt 0 ]
do
case $1 in
-h|--help)
echo "usage: configure [<option> ...]... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#!/bin/bash
myret="`./cryptominisat --nosolprint --verbosity=1 AProVE09-12.cnf.gz`"
if [ "$myret" == "c SATISFIABLE" ]
then
exit 0
fi
| Shell |
#!/bin/bash
myret="`./cryptominisat --nosolprint --verbosity=1 AProVE09-12.cnf.gz`"
if [ "$myret" == "c SATISFIABLE" ]
then
exit 0
fi
| Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2010-01-22'
# This file is (in principle) common to ALL GNU software.
# The pres... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
#Check if Alliance.app exists
if [ -d "/Applications/Alliance.app/" ]; then
#if so, delete it
rm -r /Applications/Alliance.app/
fi
#Check if Alliance.app exists in 2nd location
if [ -d "/Users/$USER/Applications/Alliance.app/" ]; then
#if so, delete it
rm -r /Users/$USER/Applications/Alliance.app/
fi
| Shell |
#! /bin/sh
# Checks if Volume then Applications (OSX Lion)
if [ -d "/Applications/data/" ]; then
# Delete data folder in App incase it already exists
rm -r /Applications/Alliance.app/Contents/Resources/Javadata/
# Make data folder inside Alliance App.
mkdir -p /Applications/Alliance.app/Contents/Resources/Javadat... | Shell |
#! /bin/sh
#Check if Alliance.app exists
if [ -d "/Applications/Alliance.app/" ]; then
#if so, delete it
rm -r /Applications/Alliance.app/
fi
#Check if Alliance.app exists in 2nd location
if [ -d "/Users/$USER/Applications/Alliance.app/" ]; then
#if so, delete it
rm -r /Users/$USER/Applications/Alliance.app/
fi
| Shell |
#! /bin/sh
# Checks if Volume then Applications (OSX Lion)
if [ -d "/Applications/data/" ]; then
# Delete data folder in App incase it already exists
rm -r /Applications/Alliance.app/Contents/Resources/Javadata/
# Make data folder inside Alliance App.
mkdir -p /Applications/Alliance.app/Contents/Resources/Javadat... | Shell |
ssh -C -N -L 37010:localhost:37010 mod.math.washington.edu
| Shell |
#! /bin/sh -e
if test -z "$SRCDIR" || test -z "$PINTOSDIR" || test -z "$DSTDIR"; then
echo "usage: env SRCDIR=<srcdir> PINTOSDIR=<srcdir> DSTDIR=<dstdir> sh $0"
echo " where <srcdir> contains bochs-2.2.6.tar.gz"
echo " and <pintosdir> is the root of the pintos source tree"
echo " and <dstdir> is... | Shell |
#! /bin/sh -e
if test -z "$SRCDIR" || test -z "$PINTOSDIR" || test -z "$DSTDIR"; then
echo "usage: env SRCDIR=<srcdir> PINTOSDIR=<srcdir> DSTDIR=<dstdir> sh $0"
echo " where <srcdir> contains bochs-2.2.6.tar.gz"
echo " and <pintosdir> is the root of the pintos source tree"
echo " and <dstdir> is... | Shell |
#! /bin/sh
# Path to GDB macros file. Customize for your site.
GDBMACROS=/usr/class/cs140/pintos/pintos/src/misc/gdb-macros
# Choose correct GDB.
if command -v i386-elf-gdb >/dev/null 2>&1; then
GDB=i386-elf-gdb
else
GDB=gdb
fi
# Run GDB.
if test -f "$GDBMACROS"; then
exec $GDB -x "$GDBMACROS" "$@"
else
echo "*... | Shell |
#! /bin/sh
# Path to GDB macros file. Customize for your site.
GDBMACROS=/usr/class/cs140/pintos/pintos/src/misc/gdb-macros
# Choose correct GDB.
if command -v i386-elf-gdb >/dev/null 2>&1; then
GDB=i386-elf-gdb
else
GDB=gdb
fi
# Run GDB.
if test -f "$GDBMACROS"; then
exec $GDB -x "$GDBMACROS" "$@"
else
echo "*... | Shell |
#!/bin/bash
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/synonym.logic synbig 50 2001 no yes
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/hypernym.logic hypsmall 5 101 yes no
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/hypernym.logic hypbig 50 2001 no no
java -cp dist/ALLOE.jar ... | Shell |
#!/bin/bash
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/synonym.logic synbig 50 2001 no yes
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/hypernym.logic hypsmall 5 101 yes no
java -cp dist/ALLOE.jar nii.alloe.runs.Simulations logics/hypernym.logic hypbig 50 2001 no no
java -cp dist/ALLOE.jar ... | Shell |
#!/bin/sh
# Start GUI Vim on a copy of the tutor file.
# Usage: gvimtutor [xx]
# See vimtutor for usage.
exec `dirname $0`/vimtutor -g "$@"
| Shell |
#! /bin/sh
# Start Vim on a copy of the tutor file.
# Usage: vimtutor [-g] [xx]
# Where optional argument -g starts vimtutor in gvim (GUI) instead of vim.
# and xx is a language code like "es" or "nl".
# When an argument is given, it tries loading that tutor.
# When this fails or no argument was given, it tries using... | Shell |
#! /bin/sh
# installman.sh --- install or uninstall manpages for Vim
#
# arguments:
# 1 what: "install", "uninstall" or "xxd"
# 2 target directory e.g., "/usr/local/man/it/man1"
# 3 language addition e.g., "" or "-it"
# 4 vim location as used in manual pages e.g., "/usr/local/share/vim"
# 5 runtime dir ... | Shell |
#! /bin/sh
#
# which.sh -- find where an executable is located. It's here because the
# "which" command is not supported everywhere. Used by Makefile.
IFS=":"
for ac_dir in $PATH; do
if test -f "$ac_dir/$1"; then
echo "$ac_dir/$1"
break
fi
done
| Shell |
#! /bin/sh
#
# link.sh -- try linking Vim with different sets of libraries, finding the
# minimal set for fastest startup. The problem is that configure adds a few
# libraries when they exist, but this doesn't mean they are needed for Vim.
#
# Author: Bram Moolenaar
# Last change: 2010 Nov 03
# License: Publi... | Shell |
#! /bin/sh
#
# osdef.sh -- copy osdef.h.in to osdef.h while removing declarations
# found in the system header files. Caution: weird sed magic going on here.
# Warnings are printed if sed did not survive.
#
# (C) Michael Schroeder, Juergen Weigert
#
# osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
... | Shell |
#! /bin/sh
#
# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
#
if test -s auto/link.sed; then
cp auto/pathdef.c auto/pathdef.tmp
sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
rm -f auto/pathdef.tmp
fi
# vim:set sw=2 et:
| Shell |
#!/bin/sh
# toolcheck -- check for tools that have severe bugs. Good that all the buggy
# tools identify by version numbers. This is the spirit of GNU :-)
#
# 24.7.95 jw.
retval=0
reply="`sh -version -c exit 2>&1 < /dev/null`"
case "$reply" in
GNU*1.14.3*)
echo "- sh is '$reply'";
echo " CAUTION: This she... | Shell |
#! /bin/sh
# installml.sh --- install or uninstall manpage links for Vim
#
# arguments:
# 1 what: "install" or "uninstall"
# 2 also do GUI pages: "yes" or ""
# 3 target directory e.g., "/usr/local/man/it/man1"
# 4 vim exe name e.g., "vim"
# 5 vimdiff exe name e.g., "vimdiff"
# 6 evim exe name ... | Shell |
#!/bin/sh
#
# ref - Check spelling of the arguments
#
# Usage: ref word ..
#
# can be used for the K command of Vim
#
spell <<EOF
$*
EOF
| Shell |
#!/bin/sh
# enable DEC locator input model on remote terminal
printf "\033[1;2'z\033[1;3'{\c"
vim "$@"
# disable DEC locator input model on remote terminal
printf "\033[2;4'{\033[0'z\c"
| Shell |
#!/bin/sh
# Shell script to start Vim with less.vim.
# Read stdin if no arguments were given and stdin was redirected.
if test -t 1; then
if test $# = 0; then
if test -t 0; then
echo "Missing filename" 1>&2
exit
fi
vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' -
else
... | Shell |
#! /bin/sh
prefix=stock_
list=
for file in "$@"
do
name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
list="$list $prefix$name $file"
done
gdk-pixbuf-csource --raw --static --build-list $list
| Shell |
java -cp `dirname $0`/cobertura.jar:`dirname $0`/lib/asm-2.2.1.jar:`dirname $0`/lib/asm-tree-2.2.1.jar:`dirname $0`/lib/log4j-1.2.9.jar:`dirname $0`/lib/jakarta-oro-2.0.8.jar net.sourceforge.cobertura.reporting.Main $*
| Shell |
java -cp `dirname $0`/cobertura.jar:`dirname $0`/lib/asm-2.2.1.jar:`dirname $0`/lib/asm-tree-2.2.1.jar:`dirname $0`/lib/log4j-1.2.9.jar:`dirname $0`/lib/jakarta-oro-2.0.8.jar net.sourceforge.cobertura.instrument.Main $*
| Shell |
java -cp `dirname $0`/cobertura.jar:`dirname $0`/lib/asm-2.2.1.jar:`dirname $0`/lib/asm-tree-2.2.1.jar:`dirname $0`/lib/log4j-1.2.9.jar:`dirname $0`/lib/jakarta-oro-2.0.8.jar net.sourceforge.cobertura.merge.Main $*
| Shell |
java -cp `dirname $0`/cobertura.jar:`dirname $0`/lib/asm-2.2.1.jar:`dirname $0`/lib/asm-tree-2.2.1.jar:`dirname $0`/lib/log4j-1.2.9.jar:`dirname $0`/lib/jakarta-oro-2.0.8.jar net.sourceforge.cobertura.check.Main $*
| Shell |
#!/bin/bash
FILES=graphs/*
for f in $FILES
do
echo "Processing $f file..."
cat $f | dot -Tpng > $f.png
done
| Shell |
#!/bin/bash
FILES=graphs/*
for f in $FILES
do
echo "Processing $f file..."
cat $f | dot -Tpng > $f.png
done
| 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 |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
# Test compilation with node-sass binary
mkdir -p tmp/node-sass
node-sass assets/stylesheets/bootstrap -o tmp/node-sass/bootstrap.css && \
node-sass assets/stylesheets/bootstrap/theme -o tmp/node-sass/bootstrap-theme.css || \
(echo "node-sass compilation failed" && exit 1)
| Shell |
#!/bin/sh
# Test compilation with node-sass binary
mkdir -p tmp/node-sass
node-sass assets/stylesheets/bootstrap -o tmp/node-sass/bootstrap.css && \
node-sass assets/stylesheets/bootstrap/theme -o tmp/node-sass/bootstrap-theme.css || \
(echo "node-sass compilation failed" && exit 1)
| Shell |
#!/bin/bash
# Android Screenshot Library #
##############################
# Startup script #
echo "Android Screenshot Library -- initializing..."
#
if [ -z $ANDROID ]; then
echo "*** Android SDK not found ***"
echo "Make sure the ANDROID variable is pointing to Android SDK root directory"
else
adb="$AN... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/registrar-5min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 300 \
DS:nIncReqs:COUNTER:600:U:U \
DS:nResOK:COUNTER:600:U:U \
DS:nR... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/registrar-1min.rrd
# Output file with registrar stats
out_registrar=$base_dir/extra/stats/png/registrar.png
# Output file with registrar Java VM stats
out_vm=$base_dir/extra/stat... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/location-service-1min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nBindings:vm_freememory:vm_maxmemory:vm_totalmemory \
N:`$base_dir/bin/cmdclient -rknc rm... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/registrar-1min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 60 \
DS:nIncReqs:COUNTER:120:U:U \
DS:nResOK:COUNTER:120:U:U \
DS:nRe... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/registrar-5min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nIncReqs:nResOK:nReqRej:nReqErrors:nAuthFails:nCancels:nCCancels:nQueries:nUpdates:nNotFound:vm_... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/location-service-1min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 60 \
DS:nBindings:GAUGE:120:U:U \
DS:vm_freememory:GAUGE:120:U:U ... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/proxy-1min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 60 \
DS:nReqProc:COUNTER:120:U:U \
DS:nResProc:COUNTER:120:U:U \
DS:nRe... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/location-service-5min.rrd
# Output file with location service stats
out_location_service=$base_dir/extra/stats/png/location-service.png
# Output file with location service Java V... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/proxy-5min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nReqProc:nResProc:nReqNProc:nResNProc:nST:nCT:vm_freememory:vm_maxmemory:vm_totalmemory \
N:`$base_d... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/registrar-1min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nIncReqs:nResOK:nReqRej:nReqErrors:nAuthFails:nCancels:nCCancels:nQueries:nUpdates:nNotFound:vm_... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/location-service-5min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nBindings:vm_freememory:vm_maxmemory:vm_totalmemory \
N:`$base_dir/bin/cmdclient -rknc rm... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/location-service-5min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 300 \
DS:nBindings:GAUGE:600:U:U \
DS:vm_freememory:GAUGE:600:U:U ... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/proxy-1min.rrd
#echo "Output filename: $out"
rrdtool update $out \
-t nReqProc:nResProc:nReqNProc:nResNProc:nST:nCT:vm_freememory:vm_maxmemory:vm_totalmemory \
N:`$base_d... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/proxy-5min.rrd
# Output file with proxy request processings stats
out_proxy_reqs=$base_dir/extra/stats/png/proxy-reqs.png
# Output file with proxy transactions stats
out_proxy_tr... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/location-service-1min.rrd
# Output file with location service stats
out_location_service=$base_dir/extra/stats/png/location-service.png
# Output file with location service Java V... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/proxy-1min.rrd
# Output file with proxy request processings stats
out_proxy_reqs=$base_dir/extra/stats/png/proxy-reqs.png
# Output file with proxy transactions stats
out_proxy_tr... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Input file
in=$base_dir/extra/stats/rrd/registrar-5min.rrd
# Output file with registrar stats
out_registrar=$base_dir/extra/stats/png/registrar.png
# Output file with registrar Java VM stats
out_vm=$base_dir/extra/stat... | Shell |
#!/bin/sh
# Installation directory
base_dir=`realpath "$0"/../../../../`
#echo base_dir=$base_dir
# Output .rrd file
out=$base_dir/extra/stats/rrd/proxy-5min.rrd
#echo "Output filename: $out"
rrdtool create $out \
--step 300 \
DS:nReqProc:COUNTER:600:U:U \
DS:nResProc:COUNTER:600:U:U \
DS:nR... | Shell |
#!/bin/bash
###
# This scripts updates the local repo with the latest changes from github.
#
# The master branch will be REPLACED with what's in github and all local changes
# will be LOST.
###
git checkout master
git fetch -f origin
git fetch --tags origin
git reset --hard origin/master
| Shell |
#!/bin/bash
###
# This scripts updates the local repo with the latest changes from github.
#
# The master branch will be REPLACED with what's in github and all local changes
# will be LOST.
###
git checkout master
git fetch -f origin
git fetch --tags origin
git reset --hard origin/master
| 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 |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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
#
# 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.