code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/bash
perl ../../buildscripts/jslink.pl -pre cat -i program.js -l lib.js -o out.js
java -jar ../../buildscripts/lib/custom_rhino.jar -e "load('out.js'); load('program.js');"
| Shell |
#!/bin/bash
cd ../src
if [ $# -gt 1 ]; then
cd $2
fi
grep -r "dojo\.$1\." * | grep -v "\.svn" | grep -v -e 'dojo\.require\|dojo\.provide\|moduleLoaded' |\
sed -r 's/^.*(dojo\.'$1'\.[a-zA-Z0-9_\.]+).*$/\1/' | sed -r 's/\.(apply|call)$//' | sort | uniq -c | sort -g -r
| Shell |
#!/bin/bash
# Folder names
DOJO=dojo-`date +%F`
OUT_DIR=../release/
# Build profiles
echo Build profiles...
ant # get it setup
for pfile in $(cd profiles; ls *.profile.js; cd ..)
do
profile=`echo $pfile | sed 's/.profile.js//g'`
echo Building profile: $profile
CLASSPATH="/home/alex/.ant/lib/js.jar:/home/alex/.ant/... | Shell |
#!/bin/bash
OUT_DIR=../usage
rm -rf $OUT_DIR
mkdir -p $OUT_DIR
for file in $(ls ../src); do
part=`echo $file | sed 's/\.js//'`
if [ `echo -n $part | wc -m` = "0" ]; then
continue
else
./usage $part > $OUT_DIR/$part.txt
fi
done
cat $OUT_DIR/* | sort -g -r > $OUT_DIR/_all.txt
exit 0
| Shell |
ant -Dprofile=browserio -Drest_files=intro_to_dojo_io.rest release
mkdir ../release/dojo/tests
cp ../tests/io/xmlhttp_package_test.html ../release/dojo/tests/
cp ../tests/io/test_BrowserIO_data.txt ../release/dojo/tests/
rm -rf ../release/dojo/src
(cd ../release && tar -zcf dojo.tar.gz dojo/)
| Shell |
#!/bin/bash
cd ../src
if [ $# -gt 1 ]; then
cd $2
fi
grep -r "dojo\.$1\." * | grep -v "\.svn" | grep -v -e 'dojo\.require\|dojo\.provide\|moduleLoaded' |\
sed -r 's/^.*(dojo\.'$1'\.[a-zA-Z0-9_\.]+).*$/\1/' | sed -r 's/\.(apply|call)$//' | sort | uniq -c | sort -g -r
| Shell |
#!/bin/bash
OUT_DIR=../usage
rm -rf $OUT_DIR
mkdir -p $OUT_DIR
for file in $(ls ../src); do
part=`echo $file | sed 's/\.js//'`
if [ `echo -n $part | wc -m` = "0" ]; then
continue
else
./usage $part > $OUT_DIR/$part.txt
fi
done
cat $OUT_DIR/* | sort -g -r > $OUT_DIR/_all.txt
exit 0
| Shell |
ant -Ddocless=true -Dprofile=$1 $2 release intern-strings
| Shell |
#!/bin/bash
# Folder names
DOJO=dojo-`date +%F`
OUT_DIR=../release/
# Build profiles
echo Build profiles...
ant # get it setup
for pfile in $(cd profiles; ls *.profile.js; cd ..)
do
profile=`echo $pfile | sed 's/.profile.js//g'`
echo Building profile: $profile
CLASSPATH="/home/alex/.ant/lib/js.jar:/home/alex/.ant/... | Shell |
#!/bin/bash
# Android Screenshot Library #
##############################
# Startup script #
echo "Android Screenshot Library -- initializing..."
#
if [ -z $ANDROID ]; then
echo "*** Android SDK not found ***"
echo "Make sure the ANDROID variable is pointing to Android SDK root directory"
else
adb="$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
#
# 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ... | Shell |
#!/bin/bash
#
# Zabbix
# Copyright (C) 2000,2001,2002,2003 Alexei Vladishev
#
# 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 option) any later v... | Shell |
#!/bin/bash
#
# Zabbix
# Copyright (C) 2000,2001,2002,2003 Alexei Vladishev
#
# 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 option) any later v... | Shell |
#!/bin/sh
##########################################################
###### Zabbix agent daemon init script
##########################################################
case $1 in
start)
/home/zabbix/zabbix_agentd -c /home/zabbix/zabbix_agentd.conf;;
stop)
kill -TERM `cat /home/zabbix/run/zabbix_agentd.pid` ;;
res... | Shell |
#!/bin/sh
##########################################################
###### Zabbix agent daemon init script
##########################################################
case $1 in
start)
/home/zabbix/zabbix_agentd -c /home/zabbix/zabbix_agentd.conf;;
stop)
kill -TERM `cat /home/zabbix/run/zabbix_agentd.pid` ;;
res... | Shell |
#!/bin/sh
# ZABBIX
# Copyright (C) 2000-2005 SIA Zabbix
#
# 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 option) any later version.
#
# This prog... | Shell |
#!/bin/sh
# ZABBIX
# Copyright (C) 2000-2005 SIA Zabbix
#
# 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 option) any later version.
#
# This prog... | Shell |
#!/bin/sh
# ZABBIX
# Copyright (C) 2000-2005 SIA Zabbix
#
# 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 option) any later version.
#
# This prog... | Shell |
#!/bin/sh
# ZABBIX
# Copyright (C) 2000-2005 SIA Zabbix
#
# 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 option) any later version.
#
# This prog... | Shell |
#!/bin/sh
. /etc/rc.subr
name="zabbix_server"
load_rc_config ${name}
rcvar=`set_rcvar`
command="${prefix:-"/usr/local"}/bin/${name}"
required_files="/etc/zabbix/${name}.conf"
run_rc_command "$1"
| Shell |
#!/bin/sh
. /etc/rc.subr
name="zabbix_agentd"
load_rc_config ${name}
rcvar=`set_rcvar`
command="${prefix:-"/usr/local"}/bin/${name}"
required_files="/etc/zabbix/${name}.conf"
run_rc_command "$1"
| Shell |
#!/bin/sh
. /etc/rc.subr
name="zabbix_agentd"
load_rc_config ${name}
rcvar=`set_rcvar`
command="${prefix:-"/usr/local"}/bin/${name}"
required_files="/etc/zabbix/${name}.conf"
run_rc_command "$1"
| Shell |
#!/bin/sh
. /etc/rc.subr
name="zabbix_server"
load_rc_config ${name}
rcvar=`set_rcvar`
command="${prefix:-"/usr/local"}/bin/${name}"
required_files="/etc/zabbix/${name}.conf"
run_rc_command "$1"
| Shell |
#!/bin/bash
#
# chkconfig: - 55 45
# description: zabbix_server
# probe: false
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up. If you are running without a network, comment this out.
[ "${NETWORKING}" = "no" ] && exi... | Shell |
#!/bin/bash
#
# chkconfig: - 55 45
# description: zabbix_agentd
# probe: false
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up. If you are running without a network, comment this out.
[ "${NETWORKING}" = "no" ] && exi... | Shell |
#!/bin/bash
#
# chkconfig: - 55 45
# description: zabbix_agentd
# probe: false
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up. If you are running without a network, comment this out.
[ "${NETWORKING}" = "no" ] && exi... | Shell |
#!/bin/bash
#
# chkconfig: - 55 45
# description: zabbix_server
# probe: false
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up. If you are running without a network, comment this out.
[ "${NETWORKING}" = "no" ] && exi... | Shell |
#!/bin/sh
#
# zabbix_server_ctl
#
# control script to stop/start/restart zabbix_server
# author: charlie collins
# date: 01.21.2002
#
# revised 09.21.2003
# (setup for Red Hat 7.3 with Zabbix 1.0 beta)
# (should work for other Red Hat and Sys V style init machines as well)
#
# (modeled after apache style control scrip... | Shell |
#!/bin/sh
#
# zabbix_agentd_ctl
#
# control script to stop/start/restart zabbix_agentd
# author: charlie collins
# date: 01.21.2002
#
# revised 09.21.2003
# (setup for Red Hat 7.3 with Zabbix 1.0 beta)
# (should work for other Red Hat and Sys V style init machines as well)
#
# (modeled after apache style control scrip... | Shell |
#!/bin/sh
#
# zabbix_server_ctl
#
# control script to stop/start/restart zabbix_server
# author: charlie collins
# date: 01.21.2002
#
# revised 09.21.2003
# (setup for Red Hat 7.3 with Zabbix 1.0 beta)
# (should work for other Red Hat and Sys V style init machines as well)
#
# (modeled after apache style control scrip... | Shell |
#!/bin/sh
#
# zabbix_agentd_ctl
#
# control script to stop/start/restart zabbix_agentd
# author: charlie collins
# date: 01.21.2002
#
# revised 09.21.2003
# (setup for Red Hat 7.3 with Zabbix 1.0 beta)
# (should work for other Red Hat and Sys V style init machines as well)
#
# (modeled after apache style control scrip... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_server
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Should-Start: mysql postgresql
# Required-Stop:
... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_server
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Should-Start: mysql postgresql
# Required-Stop:
... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:
# Description: Starts Zabbix_Agentd
### END INIT INFO
. /etc/rc.status
rc_reset
NA... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:
# Description: Starts Zabbix_Agentd
### END INIT INFO
. /etc/rc.status
rc_reset
NA... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:
# Description: Starts Zabbix_Agentd
### END INIT INFO
. /etc/rc.status
rc_reset
NA... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:
# Description: Starts Zabbix_Agentd
### END INIT INFO
. /etc/rc.status
rc_reset
NA... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_server
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Should-Start: mysql postgresql
# Required-Stop:
... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_agentd
#
### BEGIN INIT INFO
# Provides: zabbix_agentd
# Required-Start: $network $remote_fs $syslog
# Required-Stop:
# Default-Start: 3
# Default-Stop:... | Shell |
#! /bin/sh
# Copyright (c) 07/2004 A.Tophofen, Germany
# Modified for Zabbix 1.1alpha7 and SuSE Linux 9.2
# April 2005, A. Kiepe, Switzerland
#
# init.d/zabbix_server
#
### BEGIN INIT INFO
# Provides: zabbix_server
# Required-Start: $network $remote_fs $syslog
# Should-Start: mysql postgresql
# Required-Stop:
... | Shell |
#!/bin/bash
#
# /etc/rc.d/init.d/dovecot
#
# Starts the zabbix_server daemon
#
# chkconfig: - 95 5
# description: Zabbix Monitoring Server
# processname: zabbix_server
# pidfile: /var/tmp/zabbix_server.pid
# Source function library.
. /etc/init.d/functions
RETVAL=0
prog="Zabbix Server"
CONFIG_FILE="/etc/zabbix... | Shell |
#!/bin/bash
#
# /etc/rc.d/init.d/dovecot
#
# Starts the zabbix_agentd daemon
#
# chkconfig: - 95 5
# description: Zabbix Monitoring Agent
# processname: zabbix_agentd
# pidfile: /var/tmp/zabbix_agentd.pid
# Source function library.
. /etc/init.d/functions
RETVAL=0
prog="Zabbix Agent"
CONFIG_FILE="/etc/zabbix/z... | Shell |
#!/bin/bash
#
# /etc/rc.d/init.d/dovecot
#
# Starts the zabbix_agentd daemon
#
# chkconfig: - 95 5
# description: Zabbix Monitoring Agent
# processname: zabbix_agentd
# pidfile: /var/tmp/zabbix_agentd.pid
# Source function library.
. /etc/init.d/functions
RETVAL=0
prog="Zabbix Agent"
CONFIG_FILE="/etc/zabbix/z... | Shell |
#!/bin/bash
#
# /etc/rc.d/init.d/dovecot
#
# Starts the zabbix_server daemon
#
# chkconfig: - 95 5
# description: Zabbix Monitoring Server
# processname: zabbix_server
# pidfile: /var/tmp/zabbix_server.pid
# Source function library.
. /etc/init.d/functions
RETVAL=0
prog="Zabbix Server"
CONFIG_FILE="/etc/zabbix... | Shell |
#!/bin/bash
#
# chkconfig: - 90 10
# description: Starts and stops Zabbix Server using chkconfig
# Tested on Fedora Core 2 - 5
# Should work on all Fedora Core versions
#
# @name: zabbix_serverd
# @author: Alexander Hagenah <hagenah@topconcepts.com>
# @created: 18.04.2006
#
# Source function library.
. /etc/init... | Shell |
#!/bin/bash
#
# chkconfig: - 90 10
# description: Starts and stops Zabbix Agent using chkconfig
# Tested on Fedora Core 2 - 5
# Should work on all Fedora Core versions
#
# @name: zabbix_serverd
# @author: Alexander Hagenah <hagenah@topconcepts.com>
# @created: 18.04.2006
#
# Source function library.
. /etc/init.... | Shell |
#!/bin/bash
#
# chkconfig: - 90 10
# description: Starts and stops Zabbix Agent using chkconfig
# Tested on Fedora Core 2 - 5
# Should work on all Fedora Core versions
#
# @name: zabbix_serverd
# @author: Alexander Hagenah <hagenah@topconcepts.com>
# @created: 18.04.2006
#
# Source function library.
. /etc/init.... | Shell |
#!/bin/bash
#
# chkconfig: - 90 10
# description: Starts and stops Zabbix Server using chkconfig
# Tested on Fedora Core 2 - 5
# Should work on all Fedora Core versions
#
# @name: zabbix_serverd
# @author: Alexander Hagenah <hagenah@topconcepts.com>
# @created: 18.04.2006
#
# Source function library.
. /etc/init... | Shell |
#! /bin/sh
#
# Zabbix agent start/stop script.
#
# Written by Alexei Vladishev <alexei.vladishev@zabbix.com>.
NAME=zabbix_agentd
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin
DAEMON=/home/zabbix/bin/${NAME}
DESC="Zabbix agent daemon"
PID=/var/tmp/$NAME.pid
test -f $DAEMON || exit 0
set -e
case "$1" in
start... | Shell |
#! /bin/sh
#
# Zabbix agent start/stop script.
#
# Written by Alexei Vladishev <alexei.vladishev@zabbix.com>.
NAME=zabbix_agentd
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin
DAEMON=/home/zabbix/bin/${NAME}
DESC="Zabbix agent daemon"
PID=/var/tmp/$NAME.pid
test -f $DAEMON || exit 0
set -e
case "$1" in
start... | Shell |
#! /bin/sh
#
# Zabbix daemon start/stop script.
#
# Written by Alexei Vladishev <alexei.vladishev@zabbix.com>.
NAME=zabbix_server
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin
DAEMON=/home/zabbix/bin/${NAME}
DESC="Zabbix server daemon"
PID=/var/tmp/$NAME.pid
test -f $DAEMON || exit 0
set -e
case "$1" in
sta... | Shell |
#! /bin/sh
#
# Zabbix daemon start/stop script.
#
# Written by Alexei Vladishev <alexei.vladishev@zabbix.com>.
NAME=zabbix_server
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin
DAEMON=/home/zabbix/bin/${NAME}
DESC="Zabbix server daemon"
PID=/var/tmp/$NAME.pid
test -f $DAEMON || exit 0
set -e
case "$1" in
sta... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
#a
scriptversion=2006-12-25.00
# 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 hereb... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-06-28'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-07-22'
# This file is free software; you can redistribute it and/or modify it
# under the terms of th... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
#a
scriptversion=2006-12-25.00
# 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 hereb... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 ... | Shell |
#!/bin/sh
URL="http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py"
wget $URL
/usr/bin/env python ./bootstrap.py
| Shell |
#!/bin/sh
URL="http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py"
wget $URL
/usr/bin/env python ./bootstrap.py
| Shell |
#!/bin/bash
# Converts Google Code wiki pages to GitHub flavored Markdown. This is done
# inside of an existing git repo, and the process will build up a series
# of git commits for each file modified.
USAGE="Bulk converter for wiki pages.
convert-repo.sh <path-to-wiki2gfm.py> <path-to-git-repo-root>
"
if [ $# -eq 0... | Shell |
#! /bin/sh
./ac3.out -b random11.conf&
./ac31.out -b random12.conf&
./ac311.out -b random13.conf &
| Shell |
#! /bin/sh
./ac3.out -b random21.conf
./ac31.out -b random22.conf
./ac3.out -b realProblems11.conf
./ac31.out -b realProblems12.conf
| Shell |
#! /bin/sh
./ac3.out -b random11.conf&
./ac31.out -b random12.conf&
./ac311.out -b random13.conf &
| Shell |
#! /bin/sh
./ac3r.out -b random2.conf
./ac311.out -b random23.conf
./ac3r.out -b realProblems1.conf
./ac311.out -b realProblems13.conf
| Shell |
#! /bin/sh
./ac3r.out -b random2.conf
./ac311.out -b random23.conf
./ac3r.out -b realProblems1.conf
./ac311.out -b realProblems13.conf
| Shell |
#! /bin/sh
./ac3.out -b random21.conf
./ac31.out -b random22.conf
./ac3.out -b realProblems11.conf
./ac31.out -b realProblems12.conf
| Shell |
#!/bin/bash
# Copyright 2012 Roman Nurik
#
# 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
# Copyright 2012 Roman Nurik
#
# 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/sh
# Copyright 2012 Roman Nurik
#
# 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/sh
find . -iname \.DS_Store -exec rm {} \;
rm -rf extension.zip
cd extension/
zip -qr ../extension.zip .
cd ..
zipinfo -l extension.zip
| 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 |
cd /cygdrive/c/workspace/AndEnginePhysicsBox2DExtension/
/cygdrive/c/workspace/sdk/android-ndk-r6/ndk-build | Shell |
#!/bin/sh
#
# Usage example: ./generate.sh int Int Integer"
# Args are: primitive type, capitalized primitive type, wrapper type
#
# To make changes to the .java files in this package,
# 1. run this script to generate the templates, move the .gen files
# somewhere else
# 2. modify the template with your intended cha... | 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/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.