code
stringlengths
1
1.96M
language
stringclasses
1 value
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/usr/bin/env sh # This script will run phpunit-based test classes using Drush's # test framework. First, the Drush executable is located, and # then phpunit is invoked, passing in drush_testcase.inc as # the bootstrap file. # # Any parameters that may be passed to phpunit may also be used # with runtests.sh. DRUSH...
Shell
#!/usr/bin/env sh # This script will run phpunit-based test classes using Drush's # test framework. First, the Drush executable is located, and # then phpunit is invoked, passing in drush_testcase.inc as # the bootstrap file. # # Any parameters that may be passed to phpunit may also be used # with runtests.sh. DRUSH...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/bash # $Id$ base=`dirname $0`/.. cd $base VERSION=`grep 'VERSION =' setup.py | cut -d "'" -f2` # Source dists python setup.py sdist --formats=gztar,zip # Eggs #python2.4 setup.py bdist_egg --exclude-source-files #python2.5 setup.py bdist_egg --exclude-source-files python2.6 setup.py bdist_egg --exclude-sourc...
Shell
#!/bin/bash # $Id:$ ROOT=`dirname $0`/../.. RES=`dirname $0`/res VERSION=`grep 'VERSION =' $ROOT/setup.py | cut -d "'" -f2` rm -rf $ROOT/build # Create AVbin files mkdir -p $ROOT/build/avbin rsync -a /usr/local/lib/libavbin.dylib $ROOT/build/avbin/ cp /usr/local/lib/`ls -l /usr/local/lib/libavbin.dylib | \ sed '...
Shell
#!/bin/bash PYGLET_USR=pyglet PYGLET_ORG=pyglet.org PYGLET_DIR=/home/pyglet/www make clean mkdir _build/html make html rsync -az --delete _build/html/ -e "ssh -p 6185" $PYGLET_USR@$PYGLET_ORG:$PYGLET_DIR/doc-current
Shell
#!/bin/bash # $Id:$ PYGLET_USR=pyglet PYGLET_ORG=pyglet.org PYGLET_DIR=/home/pyglet/www rsync -rv dist/* $PYGLET_USR@$PYGLET_ORG:$PYGLET_DIR/ #rsync -rv ../doc/html/* $PYGLET_ORG:$PYGLET_DIR/doc/ #rsync -rv ../doc/pdf/* $PYGLET_ORG:$PYGLET_DIR/doc/
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # 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 F...
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/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 # 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 # libtool - Provide generalized library-building support services. # Generated automatically by config.status (anymote) 0.1 # Libtool was configured on host timberline.bld.corp.google.com: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 20...
Shell
#!/bin/sh # Before using, you should figure out all the .m4 macros that your # configure.m4 script needs and make sure they exist in the m4/ # directory. # # These are the files that this script might edit: # aclocal.m4 configure Makefile.in src/config.h.in \ # depcomp config.guess config.sub install-sh missing ...
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
#! /bin/sh mkdir bin LIBS="" for f in `find lib -name "*.jar"`; do LIBS=$LIBS":../"$f; done echo $LIBS cd src; javac -g 0 -d ../bin -cp $LIBS `find . -name "*.java"` cd ../bin; jar cvf ../vaxter.jar *
Shell
#!/bin/sh cd src javac -g -d ../bin `find -name "*.java"` cd ../bin jar cvf ../commons-csv.jar *
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 open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
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 ...
Shell
#!/bin/sh export PREFIX="$HOME/opt/cross" export TARGET=i586-elf export PATH="$PREFIX/bin:$PATH" $HOME/opt/cross/bin/$TARGET-gcc --version export PATH="$HOME/opt/cross/bin:$PATH" i586-elf-gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra i586-elf-gcc -T linker.ld -o myos.bin -ffreestanding -O2 -no...
Shell
#!/bin/sh export PREFIX="$HOME/opt/cross" export TARGET=i586-elf export PATH="$PREFIX/bin:$PATH" $HOME/opt/cross/bin/$TARGET-gcc --version export PATH="$HOME/opt/cross/bin:$PATH" i586-elf-gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra i586-elf-gcc -T linker.ld -o myos.bin -ffreestanding -O2 -no...
Shell
#!/bin/bash # set -ue ( cd $(dirname $0)/../ for i in repos/appengine-*-python do ( echo echo $i cd $i git pull ) done )
Shell
#!/bin/bash # # This script ensures that we have a copy of the Google API Client library set -ue DOWNLOAD_BASE_URL=https://google-api-python-client.googlecode.com/files DOWNLOAD_FILENAME=google-api-python-client-gae-1.2.zip EXTRACT_DIRECTORY=api-python-client SCRIPT_DIR=$( dirname $0) ROOT_DIR=$( dirname $SCRIPT_DI...
Shell
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io/)" echo "------------------------------------------------------" karma start $BASE_DIR/../config/karma-e2e.conf.js $*
Shell
#!/bin/bash # set -uex $(dirname $0)/api-python-client.sh dev_appserver.py \ --host 0.0.0.0 \ --admin_host 0.0.0.0 \ --skip_sdk_update_check yes \ . $*
Shell
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io/)" echo "------------------------------------------------------" karma start $BASE_DIR/../config/karma.conf.js $*
Shell
#!/bin/bash # set -ue VERSION=$(git log -1 --pretty=format:%H) if [ -n "$(git status --porcelain)" ] then VERSION="dirty-$VERSION" fi git status echo echo -e "Hit [ENTER] to continue: \c" read SCRIPTS_DIR=$( dirname $0 ) ROOT_DIR=$( dirname $SCRIPTS_DIR ) $SCRIPTS_DIR/api-python-client.sh APPCFG=$(which appcfg.p...
Shell
#!/bin/sh gjslint -r app/js -r test/unit -r test/e2e|egrep -v '(E:0121:|E:0240|E:0200)'
Shell
#!/bin/bash if [ $(uname -s) == 'Darwin' ] then # OSX CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" GEOMETRY_RUN="180x32+0+500" GEOMETRY_UNIT="180x15+200+500" GEOMETRY_E2E="180x15+200+750" else # Linux CHROME="google-chrome" GEOMETRY_RUN="120x32+0+1000" GEOMETRY_UNIT="180x15+1...
Shell
#!/bin/bash ANDREWHOME_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" FILES=".bashrc .bash_profile .vimrc .vim .screenrc .rtorrent.rc scripts .ssh/config" RAND=$RANDOM for f in $FILES do if [ -e $HOME/$f ]; then f1=`realpath $HOME/$f` f2=`realpath $ANDREWHOME_ROOT/$f` if [ $f1 =...
Shell
# Reset Color_Off='\e[0m' # Text Reset # Regular Colors Black='\e[0;30m' # Black Red='\e[0;31m' # Red Green='\e[0;32m' # Green Yellow='\e[0;33m' # Yellow Blue='\e[0;34m' # Blue Purple='\e[0;35m' # Purple Cyan='\e[0;36m' # Cyan White='\e[0;37m' # White # ...
Shell
#!/bin/bash while true; do ssh ssh-linux6.ece.ubc.ca -L 8888:aamodt-pc3:1666 -D 54321 -Y; echo "Connection failed, sleeping 5 seconds"; sleep 5; echo "Retrying connection ..."; done;
Shell
#!/bin/bash while true; do ssh ssh-linux6.ece.ubc.ca -L 8888:aamodt-pc3:1666 -D 54321 -Y; echo "Connection failed, sleeping 5 seconds"; sleep 5; echo "Retrying connection ..."; done;
Shell
#!/bin/bash # Andrew Boktor alias file export GREP_COLOR='1;33' alias grep='grep --color=auto' alias cgrep='grep --color=always' alias less='less -R' alias vi='vim' alias vim='vim -p' alias gvim='gvim -p' eval `dircolors -b` alias ls='ls --color=auto' alias ll='ls -l' alias la='ls -a' alias lla='ls -la' alias llh='...
Shell
#!/bin/bash # Andrew Boktor PS1 file PS1-smile () { if [ $? == 0 ]; then echo -en '\e[\e[1;32m\e]:)\e[\e[0m\e]'; else echo -en '\e[1;31m:(\e[0m'; fi } if [ $USER = 'root' ]; then PS1='\[\e[1;31m\]\u\[\e[0;32m\]@\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;31m\]\$\[\e[m\] ' else PS1='\[\e[1;33m\]\u\[\e[0;32m\]@...
Shell
#!/bin/bash # Andrew Boktor alias file export GREP_COLOR='1;33' alias grep='grep --color=auto' alias cgrep='grep --color=always' alias less='less -R' alias vi='vim' alias vim='vim -p' alias gvim='gvim -p' eval `dircolors -b` alias ls='ls --color=auto' alias ll='ls -l' alias la='ls -a' alias lla='ls -la' alias llh='...
Shell
#!/bin/bash #uncomment the following line to enable clearing the screen before printing the splash #echo -e "\e[H\e[2J" echo -e " \e[1;36m, \e[1;37m _ \e[1;36m_ _ \e[1;30m| \e[34m`uname -r -s`" echo -e " \e[1;36m/#\ \e[1;37m __ _ _ __ ___| |__ \e[1;36m...
Shell
#!/bin/bash #Enable things in scripts/bin export PATH=$PATH:$HOME/scripts/bin export PATH=$PATH:$HOME/scripts/ubc export EDITOR=vim export TERM=xterm-256color #Perforce export P4CONFIG=".p4config"
Shell
#$HOME/checkupdates.sh | wc -l pacman -Qu | wc -l
Shell
#!/bin/bash cat /proc/loadavg | awk '{printf $1}'
Shell
#!/bin/bash cat /proc/loadavg | awk '{printf $1}'
Shell
echo -n `cat /proc/cpuinfo | grep processor | wc -l` echo -n x cat /proc/cpuinfo | grep "cpu\ MHz" | head -n1 | awk '{print $4/1000"GHz"}'
Shell
echo -e "\e[1;34m" echo -e ",---. ,---. ____ .-------. .---. .-''-. \e[0;31m.-./\`)\e[1;34m ,---. .--. .-''-." echo -e "| \ / | .' __ \`. | \e[1;35m_ _\e[1;34m \ | \e[0;31m,_\e[1;34m| .'\e[1;35m_ _\e[1;34m \ \e[0;31m\ \e[1;33m.-.\e[0;31m')\e[1;34m| \ | | .'\e[0;31m_ _...
Shell
#!/bin/bash #uncomment the following line to enable clearing the screen before printing the splash #echo -e "\e[H\e[2J" echo -e " \e[1;36m, \e[1;37m _ \e[1;36m_ _ \e[1;30m| \e[34m`uname -r -s`" echo -e " \e[1;36m/#\ \e[1;37m __ _ _ __ ___| |__ \e[1;36m...
Shell
#!/bin/bash # Andrew Boktor PS1 file PS1-smile () { if [ $? == 0 ]; then echo -en '\e[\e[1;32m\e]:)\e[\e[0m\e]'; else echo -en '\e[1;31m:(\e[0m'; fi } if [ $USER = 'root' ]; then PS1='\[\e[1;31m\]\u\[\e[0;32m\]@\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;31m\]\$\[\e[m\] ' else PS1='\[\e[1;33m\]\u\[\e[0;32m\]@...
Shell
#!/bin/bash #Enable things in scripts/bin export PATH=$PATH:$HOME/scripts/bin export PATH=$PATH:$HOME/scripts/ubc export EDITOR=vim export TERM=xterm-256color #Perforce export P4CONFIG=".p4config"
Shell
#!/bin/bash ANDREWHOME_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" FILES=".bashrc .bash_profile .vimrc .vim .screenrc .rtorrent.rc scripts .ssh/config" RAND=$RANDOM for f in $FILES do if [ -e $HOME/$f ]; then f1=`realpath $HOME/$f` f2=`realpath $ANDREWHOME_ROOT/$f` if [ $f1 =...
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 if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh #set -x # for debugging if [ -z "$NMSRC" ]; then NMSRC=~/netmap-release fi DRIVER="ixgbe" #IF="eth0" # force an interface if [ ! -f ${NMSRC}/LINUX/netmap_lin.ko ]; then echo "LINUX/netmap_lin.ko missing. Please compile netmap." exit 1 fi if [ ! -f ${NMSRC}/LINUX/${DRIVER}/${DRIVER}.ko ]; the...
Shell
#!/bin/sh sed -n 's/^## \?//p' $1 | fmt
Shell
#!/bin/sh #set -x function pgset() { local result echo $1 > ${PGDEV} result=$(cat $PGDEV | fgrep "Result: OK:") if [ "$result" = "" ]; then cat $PGDEV | fgrep "Result:" fi } ##################### Script configuration ###################### N="$1" # number of T...
Shell
#!/bin/bash ## Manage linux driver patches for netmap. ## ## Initial setup: ## ## - a git clone of netmap/linux with all the netmap-* branches created (GITDIR) ## ## - a directory where the linux trees for each major version of linux can ## be extracted (LINUX_SOURCES) ## ## - a directory containing configuration f...
Shell
# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines # for more information on packaging from GIT sources. # Maintainer: Vincenzo Maffione <v.maffione@gmail.com> pkgname=netmap pkgver=3.16 pkgrel=1 pkgdesc="Netmap is a framework for high speed network packet I/O." arch=('any') url="http://info.iet.unipi.i...
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/sh export PROJECT=osk5912-test make && scp build-osk5912-test/lk.bin four:/tftproot
Shell
#!/bin/sh export PROJECT=beagle-test make && scp build-beagle-test/lk.bin mbp:/Volumes/FOO/lk.bin
Shell
#!/bin/sh FILES=`find . -type f -regex ".*\.[chS]\|.*\.cpp"` echo running ctags exuberant-ctags $FILES
Shell
#!/bin/sh export PROJECT=armemu-test if [ ! -f blk.bin ]; then dd if=/dev/zero of=blk.bin bs=1024k count=16 fi make -j8 -C ../armemu && make -j8 && (cd build-$PROJECT; ../../armemu/build-generic/armemu)
Shell
#!/bin/sh PROJECTS="armemu-test sam7ex256-test osk5912-test qemu-arm-test beagle-test surf-test" FAILED="" for p in $PROJECTS; do PROJECT=$p make -j2 || FAILED="$FAILED $p" done if [ "$FAILED" != "" ]; then echo echo some projects have failed to build: echo $FAILED fi
Shell
#!/bin/sh export DEBUG=2 export PROJECT=sam7ex256-test make
Shell
#!/bin/bash # # Copyright (C) 2010 The Android Open Source Project # # 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 a...
Shell
#!/bin/sh # # CA - wrapper around ca to make it easier to use ... basically ca requires # some setup stuff to be done before you can use it and this makes # things easier between now and when Eric is convinced to fix it :-) # # CA -newca ... will setup the right stuff # CA -newreq ... will generate a certific...
Shell
#!/bin/bash # # Copyright (C) 2009 The Android Open Source Project # # 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 a...
Shell
#!/bin/sh # # build using pthreads where it's already built into the system # /bin/rm -f mttest gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
Shell
#!/bin/sh # # build using pthreads # # http://www.mit.edu:8001/people/proven/pthreads.html # /bin/rm -f mttest pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
Shell
#!/bin/sh /bin/rm -f mttest cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/bash # # Copyright (C) 2010 The Android Open Source Project # # 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 a...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert" if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key...
Shell
#!/bin/sh REV=`hg log -l 1 | grep changeset | cut -d: -f 2 | tr -d ' '` echo $(($REV+1))
Shell
#!/bin/bash SCRIPT_PATH=$0 GP_HOME=`dirname "$SCRIPT_PATH"` GP_LOG_DIR="$HOME/.ganttproject.d" # Check if log dir is present (or create it) if [ ! -d $GP_LOG_DIR ]; then if [ -e $GP_LOG_DIR ]; then echo "file $GP_LOG_DIR exists and is not a directory" >&2 exit 1 fi if ! mkdir $GP_LOG_DIR ; then ec...
Shell
#!/bin/sh set -e if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi if [ -x "$(which update-mime >/dev/null 2>&1)" ]; then update-mime; fi if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi
Shell
#!/bin/sh set -e if [ "$1" = "configure" ]; then if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi ln -s /usr/share/ganttproject/ganttproject /usr/bin/ganttproject if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi if [ -x "$(which update-mime 2>/dev/null)" ]; then update...
Shell