code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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-a242b4cf1123910c4dba18c75a77f28c5f6d8f33.tar.bz2 MUPDF=mupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33 FREETYPE=freetype-2.4.10 OPENJPEG=openjpeg-1.5.1 JBIG2DEC=jbig2dec-0.11 JPEGSRC=jpegsrc.v8d.tar.gz JPEGDIR=jpeg-8d cd "$SCRIPTDIR/../...
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 # # 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
<?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/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
rm -rf build rm -rf tmp
Shell
appcfg.py update build
Shell
python build.py dev_appserver.py --port 9999 build
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#!/bin/bash version="0.0.7" progname="abyle" srcpath="src" pkgdir="$progname-pkg" templatedir="template" global_templatedir="$templatedir/global" global_configfile="config.xml" interface_templatedir="$templatedir/interface" networkInterfaces="" echo backupUniqueString=`date +"%Y%m%d%H%M%S"` toLower() { str=`echo...
Shell
#!/bin/bash version="0.0.7" progname="abyle" srcpath="src" pkgdir="$progname-pkg" templatedir="template" global_templatedir="$templatedir/global" global_configfile="config.xml" interface_templatedir="$templatedir/interface" networkInterfaces="" echo backupUniqueString=`date +"%Y%m%d%H%M%S"` toLower() { str=`echo...
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#!/bin/bash version="0.0.7" progname="abyle" srcpath="src" pkgdir="$progname-pkg" templatedir="template" global_templatedir="$templatedir/global" global_configfile="config.xml" interface_templatedir="$templatedir/interface" networkInterfaces="" echo backupUniqueString=`date +"%Y%m%d%H%M%S"` toLower() { str=`echo...
Shell
#!/bin/bash version="0.0.7" progname="abyle" srcpath="src" pkgdir="$progname-pkg" templatedir="template" global_templatedir="$templatedir/global" global_configfile="config.xml" interface_templatedir="$templatedir/interface" networkInterfaces="" echo backupUniqueString=`date +"%Y%m%d%H%M%S"` toLower() { str=`echo...
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#! /bin/bash # # ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Scri...
Shell
#! /bin/bash # # ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Scri...
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh -e # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall if [ "$1" = "reconfigure" ]; then db_fset abyle-firewall/exclude seen false fi db_input high abyle-firewall/exclude || true db_go || true db_get abyle-firewall/exclude if [ "$RET" = "true" ] ; then n...
Shell
#!/bin/sh rm /etc/init.d/abyle-firewall >/dev/null 2> /dev/null update-rc.d abyle-firewall remove >/dev/null 2> /dev/null rm -rf /usr/lib/python2.6/site-packages/abyle-firewall >/dev/null #!/bin/sh if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#!/bin/sh if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule # I no longer claim this question. db_unregister abyle-firewall/interfaces # See if the shared question still exists. if db_get abyle-firewall/interfaces; then db_metaget abyle-firewall/interface...
Shell
#!/bin/sh # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 db_title abyle-firewall update-rc.d abyle-firewall defaults >/dev/null || true db_get abyle-firewall/interfaces excludedinterfaces=$RET db_get abyle-firewall/protectedinterfaces protectedinterfaces=$RET db_get abyle-firewall/ipv4f...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
Shell
#! /bin/bash ### BEGIN INIT INFO # Provides: abyle-firewall # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: abyle-firewall-script # Description: Abyle-IPTables-Firewall-Script ### END INIT INFO export globalconfig="...
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 <<<<<<< HEAD # jvmtop - java monitoring for the command-line launch script ======= # jvmtop - java monitoring for the command-line # launch script >>>>>>> branch 'master' of https://code.google.com/r/abukta-jvmtop/ # # author: Markus Kolb # DIR=`cd "\`dirname "$0"\`" && pwd` if [ -z "$JAVA_HOME" ] ; then ...
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/bash query=query$2.rq head -n1 $query sparql --data=$1 --query=$query
Shell
#!/bin/bash query=query$2.rq head -n1 $query sparql --data=$1 --query=$query
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 # # 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 ...
Shell
#!/bin/sh adb shell pm clear 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_BitmapCache VERBOSE
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
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh # you can either set the environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, # ACLOCAL, AUTOPOINT and/or LIBTOOLIZE to the right versions, or leave them # unset and get the defaults exec autoreconf --verbose --force --install
Shell
#!/bin/sh printf "Content-type: application/json\n\n" if ! test -x ../abus-send ; then echo '{"jsonrpc": "2.0", "error": {"code": -32099, "message": "abus-send failed or not found"}, "id":1}' exit 1 fi # (external) JSON-RPC forwarding if ! ../abus-send - 2> /dev/null ; then echo '{"jsonrpc": "2.0", "error": {"cod...
Shell
#!/bin/sh printf "Content-type: application/json\n\n" if ! test -x ../abus-send ; then echo '{"jsonrpc": "2.0", "error": {"code": -32099, "message": "abus-send failed or not found"}, "id":1}' exit 1 fi # (external) JSON-RPC forwarding if ! ../abus-send - 2> /dev/null ; then echo '{"jsonrpc": "2.0", "error": {"cod...
Shell
#!/bin/sh RED="\033[1;31m" GREEN="\033[1;32m" WHITE="\033[0m" echo "### KNOWN GOOD" for file in `find good/*.json` do ../jsonlint --verify $file if [ $? -eq 0 ]; then echo -e "${GREEN}SUCCESS${WHITE}: $file" else echo -e "${RED}FAILED${WHITE} : $file" fi done echo "### KNOWN BAD" for file in `find bad/*.js...
Shell
#!/bin/sh RED="\033[1;31m" GREEN="\033[1;32m" WHITE="\033[0m" echo "### KNOWN GOOD" for file in `find good/*.json` do ../jsonlint --verify $file if [ $? -eq 0 ]; then echo -e "${GREEN}SUCCESS${WHITE}: $file" else echo -e "${RED}FAILED${WHITE} : $file" fi done echo "### KNOWN BAD" for file in `find bad/*.js...
Shell
#!/bin/sh # you can either set the environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, # ACLOCAL, AUTOPOINT and/or LIBTOOLIZE to the right versions, or leave them # unset and get the defaults exec autoreconf --verbose --force --install
Shell
#!/usr/bin/env bash # listen.sh # # Purpose: This scripts run PacketListener # # MOTE_IFACE=`motelist | tail -1 | awk '{print $2}'` MOTE_IFACE="serial@$MOTE_IFACE:telosb" if [ -z $MOTE_IFACE ]; then echo "MOTE_IFACE is not set. (motelist command may have failed)" exit 1 fi java -jar ../MoteInterface/Packet...
Shell
#!/usr/bin/env bash # setcom.sh # # Purpose: This scripts sets the motecom.txt file # # AC2_WEB_ROOT=.. AC2_WEB_MOTE_IFACE=$AC2_WEB_ROOT/MoteInterface AC2_MOTECOM=$AC2_WEB_MOTE_IFACE/motecom.txt AC2_MOTECOM_LOG=setcom.log #if [ ! -f $AC2_MOTECOM_LOG ]; then # touch $AC2_MOTECOM_LOG #fi log() { echo $(date...
Shell
#!/usr/bin/env bash # setcom.sh # # Purpose: This scripts sets the motecom.txt file # # AC2_WEB_ROOT=.. AC2_WEB_MOTE_IFACE=$AC2_WEB_ROOT/MoteInterface AC2_MOTECOM=$AC2_WEB_MOTE_IFACE/motecom.txt AC2_MOTECOM_LOG=setcom.log #if [ ! -f $AC2_MOTECOM_LOG ]; then # touch $AC2_MOTECOM_LOG #fi log() { echo $(date...
Shell