code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # 4shared.com module # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or...
Shell
#!/bin/bash # # rapidshare.com module # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License,...
Shell
#!/bin/bash # # mirrorcreator.com module # Copyright (c) 2011-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Licen...
Shell
#!/bin/bash # # uploaded.to module # Copyright (c) 2011 Krompo@speed.1s.fr # Copyright (c) 2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, ...
Shell
#!/bin/bash # # wupload.com module # Copyright (c) 2011-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or...
Shell
#!/bin/bash # # divshare.com module # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
Shell
#!/bin/bash # # turbobit.net module # Copyright (c) 2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (...
Shell
#!/bin/bash -e # # Retrieve list of links from a shared-folder (sharing site) url # Copyright (c) 2010-2012 Plowshare team # # Output links (one per line) on standard output. # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General...
Shell
#!/bin/bash -e # # Upload a file to file sharing servers # Copyright (c) 2010-2012 Plowshare team # # Output URL to standard output. # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
Shell
#!/bin/bash # # Common set of functions used by modules # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version...
Shell
#!/bin/bash # # Test functions for modules (see "modules" directory) # Copyright (c) 2011-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, e...
Shell
#!/bin/bash # # Endless loop to use a file as download queue # Copyright (c) 2010 Arnau Sanchez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your o...
Shell
#!/bin/bash # # Script to add links to the queue on a server running plowdown_loop.sh (using SSH) # Copyright (c) 2010 Arnau Sanchez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either vers...
Shell
#!/bin/bash # # Launch parallel plowdown processes for different websites # Copyright (c) 2010 Arnau Sanchez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or...
Shell
#!/bin/bash # # Grep URLs contained as input text (usually a web page). # Copyright (c) 2010 Matthieu Crapet # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or...
Shell
#!/bin/sh # # Install files in usual Linux paths # Copyright (c) 2010 Arnau Sanchez # Copyright (c) 2011-2012 Plowshare team # # This script is kept simple for portability purpose # (`install' from GNU coreutils is not used here). # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute ...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. RED="0.5 0.5 0.5 0 0 0 0 0 0" GREEN="0 0 0 0.5 0.5 0.5 0 0 0" for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do conv...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png done
Shell
#!/bin/sh # make sure ndk-build is in path SCRIPTDIR=`dirname $0` MUPDF_FILE=mupdf-snapshot-20111207.tar.gz MUPDF=mupdf #MUPDF_FILE=mupdf-0.9-source.tar.gz #MUPDF=mupdf-0.9 FREETYPE=freetype-2.4.6 OPENJPEG=openjpeg_v1_4_sources_r697 JBIG2DEC=jbig2dec-0.11 JPEGSRC=jpegsrc.v8a.tar.gz JPEGDIR=jpeg-8a cd $SCRIPTDIR/../de...
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. DIE=0 if [ -n "$GNOME2_DIR" ]; then ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" PATH="$GNOME2_DIR/bin:$PATH" export PATH export LD...
Shell
#!/bin/sh # Runs pylint on all python files in codereview/ # # Skips over 'cpplint' which is a third part in the chromium branch. # ROOT=$(dirname $(readlink -f $0))/.. GAE=$ROOT/../google_appengine FILES=$(find codereview -iname "*.py" | grep -v "cpplint") IMPORTS=$GAE:$GAE/lib/django_1_2 PYTHONPATH=$IMPORTS:$PYTHONPA...
Shell
#!/bin/sh # 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. set -e gcc $(go env GOGCCFLAGS) -shared -o libcgosotest.so cgoso_c.c go build main.go LD_LIBRARY_PATH=. ./main rm -f libcgosotest.so main
Shell
#!/usr/bin/env bash # Copyright 2010 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 is a small script for executing go binaries on the android platform. # # example: # ./a 5.out foo bar baz # # The script exports the l...
Shell
#!/bin/bash GOROOT=/usr/local/go echo "Fixing permissions" cd $GOROOT find . -exec chmod ugo+r \{\} \; find bin -exec chmod ugo+rx \{\} \; find . -type d -exec chmod ugo+rx \{\} \; chmod o-w . echo "Fixing debuggers via sudo.bash" # setgrp procmod the debuggers (sudo.bash) cd $GOROOT/src ./sudo.bash echo "Installin...
Shell
#!/bin/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. set -e if ! test -f ../../src/all.bash; then echo >&2 "package.bash must be run from $GOROOT/misc/osx" exit 1 fi echo >&2 "Locating PackageMaker......
Shell
#!/bin/sh # 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. case "$1" in -*) echo 'usage: benchcmp old.txt new.txt' >&2 echo >&2 echo 'Each input file should be go test -test.run=NONE -test.bench=. > [old,new...
Shell
#!/bin/bash -e # # Copyright 2012 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. # # Tests for import.vim. cd $(dirname $0) cat > base.go <<EOF package test import ( "bytes" "io" "net" "mycorp/foo" ) EOF fail=0 # usage...
Shell
#!/usr/bin/env bash # Copyright 2012 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. # Illustrates how a Go language specification can be installed for Xcode 4.x., # to enable syntax coloring, by adding an entry to a plugindata...
Shell
#!/usr/bin/env bash # Copyright 2009 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 case "`uname`" in Darwin) ;; *) exit 0 esac eval $(go env) if ! [ -x $GOTOOLDIR/cov -a -x $GOTOOLDIR/prof ]; then echo "You don't n...
Shell
#!/usr/bin/env bash # Copyright 2009 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 if [ ! -f make.bash ]; then echo 'all.bash must be run from $GOROOT/src' 1>&2 exit 1 fi OLDPATH="$PATH" . ./make.bash --no-banner bash...
Shell
#!/bin/rc -e # Copyright 2012 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. eval `{go tool dist env -9} if(! test -x $GOTOOLDIR/dist){ echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2] exit noclean } $GOBIN/go cl...
Shell
#!/usr/bin/env bash # Copyright 2009 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. # Environment variables that control make.bash: # # GOROOT_FINAL: The expected final Go root, baked into binaries. # The default is the locatio...
Shell
#!/bin/sh # Copyright 2009 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. trap "rm -f arch_GOARCH.h defs_GOOS_GOARCH.h os_GOOS.h signals_GOOS.h" EXIT INT TERM set -e SYS=$1 export GOOS=$(echo $SYS | sed 's/_.*//') export GOARC...
Shell
#!/usr/bin/env bash # Copyright 2009 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. # Generate Go code listing errors and other #defined constant # values (ENAMETOOLONG etc.), by asking the preprocessor # about the definitions....
Shell
#!/usr/bin/env bash # Copyright 2009 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. # Generate Go code listing errors and other #defined constant # values (ENAMETOOLONG etc.), by asking the preprocessor # about the definitions....
Shell
#!/usr/bin/env bash # Copyright 2009 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 eval $(go env) unset CDPATH # in case user has it set unset GOPATH # we disallow local import for non-local packages, if $GOROOT ha...
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 the .zip, index, and configuration files for running # godoc on app-engine. # # If an argument is provided it is assumed...
Shell
#!/bin/sh # Copyright 2009 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. # Generate builtin.c from $* (runtime.go and unsafe.go). # Run this after changing runtime.go and unsafe.go # or after changing the export metadata forma...
Shell
#!/bin/sh # Copyright 2012 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. go help documentation > doc.go gofmt -w doc.go
Shell
#!/bin/bash # Copyright 2012 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 go build -o testgo ok=true unset GOPATH unset GOBIN # Test that error messages have file:line information # at beginning of line. for i in t...
Shell
#!/bin/sh x() { echo '--- ' "$@" "$@" echo '---' echo } x go help x go help build x go help clean x go help install x go help fix x go help fmt x go help get x go help list x go help test x go help version x go help vet x go help gopath x go help importpath x go help remote
Shell
#!/bin/rc -e # Copyright 2012 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. if(! test -f make.rc){ echo 'all.rc must be run from $GOROOT/src' >[1=2] exit wrongdir } . ./make.rc --no-banner ./run.rc --no-rebuild $GOTOOLDIR/d...
Shell
#!/bin/rc -e # Copyright 2012 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. eval `{go env -9} # allow all.rc to avoid double-build of everything rebuild = true if(~ $1 --no-rebuild) shift if not { echo '# Building packages ...
Shell
#!/usr/bin/env bash # Copyright 2009 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 eval $(go tool dist env) if [ ! -x $GOTOOLDIR/dist ]; then echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >&2 exit 1 fi "$GOB...
Shell
#!/bin/rc -e # Copyright 2012 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. # Environment variables that control make.rc: # # GOROOT_FINAL: The expected final Go root, baked into binaries. # The default is the location of the ...
Shell
#!/usr/bin/env bash # Copyright 2010 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 wiki_pid= cleanup() { kill $wiki_pid rm -f test_*.out Test.txt final-test.bin final-test.go } trap cleanup 0 INT go build -o get.bin ...
Shell
#!/usr/bin/env bash # Copyright 2009 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 goos=$(go env GOOS) defer_panic_recover=" defer defer2 " effective_go=" eff_bytesize eff_qr eff_sequence " error_handling=" er...
Shell
#!/bin/sh # Copyright 2012 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 rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. # Versions to use. CODE=2011i DATA=2011n set -e ...
Shell
#!/bin/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. # Test the code review plugin. # Assumes a local Rietveld is running using the App Engine SDK # at http://localhost:7777/ # # dev_appserver.py -p 7777...
Shell
#!/usr/bin/env bash # Copyright 2009 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. eval $(go tool dist env) export GOARCH GOOS GOROOT export E= case X"$GOARCH" in Xamd64) export A=6 ;; X386) export A=8 ;; Xarm) export A=...
Shell
#!/usr/bin/env bash # Dr. D Studios - Software Disclaimer # # Copyright 2010 Dr D Studios Pty Limited (ACN 127 184 954) (Dr. D Studios), its # affiliates and/or its licensors. # ${DRD_PYLINT_ROOT}/runtimes/pylint --rcfile=${DRD_PROBE_ROOT}/config/pylintrc $@
Shell
#!/bin/bash # # Copyright 2010 Dr D Studios Pty Limited (ACN 127 184 954) (Dr. D Studios), its # affiliates and/or its licensors. # /usr/bin/python2.5 $GRENADE_DIR/runtimes/grenade_cl.py "$@"
Shell
#!/bin/sh rm -f CMakeCache.txt # DEBUG #cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MODULE_PATH=$CMAKE_MODULE_PATH -DCMAKE_INSTALL_PREFIX=$CANARINO_INSTALL_ROOT -G"Eclipse CDT4 - Unix Makefiles" . # RELEASE cmake -DCMAKE_INSTALL_PREFIX=$CANARINO_INSTALL_ROOT -DCMAKE_MODULE_PATH=$CMAKE_MODULE_PATH -G"Eclipse CDT4 - Unix M...
Shell
#!/bin/sh rm -f CMakeCache.txt # DEBUG #cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MODULE_PATH=$CMAKE_MODULE_PATH -DCMAKE_INSTALL_PREFIX=$CANARINO_INSTALL_ROOT -G"Eclipse CDT4 - Unix Makefiles" . # RELEASE cmake -DCMAKE_INSTALL_PREFIX=$CANARINO_INSTALL_ROOT -DCMAKE_MODULE_PATH=$CMAKE_MODULE_PATH -G"Eclipse CDT4 - Unix M...
Shell
#!/bin/bash python2.5 $REVIEW_TOOL_ROOT/runtimes/run_review_tool.py "$@"
Shell
#!/bin/bash echo 'drd-python ./test_mesh_subdivide.py' | drd-env -s grind cpuStub rodin pyOpenGL
Shell
#!/bin/bash echo 'drd-python ./test_mesh_subdivide.py' | drd-env -s grind gpuStub rodin pyOpenGL
Shell
echo 'napalmGL_test' | drd-env -s napalmGL
Shell
echo 'drd-python test.py' | drd-env -s napalmGL pyOpenGL
Shell
echo 'napalmCuda_test' | drd-env -s napalmCuda
Shell
#!/bin/bash trap '{ echo "Hey, you pressed Ctrl-C. Time to quit." ; exit 1; }' INT LOGFILE=/tmp/woolLint_test.log for arg in \ "test_curves"\ "test_exception"\ "test_gx_proc"\ "test_gx_sx_proc"\ "test_points" \ "test_ptc" \ "test_sphere" do echo 'running test: '$arg # remove the old log file rm...
Shell
#!/bin/bash source test_env.sh echo 'export PYTHONPATH=$PYTHONPATH:`pwd` && testRMan '$@' test_points' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
#!/bin/bash source test_env.sh echo 'export PYTHONPATH=$PYTHONPATH:`pwd` && testRMan '$@' test_sphere' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
#!/bin/bash source test_env.sh echo 'shaderdl my_displace.sl my_surface.sl && drd-context-info && testRMan '$@' test_gx_sx_proc' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
echo 'shaderdl my_tex_lookup.sl && sxTest' | drd-env -s napalmDelight delight
Shell
#echo 'drd-python test_ptc.py' | drd-env -s napalmDelight source test_env.sh echo 'export PYTHONPATH=$PYTHONPATH:`pwd` && shaderdl my_ptc.sl && testRMan '$@' test_ptc' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
#!/bin/bash source test_env.sh echo 'export PYTHONPATH=$PYTHONPATH:`pwd` && testRMan '$@' test_curves' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
#!/bin/bash source test_env.sh echo 'shaderdl my_displace.sl my_surface.sl' | drd-env -s $NAPALM_DELIGHT_TEST_ENV echo 'drd-context-info && testRMan '$@' test_exception' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
NAPALM_DELIGHT_TEST_ENV='delightPyProcedural ribclient napalmDelight pimath-0.12 testRMan delight-9.0.125'
Shell
#!/bin/bash source test_env.sh echo 'drd-context-info && testRMan '$@' test_gx_proc' | drd-env -s $NAPALM_DELIGHT_TEST_ENV
Shell
#!/bin/bash # # Run this script in core/napalm/core/types to print the list of (label, type) pairs that # appears in Appendix A of the Napalm documentation. When and if new types are added to # Napalm, use this to keep Appendix A up-to-date. # grep _NAPALM_TYPE_OP *.cpp | grep -v def | sed 's/.*(//g' | sed 's/)//g' | s...
Shell
echo 'drd-python test_grad.py' | drd-env -s napalmImageIO pimath rv pdiff houdini
Shell
#!/bin/bash #echo first argument: $1 FILENAME=$HOME/.config/calib.yaml TARGET=sRGB if [ -e $FILENAME ]; then LINE=`/usr/bin/head $FILENAME | /bin/grep target` if [ "$LINE" == "target: DCI" ]; then TARGET=DCI fi fi #echo "Target colorspace: $TARGET" #echo "Exporting LUTs..." if [ "$TARGET" == "sRGB" ]; then ex...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. RED="0.5 0.5 0.5 0 0 0 0 0 0" GREEN="0 0 0 0.5 0.5 0.5 0 0 0" for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do conv...
Shell
#!/bin/sh # make sure ndk-build is in path SCRIPTDIR=`dirname $0` MUPDF_FILE=mupdf-snapshot-20111207.tar.gz MUPDF=mupdf #MUPDF_FILE=mupdf-0.9-source.tar.gz #MUPDF=mupdf-0.9 FREETYPE=freetype-2.4.6 OPENJPEG=openjpeg_v1_4_sources_r697 JBIG2DEC=jbig2dec-0.11 JPEGSRC=jpegsrc.v8a.tar.gz JPEGDIR=jpeg-8a cd $SCRIPTDIR/../de...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png done
Shell
#!/bin/bash # Copyright 2013 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 -e # Copyright 2009, 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 condi...
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 # Executes the samples and tests for the Google Test Framework # Help the dynamic linker find the path to the framework export DYLD_FRAMEWORK_PATH=$BUILT_PRODUCTS_DIR # Create an array of test executables test_executables=("$BUILT_PRODUCTS_DIR/sample1_unittest" "$BUILT_PRODUCTS_DIR/sam...
Shell
#!/bin/sh # # This script compiles and runs most of the examples contained # in this directory. # ROOT_KEYSETS_JSON=/tmp/kz_json_keysets ## JSON if [ ! -d "$ROOT_KEYSETS_JSON" ]; then mkdir -p $ROOT_KEYSETS_JSON fi # C++ make ./testdata_gen $ROOT_KEYSETS_JSON ./basic_encrypt $ROOT_KEYSETS_JSON/aes ./basic_encrypt...
Shell
#!/bin/sh if [ $# -ne 1 ]; then echo 1>&2 Usage: $0 location exit -1 fi # This will create a new key store in the given location and generate a new # symmetric signing key. This expects Keyczar and GSON to be on the classpath if [ ! -f $1/meta ] then java org.keyczar.KeyczarTool create --location=$1 --purpose=s...
Shell
#!/bin/sh if [ $# -ne 1 ]; then echo 1>&2 Usage: $0 location exit -1 fi # This will create a new key store in the given location and generate a new # symmetric signing key. This expects Keyczar and GSON to be on the classpath if [ ! -f $1/meta ] then java org.keyczar.KeyczarTool create --location=$1 --purpose=c...
Shell
#!/bin/bash set -ex DIR=temp-clone # Delete any existing temporary website clone rm -rf $DIR # Clone the current repo into temp folder git clone git@github.com:JakeWharton/ActionBarSherlock.git $DIR # Move working directory into temp folder cd $DIR # Checkout and track the gh-pages branch git checkout -t origin/g...
Shell
#!/bin/sh # Generate qwcl.x11.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name qwcl.x11 %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software Pac...
Shell
#!/bin/sh # This script preloads the lib3dfxgl.so library which overrides the functions # present in libMesaGL.so. This allows glquake to run using 3DFX's miniport # and without Mesa 3-D. Glide and X11 libraries have to be installed tho, # even tho GLQuake doesn't use X11, it's linked against it because Mesa 3-D # ...
Shell
#!/bin/sh for x in *; do y=`echo $x | tr '[A-Z]' '[a-z]'` if [ $x != $y ]; then mv $x $y fi done
Shell
#!/bin/sh # Generate qwsv.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name qwsv %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software Packager: D...
Shell
#!/bin/sh # Generate qwcl.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name qwcl %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software Packager: D...
Shell
#!/bin/sh # Generate qwcl.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name glqwcl %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software Packager:...
Shell
#!/bin/sh # Generate quake.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name quake %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software Packager:...
Shell
#!/bin/sh # Generate quake-shareware.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name quake %define version ${1}-shareware %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: i...
Shell
#!/bin/sh # Generate quake-rogue.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name quake-rogue %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Softwa...
Shell
#!/bin/sh # Generate quake-data.spec # $1 is version # $2 is release # $3 is install dir (assumed to be in /var/tmp) cat <<EOF %define name quake-data %define version ${1} %define release ${2} %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} Release: %{release} Vendor: id Software...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh #if after dark, then set wakeup for tomorrow at 06:00:00 otherwise in a few mins #case "${1}" in resume|thaw) as well as suspend|hibernate #exists as in path /etc/pm/sleep.d/90_sma #check results with cat /proc/driver/rtc case "${1}" in suspend|suspend_hybrid|hibernate) sh -c "echo 0 > /sys/class/rtc/rt...
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 SMSC Test Server Bootstrap Script ## ## ...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Mobicents SS7 CLI Bootstrap Script ## ## ##...
Shell