code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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 # # 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 # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster Management for Debian Lenny # IMPORTANT!!!! # This scr...
Shell
#!/bin/bash sh management-install.sh
Shell
#!/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster for Debian Lenny # IMPORTANT!!!! # This script is the ...
Shell
#!/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster for Debian Lenny # Run the mgm-install.sh and mysql-cl...
Shell
#!/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster for Debian Lenny # IMPORTANT!!!! # This script is the ...
Shell
#!/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster for Debian Lenny # Run the mgm-install.sh and mysql-cl...
Shell
#!/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures MySQL Cluster Management for Debian Lenny # IMPORTANT!!!! # This scr...
Shell
#/bin/bash # installer script for AMyCMS client nodes # ONLY RUN ON MYSQL CLUSTER CLIENT NODES # just run all of the scripts in the proper order sh mysql-cluster-install.sh sh cdrinstall.sh sh heartbeat-install.sh
Shell
#/bin/bash # AMyCMS - Asterisk and MySQL Cluster Management Suite # This script is part of the Asterisk and MySQL Cluster configuration and management suite for Debian Lenny # Please see the README for more info # This script installs and configures heartbeat for Debian Lenny # # Copyright Phil Haddad 2009 # you nee...
Shell
#!/bin/bash sh management-install.sh
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
echo hello world | cat cat lorem >out cat out cat lorem |num cat lorem |num |num |num |num |num lsfd -1 cat script sh <script
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/sh verbose=false if [ "x$1" = "x-v" ] then verbose=true out=/dev/stdout err=/dev/stderr else out=/dev/null err=/dev/null fi pts=5 timeout=30 preservefs=n echo_n () { # suns can't echo -n, and Mac OS X can't echo "x\c" # assume argument has no doublequotes awk 'BEGIN { printf("'"$*"'"); }' </dev/null ...
Shell
#!/bin/bash tibwin=`xdotool search 'Tibia Player Linux'` xdotool windowfocus $tibwin xdotool key Down
Shell
gcc -o threaded-c threaded-c.c `pkg-config --cflags --libs glib-2.0` -std=c99 -Wall -Ofast -lpthread
Shell
#!/bin/bash set -u generate() { for i in `seq 2 10000`; do echo "$i" done } filter() { while read n; do if [ $(($n % $1)) -ne 0 ]; then echo "$n" fi done } dir=$(mktemp -d) ch=0 mkfifo "$dir/$ch" generate > "$dir/$ch" & while true; do exec 3<"$dir/$ch" rea...
Shell
#!/bin/bash mntdir="mountdir" loopdev="testblock" cleanup () { sudo umount -v "$mntdir" sudo rmmod -v vvsfs rmdir -v "$mntdir" rm -v "$loopdev" } if [ "$1" == "down" ]; then cleanup exit 0 fi cusdir=/usr/src/linux [ -n "$KSRCDIR" ] && cusdir="$KSRCDIR" make KSRCDIR="$cusdir" all || exit 1 dd if=/dev/zero of="$...
Shell
#!/bin/bash startdir=$(pwd) cd dir prove -fr "../pjd-fstest-20080816/tests/$1" cd "$startdir"
Shell
#!/bin/bash clean_up() { fusermount -u dir } quit_signal() { echo 'caught signal!' clean_up exit } trap clean_up SIGHUP SIGINT SIGTERM ./mount.clfs dev dir clean_up
Shell
#!/bin/bash set -eux g++ -o conway main.cpp -I ../../utility/c `sdl-config --cflags --libs` -l boost_thread-mt
Shell
#! /bin/bash emerge --sync && \ layman -S && \ update-eix && \ emerge -vDNua world
Shell
#!/bin/bash hamachi start hamachi login && sleep 5 echo Joining Hamachi network... hamachi join n00b69 && sleep 2 hamachi go-online n00b69 && sleep 2 hamachi get-nicks echo Adding broadcast route... sudo route add 255.255.255.255 dev ham0 hamachi list && \ echo Connected to Hamachi!
Shell
#!/bin/bash set -ex python -c 'import sys; print sys.argv' $* python -c 'import sys; print sys.argv' "$*" python -c 'import sys; print sys.argv' $@ python -c 'import sys; print sys.argv' "$@"
Shell
#!/bin/bash cat <<EOM | cat blah EOM #| tee
Shell
#!/bin/bash cd src ARGS="-march=i686 $(wx-config --cxxflags) -DUSE_WX_EXTENSIONS" IPATH="-I. -Iinclude -Ilibs" echo Compiling collection.cpp ... g++ ${ARGS} ${IPATH} collection.cpp -c echo Compiling amule-emc.cpp ... g++ ${ARGS} amule-emc.cpp -c echo Compiling CFile.cpp g++ ${ARGS} ${IPATH} CFile.cpp -c echo Comp...
Shell
#!/bin/bash cd src ARGS="-march=i686 $(wx-config --cxxflags) -DUSE_WX_EXTENSIONS" IPATH="-I. -Iinclude -Ilibs" echo Compiling collection.cpp ... g++ ${ARGS} ${IPATH} collection.cpp -c echo Compiling amule-emc.cpp ... g++ ${ARGS} amule-emc.cpp -c echo Compiling CFile.cpp g++ ${ARGS} ${IPATH} CFile.cpp -c echo Comp...
Shell
#!/bin/bash AMULE_SRC="./amule-cvs/" LIBS="-lreadline emc-NetworkFunctions.o emc-ECSocket.o emc-ECMuleSocket.o emc-md4.o emc-ed2khash.o emc-OtherFunctions.o emc-ECTag.o emc-Tag.o emc-ECPacket.o emc-MD5Sum.o emc-Format.o emc-ExternalConnector.o emc-CryptoPP.o emc-UInt128.o emc-Logger.o emc-SafeFile.o emc-StringFunction...
Shell
#!/bin/bash AMULE_SRC="./amule-cvs/" LIBS="-lreadline emc-NetworkFunctions.o emc-ECSocket.o emc-ECMuleSocket.o emc-md4.o emc-ed2khash.o emc-OtherFunctions.o emc-ECTag.o emc-Tag.o emc-ECPacket.o emc-MD5Sum.o emc-Format.o emc-ExternalConnector.o emc-CryptoPP.o emc-UInt128.o emc-Logger.o emc-SafeFile.o emc-StringFunction...
Shell
rm -rf glfw_bin mkdir glfw_bin (cd glfw_bin; cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS:BOOL=OFF -D CMAKE_INSTALL_PREFIX=../Dev ../Dev/amcr-glfw/; cd glfw_bin; make install;)
Shell
rm log_compile_common rm log_compile_core rm log_compile_unittest_cpp rm log_unittest_cpp rm Dev/lib/libace_common.a rm Dev/lib/libace_core.a (cd Dev/ace_cpp/gcc/; rm *.o; make clean; make common; make core; mv log_compile_common ../../../; mv log_compile_core ../../../;) (cd Dev/unitTest_cpp/gcc/; rm *.o; make clea...
Shell
wget https://googletest.googlecode.com/files/gtest-1.6.0.zip unzip gtest-1.6.0.zip mkdir gtest_bin (cd gtest_bin; cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS:BOOL=OFF -D CMAKE_INSTALL_PREFIX=../Dev ../gtest-1.6.0/; make;) cp gtest_bin/libgtest.a Dev/lib/ cp gtest_bin/libgtest_main.a Dev/lib/ cp -rp gtest-1.6.0/i...
Shell
rm -rf Dev/cmake mkdir Dev/cmake (cd Dev/cmake; cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS:BOOL=OFF ../; make install;)
Shell
rm -rf zlib_bin rm -rf libpng_bin wget http://downloads.sourceforge.net/project/libpng/libpng16/1.6.6/libpng-1.6.6.tar.gz wget http://zlib.net/zlib-1.2.8.tar.gz tar zxvf libpng-1.6.6.tar.gz tar zxvf zlib-1.2.8.tar.gz mkdir zlib_bin (cd zlib_bin; cmake -G "Unix Makefiles" -D BUILD_SHARED_LIBS:BOOL=OFF -D CMAKE_INSTAL...
Shell
STUFF="-Wall -O2 -I.. -I../src/ -lcrypto `pkg-config --libs-only-L openssl` `pkg-config --cflags openssl`" g++ $STUFF -DNEW_OBJECT -o test_object test_object.cc object.cc ../src/torrent/object_stream.cc ../src/torrent/exceptions.cc g++ $STUFF -DOLD_OBJECT -o test_object_old test_object.cc ../src/torrent/object.cc ../s...
Shell
#!/bin/sh mkdir $1 cd $1 nice -n11 btdownloadheadless.py --max_upload_rate $1 --url file:///tmp/bt/t.torrent > /dev/null &
Shell
#!/bin/sh for ((i = 0; i < 10; i++)); do bt.sh down$i ; done
Shell
#!/bin/sh for ((i = 0; i < 10; i++)); do bt.sh down$i ; done
Shell
#!/bin/sh mkdir $1 cd $1 nice -n11 btdownloadheadless.py --max_upload_rate $1 --url file:///tmp/bt/t.torrent > /dev/null &
Shell
g++ -Wall -O2 -g -I.. -o test_partial_queue test_partial_queue.cc
Shell
#! /bin/sh echo aclocal... (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo aclocal not found exit 1 } aclocal -I ./scripts -I . ${ACLOCAL_FLAGS} || exit 1 echo autoheader... (autoheader --version) < /dev/null > /dev/null 2>&1 || { echo autoheader not found exit 1 } autoheader || exit 1 e...
Shell
#! /bin/sh echo aclocal... (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo aclocal not found exit 1 } aclocal -I ./scripts -I . ${ACLOCAL_FLAGS} || exit 1 echo autoheader... (autoheader --version) < /dev/null > /dev/null 2>&1 || { echo autoheader not found exit 1 } autoheader || exit 1 e...
Shell
#!/bin/bash vmmap -interleaved $PPID > $1
Shell
#!/bin/bash cat /proc/$PPID/maps > $1
Shell
#!/bin/bash args=($@) echo "${args[@]:1}" >> $1
Shell
#!/bin/bash vmmap -interleaved $PPID > $1
Shell
#!/bin/bash cat /proc/$PPID/maps > $1
Shell
#!/bin/bash args=($@) echo "${args[@]:1}" >> $1
Shell
#! /bin/sh echo aclocal... (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo aclocal not found exit 1 } aclocal -I ./scripts -I . ${ACLOCAL_FLAGS} || exit 1 echo autoheader... (autoheader --version) < /dev/null > /dev/null 2>&1 || { echo autoheader not found exit 1 } autoheader || exit 1 e...
Shell
#! /bin/sh echo aclocal... (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo aclocal not found exit 1 } aclocal -I ./scripts -I . ${ACLOCAL_FLAGS} || exit 1 echo autoheader... (autoheader --version) < /dev/null > /dev/null 2>&1 || { echo autoheader not found exit 1 } autoheader || exit 1 e...
Shell
#!/bin/bash CFLAGS=-g -W -I/usr/include/ImageMagick -I/usr/local/include/assimp EFLAGS=-O3 -o LIBS = -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ -lassimp INCLUDE = -I/usr/include/freetype2 CXX=g++ EXECUTS=main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32...
Shell
#!/bin/bash set -e ./runant war third_party/appengine-sdk/sdk/bin/appcfg.sh update build/war
Shell
#!/bin/bash # Sample shell script for invoking ant. # Copy to a new file and fill in the values below. # To keep the secret secret, don't share your runant script. ant -Dapp-id='your-app-id' \ -Dapp-version='1' \ -Doauth-client-id='your-oauth-client-id' \ -Doauth-client-secret='your-oauth-client-secret' \...
Shell
#!/bin/bash # Copyright (C) 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...
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/sh dir="$(dirname $0)" cp="$dir/h2-1.3.163.jar" if [ -n "$H2DRIVERS" ] ; then cp="$cp:$H2DRIVERS" fi if [ -n "$CLASSPATH" ] ; then cp="$cp:$CLASSPATH" fi java -cp "$cp" org.h2.tools.Console $@
Shell
#!/bin/sh dir="$(dirname $0)" cp="$dir/h2-1.3.163.jar" if [ -n "$H2DRIVERS" ] ; then cp="$cp:$H2DRIVERS" fi if [ -n "$CLASSPATH" ] ; then cp="$cp:$CLASSPATH" fi java -cp "$cp" org.h2.tools.Console $@
Shell
rm -f *.cmi *.cmo lexer.ml parser.ml parser.mli parser.output *~
Shell
rm -f arbreSyntaxe.dot rm -f intermediaire.txt ./main $1
Shell
sh clean.sh ocamlc -c fonctionparsing.mli ocamlc -c fonctionparsing.ml ocamlc -c gen.ml ocamlc -c ast.mli ocamlc -c labeliserArbre.ml ocamlc -c flow.ml ocamlc -c generateFlow.ml ocamlc -c arbreintermediaire.mli ocamlc -c parcoursIntermediaire.ml ocamllex -q lexer.mll # generates lexer.ml ocamlyacc parser.mly ...
Shell
rm -f main sh clean.sh reset sh make.sh echo "-------------------------------------------" ./main exemple.txt if [ -f arbreSyntaxe.dot ] then xdot arbreSyntaxe.dot & fi sh clean.sh
Shell
#!/bin/bash mkdir bin gcc src/eth_lib.c -c gcc src/write_eth_frame.c eth_lib.o -o bin/write_eth_frame gcc src/sniff.c eth_lib.o -o bin/sniff gcc src/envoyer_trame.c eth_lib.o src/fonctions.c -o bin/envois gcc src/recevoir_trame.c eth_lib.o src/fonctions.c -o bin/recevoir gcc src/reponse_auto.c eth_lib.o src/fonctions.c...
Shell
#!/bin/bash mkdir bin gcc src/eth_lib.c -c gcc src/write_eth_frame.c eth_lib.o -o bin/write_eth_frame gcc src/sniff.c eth_lib.o -o bin/sniff gcc src/envoyer_trame.c eth_lib.o src/fonctions.c -o bin/envois gcc src/recevoir_trame.c eth_lib.o src/fonctions.c -o bin/recevoir gcc src/reponse_auto.c eth_lib.o src/fonctions.c...
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
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh -x # Modified build for Cygwin DLL make # build .o's gcc -shared -o orcon.dll ifcontrol_linux.o iwcontrol.o wtinject.o mwoldinject.o mwnginject.o ajinject.o p54inject.o wginject.o hapinject.o rt2500inject.o rtlinject.o rt2570inject.o airpinject.o rt73inject.o tx80211.o lorcon_packasm.o lorcon_forge.o -lairpca...
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 # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without ...
Shell
#!/bin/sh indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
Shell
gcc -I./ -o api_test.o -c api_test.c -g gcc -o apitest api_test.o -lorcon -lnl -lpcap
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash # TODO: check for mogenerator and warn we need to build mogenerator for release first. # TODO: check for the output paths and, if they don't exist, make them. ../../mogenerator/build/Release/mogenerator --template-path ../../mogenerator/templates --model ./demoApp.xcdatamodel -M ./ -H ./ || exit 1
Shell
#!/bin/bash # TODO: check for mogenerator and warn we need to build mogenerator for release first. mogenerator --template-path ../../../mogenerator/templates --model ../CoreDataBooks.xcdatamodel -M ./ -H ./ || exit 1
Shell
if [ ! -f "$MOGENERATOR_BIN" ] then echo "mogenerator binary doesn't exist at $MOGENERATOR_BIN" exit 1 fi echo "Generating Data Model Classes from $DATA_MODEL_FILE ..." if [ ! -d "$DATA_MODEL_FILE" ] then echo "Data model file doesn't exist at $DATA_MODEL_FILE" exit 1 fi mkdir -p "$DATA_MODEL_SOURCE_DIR" MOMC_...
Shell
#!/bin/sh cd "`dirname \"$0\"`" cd MOs mogenerator --model ../mogeneratorTestMule_DataModel.xcdatamodel --baseClass MyBaseClass --includem include.m
Shell
#!/bin/sh cd "`dirname \"$0\"`" sudo echo sudo rm -rf 'build' mkdir -p 'build/root/Library/Application Support/mogenerator' cd .. xcodebuild -configuration Release CONFIGURATION_BUILD_DIR="$PWD/installer/build/root/usr/bin/" cp templates/*.motemplate "$PWD/installer/build/root/Library/Application Support/mogenerator...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 CXX=g++ EXECUTS=atlantis SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), $(BIT32)) CFLAGS=-g -W -...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 -I/usr/include/ImageMagick EXECUTS = main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), ...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 -I/usr/include/ImageMagick EXECUTS = main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), ...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 -I/usr/include/ImageMagick EXECUTS = main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), ...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGL -lGLU -lm CXX=gcc EXECUTS=distort SOURCES=$(wildcard *.c) OBJECTS:= $(SOURCES:.c=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), $(BIT32)) CFLAGS=-g -W -m32 EFLAGS = -O3 -m32 -o else CFLAGS=-g -W -m64 EFLAGS = -...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 CXX=g++ EXECUTS = main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), $(BIT32)) CFLAGS=-...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGL -lGLU -lm CXX=gcc EXECUTS=tess SOURCES=$(wildcard *.c) OBJECTS:= $(SOURCES:.c=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), $(BIT32)) CFLAGS=-g -W -m32 EFLAGS = -O3 -m32 -o else CFLAGS=-g -W -m64 EFLAGS = -O3 ...
Shell