code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#
remoteapi=http://localhost:8888/_ah/remote_api
time appcfg.py upload_data \
--application=gwt-voices \
--url=$remoteapi \
--filename=gwt-voices.dat \
--batch_size=100 \
--rps_limit=10000000000000000000 \
--bandwidth_limit=250000000000 \
--http_limit=5 \
--num_threads=1 \
$*
| Shell |
#!/bin/bash
#
remoteapi=http://gwt-voices.appspot.com/_ah/remote_api
time appcfg.py download_data \
--application=gwt-voices \
--url=$remoteapi \
--filename=gwt-voices.dat \
--batch_size=100 \
--rps_limit=10000000000000000000 \
--bandwidth_limit=250000000000 \
--http_limit=5 \
--num_threads=10 \
$*
| Shell |
#!/bin/bash
#
set -uev
rm -rf .gwt-cache www tomcat
./*-compile.cmd
scp -r www/* sauer@allen-sauer.com:
ssh sauer@allen-sauer.com ./deploy.sh $( cd www; ls -1 )
| Shell |
#! /bin/bash
DATASTORE_DIR="/4l8r"
BACKUP_DIR="/4l8r-backup"
REMOTE_LOCATION="blit.stanford.edu:4l8r-backup"
REMOTE_USER="jbrandt"
REMOTE_USER_KEYFILE="/4l8r-backup/4l8r-backup-keyfile"
DATABASE_NAME="forlater"
DATABASE_USER="forlater-backup"
DATE=`date +%F`
cd $BACKUP_DIR
mkdir $DATE
cp -r $DATASTORE_DIR/* $DATE
... | Shell |
#! /bin/bash
DATASTORE_DIR="/4l8r"
BACKUP_DIR="/4l8r-backup"
REMOTE_LOCATION="blit.stanford.edu:4l8r-backup"
REMOTE_USER="jbrandt"
REMOTE_USER_KEYFILE="/4l8r-backup/4l8r-backup-keyfile"
DATABASE_NAME="forlater"
DATABASE_USER="forlater-backup"
DATE=`date +%F`
cd $BACKUP_DIR
mkdir $DATE
cp -r $DATASTORE_DIR/* $DATE
... | Shell |
#!/bin/sh
export LD_LIBRARY_PATH=../JNI/lib
rm *.class
rm com/skype/connector/linux/*.class
javac -classpath .:skype.jar com/skype/connector/linux/LinuxConnector.java
javac -classpath .:skype.jar Main.java
javah -classpath .:skype.jar -d ../JNI com.skype.connector.linux.LinuxConnector``
| Shell |
#!/bin/sh
export LD_LIBRARY_PATH=../JNI/lib
java -classpath .:skype.jar Main
| Shell |
#!/bin/sh
export LD_LIBRARY_PATH=../JNI/lib
java -classpath .:skype.jar Main
| Shell |
#!/bin/sh
export LD_LIBRARY_PATH=../JNI/lib
rm *.class
rm com/skype/connector/linux/*.class
javac -classpath .:skype.jar com/skype/connector/linux/LinuxConnector.java
javac -classpath .:skype.jar Main.java
javah -classpath .:skype.jar -d ../JNI com.skype.connector.linux.LinuxConnector``
| Shell |
#!/usr/bin/env bash
# Check for an argument
if [ ${1:-""} = "" ]; then
echo "Sapphire Sake
Usage: $0 (command-url) (params)
Executes a Sapphire command"
exit 1
fi
# Set $sapphire and $base
sakedir=`dirname $0`
if [ -f $sakedir/cli-script.php ]; then
sapphire=$sakedir
base=`dirname $sakedir`
elif [ -d ./sapphire ... | Shell |
#!/usr/bin/env bash
# Check for an argument
if [ ${1:-""} = "" ]; then
echo "Sapphire Sake
Usage: $0 (command-url) (params)
Executes a Sapphire command"
exit 1
fi
# Set $sapphire and $base
sakedir=`dirname $0`
if [ -f $sakedir/cli-script.php ]; then
sapphire=$sakedir
base=`dirname $sakedir`
elif [ -d ./sapphire ... | Shell |
#!/bin/bash
java -cp ${install-dir}/${artifactId}/lib\
-jar ${install-dir}/${artifactId}/${build.finalName}.jar $*
| Shell |
#!/bin/bash
java -cp ${install-dir}/${artifactId}/lib\
-jar ${install-dir}/${artifactId}/${build.finalName}.jar $*
| Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.DownloadDemo $* | Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.UploadDemo $*
| Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.FolderSettingsDemo $*
| Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.CreateFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.PreviewLinkDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseRecycleBeanDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.SignupDemo $* | Shell |
#!/bin/sh
make -f Makefile-SquiLu > make.log 2>&1 | Shell |
#! /bin/sh
trap "rm -f in.markdown.h in.mkdio.h" EXIT
grep '#define MKD_' markdown.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.markdown.h
grep '#define MKD_' mkdio.h | awk '$3 ~ /0x0/ {print $2,$3;}' > in.mkdio.h
diff -c -bw in.markdown.h in.mkdio.h
retcode=$?
exit $retcode
| Shell |
#! /bin/sh
# script generated Mon Dec 5 22:48:16 GMT 2011 by configure.sh
test -d "$1" || mkdir -p "$1"
exit 0
| Shell |
#! /bin/sh
#
# Build static libraries, hiding (some) ickiness from the makefile
ACTION=$1; shift
LIBRARY=$1; shift
VERSION=$1; shift
case "$ACTION" in
make) /mingw/bin/ar crv $LIBRARY.a "$@"
/mingw/bin/ranlib $LIBRARY.a
rm -f $LIBRARY
/bin/ln $LIBRARY.a $LIBRARY
;;
files) echo "${LIBRARY}.a"
;;
install)/bin/... | Shell |
#! /bin/sh
# local options: ac_help is the help message that describes them
# and LOCAL_AC_OPTIONS is the script that interprets them. LOCAL_AC_OPTIONS
# is a script that's processed with eval, so you need to be very careful to
# make certain that what you quote is what you want to quote.
# load in the configuratio... | Shell |
__tests=0
__passed=0
__failed=0
__title=
title() {
__title="$*"
if [ "$VERBOSE" ]; then
./echo "$__title"
else
./echo -n "$__title" \
'.................................................................' | ./cols 54
fi
}
summary() {
if [ -z "$VERBOSE" ]; then
if [ $__failed -eq 0 ]; then
./... | Shell |
#! /bin/sh
CC='gcc' ./configure.sh
| Shell |
#!/bin/sh
eval `grep '^HPDF_EXTRA_VERSION=' configure.in`
case "$HPDF_EXTRA_VERSION" in
*-dev)
rebuildok=1
;;
*)
rebuildok=0
;;
esac
cvsclean=0
while test $# -gt 0; do
if test "$1" = "--force"; then
rebuildok=1
echo "Forcing buildconf"
fi
if test "$1" = "--clean"; then
cvsclean=... | Shell |
#!/bin/sh
squilu fluid2SquiLu.nut ourbiz-gui.fl ourbiz-gui.nut
| Shell |
#!/bin/sh
#squilu squilufreeze.nut /home/mingo/bin/squilu sqlite3-cc2.nut sqlite3-cc
SRC_SCRIPT=$1
squilu unify-code.nut ${SRC_SCRIPT}.nut ${SRC_SCRIPT}-unified.nut
squilu squilufreeze.nut /home/mingo/bin/squilu ${SRC_SCRIPT}-unified.nut ${SRC_SCRIPT}
chmod +x ${SRC_SCRIPT}
| Shell |
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
dnl "$Id: configure.in 9328 2012-04-07 11:56:09Z AlbrechtS $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
dnl Copyright 1998-2010 by Bill Spitzak and others.
dnl
dnl This library is free software.... | Shell |
#!/bin/sh
#
# makesrcdist - make a distribution of FLTK.
#
echo "Getting distribution..."
if test $# = 0 -o "x$1" = xsnapshot; then
echo Updating for snapshot...
svn up
rev=`svnversion . | sed -e '1,$s/[a-zA-Z]//g'`
version="1.3svn"
fileversion="1.3svn-r$rev"
fileurl="ftp://ftp.easysw.com/pub/fltk/... | Shell |
#! /bin/sh
exit 0
| Shell |
#!/bin/sh
#
# "$Id: fltk-config.in 6614 2009-01-01 16:11:32Z matt $"
#
# FLTK configuration utility.
#
# Copyright 2000-2010 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet
#
# This library is free software. Distribution and use rights are ... | Shell |
#!/bin/sh
nopsc=`grep ';Mn;' ../UnicodeData-2.txt`
IFS="
"
#echo "#
# List of non-spacing chars
#
#
# Format: Three tab-separated columns
# Column #1 is the non-spacing Unicode (in hex as 0xXXXX)
# Column #2 is the spacing Unicode (in hex as 0xXXXX)
# Column #3 t... | Shell |
#!/bin/sh
#/*
# * generates ucs2fontmap.c and headers/*_.h
# *
# * Author: Jean-Marc Lienher ( http://oksid.ch )
# * Copyright 2000-2003 by O'ksi'D.
# *
# * This library is free software. Distribution and use rights are outlined in
# * the file "COPYING" which should have been included with this file. If this
# * f... | Shell |
#!/bin/sh
nopsc=`grep 'CAPITAL' ../UnicodeData-2.txt`
IFS="
"
#echo "#
# List of case chars
#
#
# Format: Three tab-separated columns
# Column #1 is the non-spacing Unicode (in hex as 0xXXXX)
# Column #2 is the spacing Unicode (in hex as 0xXXXX)
# Column #3 the U... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install... | Shell |
#!/bin/sh
#
# "$Id: fltk-config.in 8864 2011-07-19 04:49:30Z greg.ercolano $"
#
# FLTK configuration utility.
#
# Copyright 2000-2010 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet
#
# This library is free software. Distribution ... | Shell |
#!/bin/sh
#
# "$Id: fltk-config.in 8864 2011-07-19 04:49:30Z greg.ercolano $"
#
# FLTK configuration utility.
#
# Copyright 2000-2010 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet
#
# This library is free software. Distribution ... | 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
#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
#
# 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... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PYTHONPATH=${1}/python-extras
PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload
export PYTHONPATH
export TEMP=${1}/python-extras
export PYTHONHOME=${DIR}/python
export LD_LIBRARY_PATH=${DIR}/python/lib
case $2 in
goagent)
echo "
[listen]
ip = 127.0.0... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = http-relay;
}
redsocks {
local_ip = 12... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PYTHONPATH=${1}/python-extras
PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload
export PYTHONPATH
export TEMP=${1}/python-extras
export PYTHONHOME=${DIR}/python
export LD_LIBRARY_PATH=${DIR}/python/lib
case $2 in
goagent)
echo "
[listen]
ip = 127.0.0... | Shell |
#!/usr/bin/sh
# for this to work you need to have the following installed:
# - Xcode: http://developer.apple.com/
# - git: http://help.github.com/mac-git-installation/
# - mercurial / hg: http://mercurial.berkwood.com/
# pull three20
cd ..
git clone git://github.com/facebook/three20.git
# pull mailcore
hg clone http:... | Shell |
chmod 0777 image/
chmod 0777 image/cache/
chmod 0777 image/data/
chmod 0777 system/cache/
chmod 0777 system/logs/
chmod 0777 download/
chmod 0777 config.php
chmod 0777 admin/config.php
| Shell |
chmod 0777 image/
chmod 0777 image/cache/
chmod 0777 image/data/
chmod 0777 system/cache/
chmod 0777 system/logs/
chmod 0777 download/
chmod 0777 config.php
chmod 0777 admin/config.php
| Shell |
#! /bin/sh
echo "Notice. This can only work on linux."
sed -i "/www.51chifan.com/d" /etc/hosts
sed -i "$ a $1 www.51chifan.com" /etc/hosts
| Shell |
#! /bin/sh
echo "Notice. This can only work on linux."
sed -i "/www.51chifan.com/d" /etc/hosts
sed -i "$ a $1 www.51chifan.com" /etc/hosts
| Shell |
#!/bin/bash
echo "build_51proxy.sh Start."
nginx_ins_dir="/usr/local/51proxy"
cwd=`pwd`
_exit()
{
cd $cwd
rm -rf nginx-1.2.0
echo "build_51proxy.sh End."
exit 0
}
echo "installing required package using apt-get..."
apt-get install libpcre3-dev libpcre3 gcc make zlib1g-dev libssl-dev -y &> /dev/null ... | Shell |
#!/bin/bash
APP_NAME="51proxy"
APP_ROOT="/usr/local/51proxy"
APP_PATH="${APP_ROOT}/${APP_NAME}"
restartApp()
{
echo "restart ${APP_ROOT}/sbin/51proxy"
${APP_ROOT}/sbin/51proxy
}
PID=`pidof -o $$ -o $PPID -o %PPID -x ${APP_NAME}`
if [ -z "${PID}" ]; then
restartApp
fi
exit 0 | Shell |
#!/bin/bash
echo "build_51proxy.sh Start."
nginx_ins_dir="/usr/local/51proxy"
cwd=`pwd`
_exit()
{
cd $cwd
rm -rf nginx-1.2.0
echo "build_51proxy.sh End."
exit 0
}
echo "installing required package using apt-get..."
apt-get install libpcre3-dev libpcre3 gcc make zlib1g-dev libssl-dev -y &> /dev/null ... | Shell |
#!/bin/bash
APP_NAME="51proxy"
APP_ROOT="/usr/local/51proxy"
APP_PATH="${APP_ROOT}/${APP_NAME}"
restartApp()
{
echo "restart ${APP_ROOT}/sbin/51proxy"
${APP_ROOT}/sbin/51proxy
}
PID=`pidof -o $$ -o $PPID -o %PPID -x ${APP_NAME}`
if [ -z "${PID}" ]; then
restartApp
fi
exit 0 | 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-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
# 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-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-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-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-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
# 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-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
# 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-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
# 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
# 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
# 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 |
mvn clean compile
mvn test
| Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| Shell |
#!/bin/sh
# Need to run a full clean install when changing the request factory interfaces
# Doing so deletes the local debug app engine database
# This script backs that up first
SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated
DEST=../db_backup
rm -r $DEST
mkdir $DEST
cp -... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| 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
#
# 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
/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
# This script is used by the MAINTAINER to generate composite stylesheets for
# the base Zen theme from the stylesheets in the STARTERKIT.
FIXED=( \
html-reset \
wireframes \
layout-fixed \
page-backgrounds \
tabs \
messages \
pages \
block-editing \
blocks \
navigation \
views-styles ... | Shell |
#!/bin/sh
# This script is used by the MAINTAINER to generate composite stylesheets for
# the base Zen theme from the stylesheets in the STARTERKIT.
FIXED=( \
html-reset \
wireframes \
layout-fixed \
page-backgrounds \
tabs \
messages \
pages \
block-editing \
blocks \
navigation \
views-styles ... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.