code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # modified by shazeya@syafi.com (NL130240) ./athena-start start sleep 30 while [ true ]; do if [ " 0" = "$(ps | grep -e log | wc -l)" ] || # if [ " 0" = "$(ps | grep -e login | wc -l)" ] || [ " 0" = "$(ps | grep -e char | wc -l)" ] || [ " 0" = "$(ps | grep -e map ...
Shell
#!/bin/bash # modified by shazeya@syafi.com (NL130240) ./athena-start start sleep 30 while [ true ]; do if [ " 0" = "$(ps | grep -e log | wc -l)" ] || # if [ " 0" = "$(ps | grep -e login | wc -l)" ] || [ " 0" = "$(ps | grep -e char | wc -l)" ] || [ " 0" = "$(ps | gr...
Shell
#!/bin/sh # athena starting script by rowla # modified by shazeya@syafi.com (NL101541) PATH=./:$PATH L_SRV=login-server_sql C_SRV=char-server_sql M_SRV=map-server_sql print_start() { # more << EOF echo "Athena Starting..." echo " (c) 2003 Athena Project" echo " modified by shazeya@syafi.co...
Shell
#Compress the javascript files ./yuicompressor.sh -o ../resources/lib/secoora-min.js ../resources/lib/ExtJS-3.3.0/adapter/ext/ext-base.js ../resources/lib/ExtJS-3.3.0/ext-all.js ../resources/lib/OpenLayers-2.10/OpenLayers.js ../resources/lib/GeoExt-1.0/script/GeoExt.js ../resources/lib/ComparisonFilterEx.js ../resource...
Shell
#!/bin/bash # the path to your java program to use JAVA=java # the location where YUI Compressor is installed YUI=./yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar # the maximum number of columns in the output files COLS=4000 ############################################################################### ou...
Shell
/home2/ratingsb/public_html/rcoos/utils/yuicompressor-2.4.7/yuicompressor.sh -o resources/lib/mapping-min.js resources/lib/ExtJS-3.3.0/adapter/ext/ext-base.js resources/lib/ExtJS-3.3.0/ext-all.js resources/lib/OpenLayers-2.10/OpenLayers.js resources/lib/GeoExt-1.0/script/GeoExt.js resources/lib/ComparisonFilterEx.js re...
Shell
/home2/ratingsb/public_html/rcoos/utils/yuicompressor-2.4.7/yuicompressor.sh -o resources/css/secoora-min.css resources/css/popup.css resources/css/mappanel.css resources/css/style.css resources/css/layout_objects.css
Shell
/home2/ratingsb/public_html/rcoos/utils/yuicompressor-2.4.7/yuicompressor.sh -o resources/lib/crcoos-mapping-min.js resources/lib/ComparisonFilterEx.js resources/lib/GeoExt-1.0/script/GeoExt.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/tree/TreeNodeUIEventMixinExtended.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/t...
Shell
#!/usr/bin/env bash cd $(dirname $0) # Get the jar to use. jar="$(ls ../build/*.jar | sort | tail -n1)" echo "jar: $jar" runtest () { testfile="$1" expected=${testfile/\.FAIL/}.min expected="$( cat $expected )" filetype="$( echo $testfile | egrep -o '(cs|j)s' )" if [ "$2" == "cssminjs" ]; then ac...
Shell
#!/usr/bin/env bash cd $(dirname $0) # Get the jar to use. jar="$(ls ../build/*.jar | sort | tail -n1)" echo "jar: $jar" runtest () { testfile="$1" expected=${testfile/\.FAIL/}.min expected="$( cat $expected )" filetype="$( echo $testfile | egrep -o '(cs|j)s' )" if [ "$2" == "cssminjs" ]; then ac...
Shell
/home2/ratingsb/public_html/rcoos/utils/yuicompressor-2.4.7/yuicompressor.sh -o resources/lib/crcoos-mapping-min.js resources/lib/ComparisonFilterEx.js resources/lib/GeoExt-1.0/script/GeoExt.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/tree/TreeNodeUIEventMixinExtended.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/t...
Shell
#!/bin/bash # the path to your java program to use JAVA=java # the location where YUI Compressor is installed YUI=./yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar # the maximum number of columns in the output files COLS=4000 ############################################################################### ou...
Shell
/home2/ratingsb/public_html/rcoos/utils/yuicompressor-2.4.7/yuicompressor.sh -o resources/lib/crcoos-mapping-min.js resources/lib/ComparisonFilterEx.js resources/lib/GeoExt-1.0/script/GeoExt.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/tree/TreeNodeUIEventMixinExtended.js resources/lib/GeoExt-1.0/lib/GeoExt/widgets/t...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_nos ]; then touch /tmp/lock_populate_xenia_nos startTime=`date -u` echo "Start time: $startTime\n" > /home/xeniaprod/tmp/log/scout_nos.log 2>&1 /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl nos 24 /home/xeniaprod/tmp/sqlfiles/nos.sql deb...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_nos ]; then touch /tmp/lock_populate_xenia_nos startTime=`date -u` echo "Start time: $startTime\n" > /home/xeniaprod/tmp/log/scout_nos.log 2>&1 /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl nos 24 /home/xeniaprod/tmp/sqlfiles/nos.sql deb...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_ndbc ]; then touch /tmp/lock_populate_xenia_ndbc /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl ndbc 24 /home/xeniaprod/tmp/sqlfiles/ndbc.sql debug psql -U xeniaprod -d xenia -f /home/xeniaprod/tmp/sqlfiles/ndbc.sql rm -f /tmp/lock_populate...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_ndbc ]; then touch /tmp/lock_populate_xenia_ndbc /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl ndbc 24 /home/xeniaprod/tmp/sqlfiles/ndbc.sql debug psql -U xeniaprod -d xenia -f /home/xeniaprod/tmp/sqlfiles/ndbc.sql rm -f /tmp/lock_populate...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_nws ]; then touch /tmp/lock_populate_xenia_nws startTime=`date -u` echo "Start time: $startTime\n" > /home/xeniaprod/tmp/log/scout_nws.log 2>&1 /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl nws 24 /home/xeniaprod/tmp/sqlfiles/nws.sql deb...
Shell
#!/bin/bash if [ ! -f /tmp/lock_populate_xenia_nws ]; then touch /tmp/lock_populate_xenia_nws startTime=`date -u` echo "Start time: $startTime\n" > /home/xeniaprod/tmp/log/scout_nws.log 2>&1 /home/xeniaprod/scripts/postgresql/feeds/federal/mk_sql_for_xenia.pl nws 24 /home/xeniaprod/tmp/sqlfiles/nws.sql deb...
Shell
#! /bin/bash # # A bash script to download drifter text files, run a perl parser, initiate a DB insert, and then cleanup # # get the text files wget http://cromwell.marine.unc.edu/drifters/aoml_drifters.txt -O /home/jcleary/drifter/aoml_drifters.txt wget http://www.horizonmarine.com/ioos/seacoos.txt -O /home/jclear...
Shell
#!/bin/bash if [ ! -f /home/xeniaprod/tmp/remotesensing/lock_get_usf_modis_sst ]; then touch /home/xeniaprod/tmp/remotesensing/lock_get_usf_modis_sst #Cleanup any files older than 30 days /usr/bin/find /home/xeniaprod/feeds/remotesensing/modis_sst -maxdepth 1 -cmin +43200 -exec rm -f {} \; cd /home/xeniaprod/...
Shell
#!/bin/bash if [ ! -f /home/xeniaprod/tmp/remotesensing/lock_get_usf_modis_sst ]; then touch /home/xeniaprod/tmp/remotesensing/lock_get_usf_modis_sst #Cleanup any files older than 30 days /usr/bin/find /home/xeniaprod/feeds/remotesensing/modis_sst -maxdepth 1 -cmin +43200 -exec rm -f {} \; cd /home/xeniaprod/...
Shell
#!/bin/bash if [ ! -f /home/xeniaprod/tmp/remotesensing/lock_get_usf_oi_sst ]; then touch /home/xeniaprod/tmp/remotesensing/lock_get_usf_oi_sst #Cleanup any files older than 30 days /usr/bin/find /home/xeniaprod/feeds/remotesensing/oi_sst -maxdepth 1 -cmin +43200 -exec rm -f {} \; cd /home/xeniaprod/scripts/p...
Shell
#!/bin/bash if [ ! -f /home/xeniaprod/tmp/remotesensing/lock_get_usf_oi_sst ]; then touch /home/xeniaprod/tmp/remotesensing/lock_get_usf_oi_sst #Cleanup any files older than 30 days /usr/bin/find /home/xeniaprod/feeds/remotesensing/oi_sst -maxdepth 1 -cmin +43200 -exec rm -f {} \; cd /home/xeniaprod/scripts/p...
Shell
#!/bin/bash cd /home/xeniaprod/scripts/QAQC; perl CalcPlatformUptimePercentage.pl --WorkingDir /home/xeniaprod/feeds/qaqc --TstProfFeed http://carocoops.org/~dramage_prod/rcoos/test_profiles.xml --XMLConfigFile=/home/xeniaprod/config/UptimeConfigPostgres.xml perl GenPlatformUptimeWebpage.pl GenPlatformUptimeWebpage.p...
Shell
#!/bin/bash cd /home/xeniaprod/scripts/QAQC; perl CalcPlatformUptimePercentage.pl --WorkingDir /home/xeniaprod/feeds/qaqc --TstProfFeed http://carocoops.org/~dramage_prod/rcoos/test_profiles.xml --XMLConfigFile=/home/xeniaprod/config/UptimeConfigPostgres.xml perl GenPlatformUptimeWebpage.pl GenPlatformUptimeWebpage.p...
Shell
cd /var/www/cgi-bin/microwfs perl check_status.pl ./microwfs.db email 0 status_microwfs.txt status_microwfs_latest.txt flow_microwfs.png "Flow Microwfs" >>/tmp/microwfs_status.log 2>&1 perl check_status.pl ./microwfs.db no_email 0 status_low.txt status_low_latest.txt flow_low.png "Flow Low" 100 >>/dev/null 2>&1 #perl...
Shell
################################################################# #super aggregate obskml for last hour/latest #expand and zip new 'day' - past 24 hours of kml data kmz file #remember microwfs.db maintain.pl cron step #rem get Dan's ObsKML first - runs around the hour but latest before run is around :45 #obskml dan(n...
Shell
#!/bin/sh export LD_PRELOAD=/home/bdpayne/Development/xen/libxa/libxenaccess.so /home/bdpayne/Development/xen/libxa/test export LD_PRELOAD=
Shell
#!/bin/sh export LD_PRELOAD=/home/bdpayne/Development/xen/libxa/libxenaccess.so /home/bdpayne/Development/xen/libxa/test export LD_PRELOAD=
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
gcc -fPIC -g -c -Wall xadisk_core.c gcc -fPIC -g -c -Wall xadisk_hash.c gcc -fPIC -g -c -Wall xadisk_parse.c gcc -fPIC -g -c -Wall xadisk_linux_ext2.c gcc -shared -Wl,-soname,libxadisk.so -o libxadisk.so xadisk_core.o xadisk_hash.o xadisk_parse.o xadisk_linux_ext2.o -lc gcc -lpthread -L. libxadisk.so -o monitor monit...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Th...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#!/bin/sh rm -f config.cache rm -f acconfig.h aclocal autoconf autoheader automake -a
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-06-18' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that S...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-06-17' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public L...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#!/bin/sh rm -f config.cache rm -f acconfig.h aclocal autoconf autoheader automake -a
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
gcc -fPIC -g -c -Wall xadisk_core.c gcc -fPIC -g -c -Wall xadisk_hash.c gcc -fPIC -g -c -Wall xadisk_parse.c gcc -fPIC -g -c -Wall xadisk_linux_ext2.c gcc -shared -Wl,-soname,libxadisk.so -o libxadisk.so xadisk_core.o xadisk_hash.o xadisk_parse.o xadisk_linux_ext2.o -lc gcc -lpthread -L. libxadisk.so -o monitor monit...
Shell
#!/bin/sh export LD_PRELOAD=/home/bdpayne/Development/xen/libxa/libxenaccess.so /home/bdpayne/Development/xen/libxa/test export LD_PRELOAD=
Shell
#!/bin/sh export LD_PRELOAD=/home/bdpayne/Development/xen/libxa/libxenaccess.so /home/bdpayne/Development/xen/libxa/test export LD_PRELOAD=
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
#!/bin/sh libtoolize --force --copy aclocal autoheader automake -a autoconf
Shell
gcc -fPIC -g -c -Wall xadisk_core.c gcc -fPIC -g -c -Wall xadisk_hash.c gcc -fPIC -g -c -Wall xadisk_parse.c gcc -fPIC -g -c -Wall xadisk_linux_ext2.c gcc -shared -Wl,-soname,libxadisk.so -o libxadisk.so xadisk_core.o xadisk_hash.o xadisk_parse.o xadisk_linux_ext2.o -lc gcc -lpthread -L. libxadisk.so -o monitor monit...
Shell
#!/bin/sh export LD_PRELOAD=../libxenaccess.so $@ export LD_PRELOAD=
Shell
#!/bin/sh export LD_PRELOAD=../libxenaccess.so $@ export LD_PRELOAD=
Shell
#!/bin/sh export LD_PRELOAD=../libxenaccess.so:/usr/local/lib/libvirt.so $@ export LD_PRELOAD=
Shell
#!/bin/sh export LD_PRELOAD=../libxenaccess.so:/usr/local/lib/libvirt.so $@ export LD_PRELOAD=
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 sudo mini_httpd -p 8080 -d ./webroot/ -c "**.cgi" -l logfile.log -D -T "UTF-8"
Shell
#!/bin/sh sudo mini_httpd -p 8080 -d ./webroot/ -c "**.cgi" -l logfile.log -D -T "UTF-8"
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh for i in $(ls *.php) do php -l $i | grep -v 'No syntax errors detected' done
Shell
#!/bin/sh for i in $(ls *.php) do php -l $i | grep -v 'No syntax errors detected' done
Shell
#!/usr/bin/env bash # this script install xeCJK for you # check user id function check_uid { ROOT_UID=0 if [ $UID -ne $ROOT_UID ] then echo "-> You must be root to run this script!" echo "-> type \"sudo $(basename $0)\" to run again" exit 1 fi } check_uid wget -c http://xecjk...
Shell
#!/usr/bin/env bash # this script install texlive environment on different linux distributions #################### # Current support for various linux distribution # Redhat No # Fedora No # Slackware No # Gentoo No # SuSE No # Mandrake No # Debian No # Arch Yes #################...
Shell
#!/usr/bin/env bash # this script install xeCJK for you # check user id function check_uid { ROOT_UID=0 if [ $UID -ne $ROOT_UID ] then echo "-> You must be root to run this script!" echo "-> type \"sudo $(basename $0)\" to run again" exit 1 fi } check_uid wget -c http://xecjk...
Shell
#!/usr/bin/env bash # software version VERSION=$1 # clean uncessary temporary files make -f tex/Makefile cleanall tar czvf xecjk-template-${VERSION}.tar.gz tex tar czvf xecjk-template-all-${VERSION}.tar.gz TODO CHANGES README LICENSE IDEs scripts tex
Shell
#!/bin/sh cd ./build/compiled ~/wtk/bin/emulator -cp . GPSLogger
Shell
#!/bin/sh cd dist zip -rv9 GPSLogger-`date +%y%m%d-%H%M`.zip *.jar *.jad
Shell
#!/bin/sh if [ -h $0 ]; then # Is this a link? scriptName=`readlink $0` cd `dirname $scriptName` else # this is a script file itself... cd `dirname $0` fi echo "Packing the complete GPSLogger source archive:" date >pack.log #zip -rv9 serge-works-GPSLogger-`date +%y%m%d-%H%M`.zip * #tar cvfj serge-works...
Shell
#!/bin/sh # Run this to generate configure, the initial makefiles, etc. # # Source (non-SVN) distributions should come with a "configure" script # already generated--people simply compiling the program shouldn't # need autoconf and friends installed. # # SVN only contains the source files: Makefile.am, configure.ac, an...
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 adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
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 adb shell pm clear 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 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 # 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 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/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="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) 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="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) 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="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) tok...
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="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) tok...
Shell
#!/bin/sh export AG_APPLICATIONS=$TESTDATADIR export AG_SERVICES=$TESTDATADIR export AG_SERVICE_TYPES=$TESTDATADIR export AG_PROVIDERS=$TESTDATADIR export ACCOUNTS=/tmp/ export AG_DEBUG=all export G_MESSAGES_DEBUG=all export PATH=.:$PATH # If dbus-test-runner exists, use it to run the tests in a separate D-Bus # sess...
Shell
gtkdocize automake --add-missing autoreconf -i && ./configure "$@"
Shell
#!/bin/bash # Insert the vnet module if it can be found and # it's not already there. vnet_insert () { local module="vnet_module" local mod_dir=/lib/modules/$(uname -r) local mod_obj="" if lsmod | grep -q ${module} ; then echo "VNET: ${module} loaded" return fi local mods=$(fin...
Shell
#!/bin/sh scriptdir=/etc/xen/scripts/ case ${1} in start) ${scriptdir}/vnet-insert ;; esac ${scriptdir}/network-bridge "$@"
Shell
#!/bin/bash # Copy this file to /etc/bash_completion.d/xl.sh _xl() { local IFS=$'\n,' local cur opts xl COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" xl=xl if [[ $COMP_CWORD == 1 ]] ; then opts=`${xl} help 2>/dev/null | sed '1,4d' | awk '{print $1}' | sed 's/$/ ,/g'` && COMPREPLY=( $(compgen -W "${opts}" -- ...
Shell
# -*- sh -*- # # Xend configuration file. # # This example configuration is appropriate for an installation that # utilizes a bridged network configuration. Access to xend via http # is disabled. # Commented out entries show the default for that entry, unless otherwise # specified. #(logfile /var/log/xend.log) #...
Shell
#!/bin/sh # usage: # .../install-wrap $(PYTHON_PATH) install <options-to-install> <src>... <dest> # where # PYTHON_PATH is what to put after #! and may be `/usr/bin/env python' # # Used via $(INSTALL_PYTHON_PROG) in Rules.mk; PYTHON_PATH comes from $(PYTHON) set -e if test $# -lt 2; then echo >&2 "${0##*/}: too few...
Shell
#!/bin/bash awk \ 'BEGIN { }\ /^\.text/,/DATA_SEG_DEFS_HERE/ { print }\ END { }'\ $1 > temp.awk.1 awk \ 'BEGIN { i = 0; last = "hello" }\ /BLOCK_STRINGS_BEGIN/,/^\.bss/ { if ( i > 1 ) { print last } last = $0; i = i + 1 }\ END { }'\ $1 > temp.awk.2 awk \ 'BEGIN { }\ /DATA_SEG_DEFS_HERE/,/BLOCK_ST...
Shell
#!/bin/sh # # mkhex: Generate C embeddable hexdumps # # Leendert van Doorn, leendert@watson.ibm.com # Copyright (c) 2005, International Business Machines Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, # versio...
Shell
#!/bin/sh # # mkhex: Generate C embeddable hexdumps # # Leendert van Doorn, leendert@watson.ibm.com # Copyright (c) 2005, International Business Machines Corporation. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, # versio...
Shell
# -*- sh -*- # # Xend configuration file. # # This example configuration is appropriate for an installation that # utilizes a bridged network configuration. Access to xend via http # is disabled. # Commented out entries show the default for that entry, unless otherwise # specified. #(logfile /var/log/xen/xend.lo...
Shell
#!/bin/bash #============================================================================ # This script should be installed in /usr/X11R6/bin/Xvnc-xen. #============================================================================ # # Start Xvnc and use vncconnect to connect back to a vncviewer listening in # domain 0. ...
Shell
#!/bin/sh ifconfig $1 up exec /sbin/brconfig $2 add $1
Shell
#!/bin/sh #. /etc/rc.d/init.d/functions #ulimit -c unlimited echo 'config qemu network with xen bridge for ' $* bridge=$2 # # Old style bridge setup with netloop, used to have a bridge name # of xenbrX, enslaving pethX and vif0.X, and then configuring # eth0. # # New style bridge setup does not use netloop, so the ...
Shell
#!/bin/sh # enable automatic i386/ARM/M68K/MIPS/SPARC/PPC program execution by the kernel # load the binfmt_misc module if [ ! -d /proc/sys/fs/binfmt_misc ]; then /sbin/modprobe binfmt_misc fi if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc fi # probe ...
Shell
#!/bin/sh # Convert text files to compilable C arrays. # # Copyright (C) 2007 Free Software Foundation, Inc. # # This file is part of GDB. # # 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; eith...
Shell
#!/bin/sh set -e # git-clean -x -d && ./xen-setup && make prefix=/usr CMDLINE_CFLAGS='-O0 -g' -j4 && make install DESTDIR=`pwd`/dist/ prefix=/usr && rsync -a --stats --delete . thule:shadow/qemu-iwj.git/ && rsync -a --stats dist/. root@thule:/ target=i386-dm mkdir -p $target rm -f $target/Makefile rm -f $target/confi...
Shell