code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
cococpp sql.atg
g++ Scanner.cpp Parser.cpp sql.cpp -o sql
./sql
| 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 repository)
... | 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 repository)
... | Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyAIMt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyAIMt should be started with: python PyAIMt.py"
sleep 2
python ./PyAIMt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyAIMt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyAIMt should be started with: python PyAIMt.py"
sleep 2
python ./PyAIMt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyICQt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyICQt should be started with: python PyICQt.py"
sleep 2
python ./PyICQt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyICQt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyICQt should be started with: python PyICQt.py"
sleep 2
python ./PyICQt.py
| Shell |
#!/bin/sh
#
# This file was automatically customized by debmake on Thu, 20 Feb 1997 17:33:12 +0100
#
# Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>.
# Modified for De... | Shell |
#!/bin/sh
# PROVIDE: xmpppyirc
# REQUIRE: DAEMON
. /etc/rc.subr
name="xmpppyirc"
pidfile="/var/run/$name.pid"
command="/usr/local/lib/python2.4/site-packages/xmpp/irc/irc.py"
command_args="2>/dev/null >/dev/null &"
command_interpreter="/usr/local/bin/python2.4"
start_precmd="touch $pidfile && export PID=$pidfile"
... | Shell |
#!/bin/sh
#
# This file was automatically customized by debmake on Thu, 20 Feb 1997 17:33:12 +0100
#
# Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>.
# Modified for De... | Shell |
#!/bin/sh
# PROVIDE: xmpppyirc
# REQUIRE: DAEMON
. /etc/rc.subr
name="xmpppyirc"
pidfile="/var/run/$name.pid"
command="/usr/local/lib/python2.4/site-packages/xmpp/irc/irc.py"
command_args="2>/dev/null >/dev/null &"
command_interpreter="/usr/local/bin/python2.4"
start_precmd="touch $pidfile && export PID=$pidfile"
... | Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyAIMt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyAIMt should be started with: python PyAIMt.py"
sleep 2
python ./PyAIMt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyAIMt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyAIMt should be started with: python PyAIMt.py"
sleep 2
python ./PyAIMt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyICQt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyICQt should be started with: python PyICQt.py"
sleep 2
python ./PyICQt.py
| Shell |
#!/usr/bin/env bash
#
# This is just a temporary wrapper to get folk used to starting up PyICQt
# in a different manner.
#
echo "This script is deprecated and will vanish in a future version."
echo "PyICQt should be started with: python PyICQt.py"
sleep 2
python ./PyICQt.py
| Shell |
#!/bin/sh
#
# This file was automatically customized by debmake on Thu, 20 Feb 1997 17:33:12 +0100
#
# Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>.
# Modified for De... | Shell |
#!/bin/sh
# PROVIDE: xmpppyirc
# REQUIRE: DAEMON
. /etc/rc.subr
name="xmpppyirc"
pidfile="/var/run/$name.pid"
command="/usr/local/lib/python2.4/site-packages/xmpp/irc/irc.py"
command_args="2>/dev/null >/dev/null &"
command_interpreter="/usr/local/bin/python2.4"
start_precmd="touch $pidfile && export PID=$pidfile"
... | Shell |
#!/bin/sh
#
# This file was automatically customized by debmake on Thu, 20 Feb 1997 17:33:12 +0100
#
# Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# Modified for Debian by Christoph Lameter <clameter@debian.org>.
# Modified for De... | Shell |
#!/bin/sh
# PROVIDE: xmpppyirc
# REQUIRE: DAEMON
. /etc/rc.subr
name="xmpppyirc"
pidfile="/var/run/$name.pid"
command="/usr/local/lib/python2.4/site-packages/xmpp/irc/irc.py"
command_args="2>/dev/null >/dev/null &"
command_interpreter="/usr/local/bin/python2.4"
start_precmd="touch $pidfile && export PID=$pidfile"
... | Shell |
#!/bin/sh
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make
| Shell |
#!/bin/sh
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make
| Shell |
#!/bin/sh
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make
| Shell |
#!/bin/sh
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make
| Shell |
#/usr/bin/sh
php /home/faryne/samba/yahoo_order_dev/proxypy_collector.php
svn ci -m "Commit ProxyPy List ver. `date`" /home/faryne/samba/yahoo_order_dev/proxypy.xml >> /dev/null
| Shell |
#!/bin/sh
# -y turns off interactive mode
if [ "$1" = -y ]; then
shift
else
INTER=true
fi
for td in Configs bin external lib Logs run Yammer
do
if [ ! -d "$td" ]; then
echo $0: must be run from the top directory of the yammer.net \
distribution 1>&2
exit 1
fi
done
YROOT=`/bin/pwd`
PYTHONPATH=... | Shell |
#!/bin/sh
# -y turns off interactive mode
if [ "$1" = -y ]; then
shift
else
INTER=true
fi
for td in Configs bin external lib Logs run Yammer
do
if [ ! -d "$td" ]; then
echo $0: must be run from the top directory of the yammer.net \
distribution 1>&2
exit 1
fi
done
YROOT=`/bin/pwd`
PYTHONPATH=... | 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
java -jar @project.build.finalName@.jar | Shell |
#!/bin/bash
java -jar @project.build.finalName@.jar | Shell |
#!/usr/bin/env bash
# Create symbolic link of CC system into SBCL system directory.
mkdir -p ~/.sbcl/systems
ln -fs `pwd`\/cc.asd ~/.sbcl/systems/cc.asd
| Shell |
#!/usr/bin/env bash
# Create symbolic link of lit system into SBCL system directory.
bochs -n -q 'boot: a' \
'floppya: 1_44=floppy.img, status=inserted' \
'megs: 32' \
# 'cpuid: x86_64=1, sse=sse4_2, sep=1, apic=1'
| Shell |
#!/bin/bash
# INFO:
#
# This Phoenix was written by Daniel Kinzler, for the wikimedia toolserver
# It has *no* affiliation with the writers of this YamaBot, and is included to
# assist in the automatic restarting the bot (Specifically preventing crontab
# from repeatedly executing the bot)
#
# Please do not forget to... | Shell |
#!/bin/bash
# INFO:
#
# This Phoenix was written by Daniel Kinzler, for the wikimedia toolserver
# It has *no* affiliation with the writers of this YamaBot, and is included to
# assist in the automatic restarting the bot (Specifically preventing crontab
# from repeatedly executing the bot)
#
# Please do not forget to... | 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="release-$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(... | 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="release-$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(... | Shell |
#!/bin/bash
#
# Simple test of Go oracle/Emacs integration.
# Requires that GOROOT and GOPATH are set.
# Side effect: builds and installs oracle in $GOROOT.
set -eu
[ -z "$GOROOT" ] && { echo "Error: GOROOT is unset." >&2; exit 1; }
[ -z "$GOPATH" ] && { echo "Error: GOPATH is unset." >&2; exit 1; }
log=/tmp/$(basen... | Shell |
#!/usr/bin/env bash
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This script creates a complete godoc app in $APPDIR.
# It copies the cmd/godoc and src/pkg/go/... sources from GOROOT,
# synthesizes an app.... | Shell |
#!/usr/bin/env bash
# Copyright 2013 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
STATIC="
analysis/call3.png
analysis/call-eg.png
analysis/callers1.png
analysis/callers2.png
analysis/chan1.png
analysis/chan2a.p... | Shell |
#!/bin/bash
#vim: tw=80:sw=4
JAVA=`which java`
TEST262_ROOT_DIR=${1-"./test262"}
YAJI_BUILD_DIR=${2-"../../bin"}
LOG_DIR="./logs"
$JAVA -cp $YAJI_BUILD_DIR org.yaji.test.Runner --testDir=$TEST262_ROOT_DIR/converted --logFile=$LOG_DIR/$0.$$.log --excludes=$TEST262_ROOT_DIR/test/config/excludelist.xml --originals=$TEST... | Shell |
#!/bin/bash
find ./test/suite -name '*.js' -print > /tmp/convert.$$
for i in `cat /tmp/convert.$$` ; do
testName=`echo $i | sed -e "s%./test/suite/%%" -e "s%.js%%"`
dirName=`dirname $testName`
echo $testName [converted/$dirName]
mkdir -pv converted/$dirName
echo "python tools/packaging/test262.py --command ... | Shell |
#!/bin/bash
#vim: tw=80:sw=4
JAVA=`which java`
TEST262_ROOT_DIR=${1-"./test262"}
YAJI_BUILD_DIR=${2-"../../bin"}
LOG_DIR="./logs"
$JAVA -cp $YAJI_BUILD_DIR org.yaji.test.Runner --testDir=$TEST262_ROOT_DIR/converted --logFile=$LOG_DIR/$0.$$.log --excludes=$TEST262_ROOT_DIR/test/config/excludelist.xml --originals=$TEST... | Shell |
#!/bin/bash
find ./test/suite -name '*.js' -print > /tmp/convert.$$
for i in `cat /tmp/convert.$$` ; do
testName=`echo $i | sed -e "s%./test/suite/%%" -e "s%.js%%"`
dirName=`dirname $testName`
echo $testName [converted/$dirName]
mkdir -pv converted/$dirName
echo "python tools/packaging/test262.py --command ... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-12-04.11; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.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
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gmock-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gmock-config' script provides access to the necessary compile and linking
flag... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-12-04.11; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.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
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gtest-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gtest-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#!/bin/sh
VMA_LIBRARY_MAJOR=`grep "VMA_LIBRARY_MAJOR=" configure.ac | cut -f2 -d '='`
VMA_LIBRARY_MINOR=`grep "VMA_LIBRARY_MINOR=" configure.ac | cut -f2 -d '='`
VMA_LIBRARY_REVISION=`grep "VMA_LIBRARY_REVISION=" configure.ac | cut -f2 -d '='`
VMA_LIBRARY_RELEASE=`grep "VMA_LIBRARY_RELEASE=" configure.ac | cut -f2 -d ... | Shell |
#!/bin/bash
echo 'Extracting and applying LWIP patches.'
DIR=$1
if [ ! -d "$DIR" ]; then
echo "Invalid directory, $DIR."
exit 1
fi
cd $DIR
unzip -q lwip-1.4.0.rc1.zip
mv lwip-1.4.0.rc1 lwip
cp -r lwip-vma/arch lwip/arch
for i in $(find lwip-vma/ -name Makefile.am); do
cp $i ${i/-vma/}
done
for p in $(cat lwip... | Shell |
#!/bin/bash
# Copyright (C) Mellanox Technologies Ltd. 2001-2013. ALL RIGHTS RESERVED.
#
# This software product is a proprietary product of Mellanox Technologies Ltd.
# (the "Company") and all right, title, and interest in and to the software product,
# including all associated intellectual property rights, are and ... | Shell |
#!/bin/bash
# Copyright (C) Mellanox Technologies Ltd. 2001-2013. ALL RIGHTS RESERVED.
#
# This software product is a proprietary product of Mellanox Technologies Ltd.
# (the "Company") and all right, title, and interest in and to the software product,
# including all associated intellectual property rights, are and ... | Shell |
#!/bin/sh
#
# configurable parameters
# in order to change parameter add PARAMETER_NAME=VALUE before running the script.
#---------------------------------------------------
PPS=${PPS:-"100 1000 10000 50000 125000 500000 1000000 2000000 max"}
#2048 4096 8192 16384 32768 65536"}
M_SIZE=${M_SIZE:-"12 32 64 128 192 256 ... | Shell |
#!/bin/sh
#Force libnl-devel softlink to the installed libnl.so.1
if [ ! -e /usr/lib64/libnl.so ] && [ -e /lib64/libnl.so.1 ]; then
echo Force libnl-devel softlink to the installed libnl.so.1
sudo ln -s /lib64/libnl.so.1 /usr/lib64/libnl.so
fi
#Extract LWIP and apply its patches if necessary
if [ ! -e ./configure ... | Shell |
#!/bin/sh
TEAM="Acceleration"
PROJECT="VMA"
VERSION="6.4"
EXCLUDES="`pwd`/LOC_exclude_VMA.txt"
REPO_GIT="git:///.autodirect/mswg/git/accl/vma.git"
BRANCH="master"
# Run from remote git url (clean from build objects)
python /.autodirect/mtrswgwork/accounter_lines_of_code/bin/loc_count.py -T $TEAM -P $PROJECT -V $VERS... | 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/sh
# you can either set the environment variables AUTOCONF, AUTOHEADER, AUTOMAKE,
# ACLOCAL, AUTOPOINT and/or LIBTOOLIZE to the right versions, or leave them
# unset and get the defaults
autoreconf --verbose --force --install --make || {
echo 'autogen.sh failed';
exit 1;
}
./configure || {
echo 'configure f... | Shell |
#!/bin/bash
date > /tmp/manager_node.txt
DEBIAN_FRONTEND=noninteractive apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install default-jdk
date >> /tmp/manager_node.txt
cd ~ubuntu
sudo -u ubuntu wget -c http://dl.dropbox.com/u/1565752/DSP112/a1/manager_logging.properties
sudo -u ubuntu wget -c http:... | Shell |
#!/bin/bash
date > /tmp/manager_node.txt
DEBIAN_FRONTEND=noninteractive apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install default-jdk
date >> /tmp/manager_node.txt
cd ~ubuntu
sudo -u ubuntu wget -c http://dl.dropbox.com/u/1565752/DSP112/a1/manager_logging.properties
sudo -u ubuntu wget -c http:... | Shell |
#!/bin/bash
date > /tmp/worker_node.txt
DEBIAN_FRONTEND=noninteractive apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install default-jdk
date >> /tmp/worker_node.txt
cd ~ubuntu
sudo -u ubuntu wget -c http://dl.dropbox.com/u/1565752/DSP112/a1/worker_logging.properties
sudo -u ubuntu wget -c http://d... | Shell |
#!/bin/bash
date > /tmp/worker_node.txt
DEBIAN_FRONTEND=noninteractive apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install default-jdk
date >> /tmp/worker_node.txt
cd ~ubuntu
sudo -u ubuntu wget -c http://dl.dropbox.com/u/1565752/DSP112/a1/worker_logging.properties
sudo -u ubuntu wget -c http://d... | Shell |
#!/usr/bin/bash
set -o errexit
if [ $# -lt 1 ]; then
echo "Usage: $0 <version>"
exit 1
fi
ver=$1
dir=AdWhirlSDK_iPhone_$ver
rm -rf $dir
mkdir -p $dir
cp -r iphone/AdWhirl $dir/
cp -r iphone/AdWhirlSDK2_Sample $dir/
cp -r iphone/TouchJSON $dir/
cp iphone/Changelog.txt $dir/
cp iphone/README $dir/
zip -r $dir.zip... | Shell |
#!/bin/ash
# This is a shell wrapper that finds an appropriate nitfol in your path
# and runs it. Requires 'which' and sh. (only tested with bash, so YMMV)
if [ $DISPLAY ] && [ `which xnitfol` ] ; then
xnitfol "$@"
elif [ `which termnitfol` ] ; then
termnitfol -revgrid yes -border no -ml no "$@"
elif [ `whic... | 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
# Intel Mac users : needs java 1.6, set fullpath to java 1.6 instead of default java
# This path is usually : /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
java -Xms256m -Xmx512m -classpath .:./resources:./lib/* com.moviejukebox.MovieJukebox "$@"
| Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
echo -n " test case: '$file': "
$testBin $file > ${file}.test 2>&1
diff -u ${file}.gold ${fil... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
echo -n " test case: '$file': "
$testBin $file > ${file}.test 2>&1
diff -u ${file}.gold ${fil... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
DIFF_FLAGS="-u"
if [[ `uname` == *W32* ]] ; then
DIFF_FLAGS="-wu"
fi
# find test binary on both platforms
testBin="../build/test/Debug/yajl_test.exe"
if [[ ! -x $testBin ]] ; then
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/usr/bin/env bash
testBin="../build/test/yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;
fi
let testsSucceeded=0
let testsTotal=0
for file in cases/*.json ; do
allowComments="-c"
# if the filename starts with dc_, we disallow comments for this test
if [... | Shell |
#!/bin/bash
#
# Simple test of Go oracle/Emacs integration.
# Requires that GOROOT and GOPATH are set.
# Side effect: builds and installs oracle in $GOROOT.
set -eu
[ -z "$GOROOT" ] && { echo "Error: GOROOT is unset." >&2; exit 1; }
[ -z "$GOPATH" ] && { echo "Error: GOPATH is unset." >&2; exit 1; }
log=/tmp/$(basen... | Shell |
#!/usr/bin/env bash
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This script creates a complete godoc app in $APPDIR.
# It copies the cmd/godoc and src/pkg/go/... sources from GOROOT,
# synthesizes an app.... | Shell |
#!/usr/bin/env bash
# Copyright 2013 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
STATIC="
analysis/call3.png
analysis/call-eg.png
analysis/callers1.png
analysis/callers2.png
analysis/chan1.png
analysis/chan2a.p... | Shell |
#! /bin/sh
#
# A very simple script to retrieve and pre-process test data, as used by
# ../python/rundoctest.py
#
# Assumes it is being run in the 'data' directory
# Assumes the presence of 'wget' and 'unzip', and that the tstools have been
# built.
# Retrieve a segment of Elephant's Dream in TS (11 is the smallest se... | 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/sh
if [ ! -d "$PROJECT_DIR/www" ] ; then
cp -R /Users/Shared/Cordova/Frameworks/Cordova.framework/www "$PROJECT_DIR"
fi
# detect www folder reference in project, if missing, print warning
grep "{isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = \"<group>\"; };" "$PROJECT_DIR/$PROJEC... | Shell |
#!/bin/bash
echo "Generating ORMlite resources"
java -classpath lib/ormlite-core-4.31.jar:lib/ormlite-android-4.31.jar:bin/res:bin/classes com.j256.ormlite.android.apptools.OrmLiteConfigUtil ormlite_config.txt
echo "done."
| Shell |
#!/bin/bash
echo "Generating ORMlite resources"
java -classpath lib/ormlite-core-4.31.jar:lib/ormlite-android-4.31.jar:bin/res:bin/classes com.j256.ormlite.android.apptools.OrmLiteConfigUtil ormlite_config.txt
echo "done."
| Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
#!/bin/bash
VERSION="r1"
ndk-build
rm -rf out
mkdir out
cp -r twisted out
cp libs/armeabi/_epoll.so _initgroups.so out/twisted/python
cp libs/armeabi/_sigchld.so out/twisted/internet
cp libs/armeabi/_c_urlarg.so out/twisted/protocols
cp libs/armeabi/raiser.so out/twisted/test
pushd out
rm ../twisted-${VERSION}.zip
zi... | Shell |
#!/bin/bash
VERSION="r1"
ndk-build
rm -rf out
mkdir out
cp -r zope out
cp libs/armeabi/*.so out/zope/interface
pushd out
rm ../zope-${VERSION}.zip
zip -r ../zope-${VERSION}.zip .
popd
| Shell |
#!/bin/bash
# build script for pycrypto for Py4a
VERSION=2.3
NAME=pycrypto
URL=http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto
if [ ! -f ${NAME}-${VERSION}.tar.gz ]; then
wget -O ${NAME}-${VERSION}.tar.gz ${URL}/${NAME}-${VERSION}.tar.gz
fi
if [ ! -d ${NAME}-${VERSION} ]; then
rm -rf ${NAME}-${VERSION}
tar -xv... | Shell |
#!/bin/bash
let cont=0
go run src/verif/yam/tb_lw.go
while [ $? -eq 0 ]
do
echo
echo Finished ok Running $contador
echo ......................
echo ......................
let contador=contador+1
go run src/verif/yam/tb_lw.go
done
| Shell |
#!/bin/bash
let cont=0
go run src/verif/yam/tb_lw.go
while [ $? -eq 0 ]
do
echo
echo Finished ok Running $contador
echo ......................
echo ......................
let contador=contador+1
go run src/verif/yam/tb_lw.go
done
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.