code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#
set -uex
$(dirname $0)/sdkapi.sh
dev_appserver.py \
--host 0.0.0.0 \
--admin_host 0.0.0.0 \
--skip_sdk_update_check yes \
. $*
| Shell |
#!/bin/bash
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io/)"
echo "------------------------------------------------------"
karma start $BASE_DIR/../config/karma.conf.js $*
| Shell |
#!/bin/bash
#
# This script copies a few files from google.appengine.api.appinfo from the
# local SDK into a directory named 'sdkapi' since the appinfo package is
# currently unavailable in the production App Engine environment
set -ue
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; e... | Shell |
#!/bin/bash
#
set -ue
VERSION=$(git log -1 --pretty=format:%H)
if [ -n "$(git status --porcelain)" ]
then
VERSION="dirty-$VERSION"
fi
git status
echo
echo -e "Hit [ENTER] to continue: \c"
read
$(dirname $0)/sdkapi.sh
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; exit 1)
while [ -... | Shell |
#!/bin/sh
gjslint -r app/js -r test/unit -r test/e2e|egrep -v '(E:0121:|E:0240|E:0200)'
| Shell |
#!/bin/bash
if [ $(uname -s) == 'Darwin' ]
then
# OSX
CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
GEOMETRY_RUN="180x32+0+500"
GEOMETRY_UNIT="180x15+200+500"
GEOMETRY_E2E="180x15+200+750"
else
# Linux
CHROME="google-chrome"
GEOMETRY_RUN="120x32+0+1000"
GEOMETRY_UNIT="180x15+1... | Shell |
#!/bin/bash
ULOZENKAPRICE=36
PARTNERPRICE=55
#wget https://api.ulozenka.cz/v2//branches?shopid=1 -O list.json
for i in $(seq 0 199); do
JSON.sh -b <list.json | grep -F "[\"data\",$i," >$(printf %03d $i).info
done
find . -size 0 -iname "*.info" -delete
for i in *.info; do
echo $i
grep -e "\[.*\,\"active\".... | Shell |
#!/bin/sh
# TODO: FIXME: Get rid of this and hook it into Dojo's general build script
# You must have mtasc to run this
mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
| Shell |
#!/bin/bash
dir=$1
for file in `find $dir -iname '*.php'`
do
sed -i "s/\bFraixede\b/Fraixedes/g" $file
echo $file
done
| Shell |
cd user
make clean
make
../tools/_bin2c zerovsh_upatcher.prx zerovsh_upatcher.h zerovsh_user_module
cp zerovsh_upatcher.h ../kernel
rm -Rf *.prx *.elf zerovsh_upatcher.h
cd ../kernel
make clean
make DEBUG=1
cp zerovsh_patcher.prx ../bin
rm -Rf *.prx *.elf zerovsh_upatcher.h
cd ../ | Shell |
#!/bin/sh
#set -v off
export A_PORT=8787
export A_DBG="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=$A_PORT,server=y,suspend=y"
export DEPENDENCY=/media/linux/meich/.ivy2/cache/org.eclipse.osgi/org.eclipse.osgi/jars/org.eclipse.osgi-3.6.0.v20100517.jar:\
/media/linux/meich/.ivy2/cache/commons-validator/commo... | Shell |
#!/bin/sh
#set -v off
export A_PORT=8787
export A_DBG="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=$A_PORT,server=y,suspend=y"
export DEPENDENCY=/media/linux/meich/.ivy2/cache/org.eclipse.osgi/org.eclipse.osgi/jars/org.eclipse.osgi-3.6.0.v20100517.jar:\
/media/linux/meich/.ivy2/cache/commons-validator/commo... | Shell |
# Creates a source pacakge for upload to google code:
# Create list with all source files (all files tracked by hg)
if [ "$1" == "" ]; then
echo "Usage: create_zip.sh <version number>";
echo " e.g. create_zip.sh 1.0.1";
exit -1;
fi
ZIPFILE="zencat_sqlite_src_$1.zip"
FILES=`hg status --all | grep "^C .*" | grep ... | Shell |
# Creates a binary package (containing the zencat_sqlite.dll and the xmp documentation)
if [ "$1" == "" ]; then
echo "Usage: create_zip.sh <version number>";
echo " e.g. create_zip.sh 1.0.1";
exit -1;
fi
FILES="zencat_sqlite.dll zencat_sqlite.xml"
# pack x86 release files:
BINDIR=Release
if [ ! -d $BINDIR ]; t... | 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
# function
usage() {
cat <<EO_ECHO 1>&2
Usage: ${0##*/} --input=FILE.log_a --output=FILE.dat [OPTIONS] [FILE_LIST] ...
-i, --input=FILE.log_a Input logs, multiple occurences accepted
-o, --output=FILE.dat Output file, overwrite if exists!
-q, --sql=FILE.sql SQL source output, importable vi... | Shell |
#!/bin/bash
# function
usage() {
cat <<EO_ECHO 1>&2
Usage: ${0##*/} --input=FILE.log_a --output=FILE.dat [OPTIONS] [FILE_LIST] ...
-i, --input=FILE.log_a Input logs, multiple occurences accepted
-o, --output=FILE.dat Output file, overwrite if exists!
-q, --sql=FILE.sql SQL source output, importable vi... | Shell |
#!/bin/bash
### PROGRAM NAME
PROGRAM=${0##*/}
### configuration vars
tempsave=$$_flickr_com.tmp.tmp
savefile=save-flickr2.html
cookie_repo=cookie_flickr.txt
cache_dir=cache
# whether get original image link
opt_original=0
opt_mode_str=Quick
# whether delete temp save file
opt_deltmp=1
# whether INPUT is URL
opt_isur... | Shell |
#!/bin/bash
# usage get.sh -c -B BASE -h -P <DESTINATION> -y [ URL_LIST ]
#
function usage
{
echo "usage: ${0##*/} -b BASE -c -d DESTINATION -r -y URL_LIST" 1>&2
echo " Use \`wget' utility to get files from the net." 1>&2
echo "" 1>&2
echo " -b BASE Prefix all URLs with BASE." 1>&2
echo "... | Shell |
#!/bin/sh
### Jump to:
### SSID_LIST
### zerox: 2009-6-29 23:16:21
### update: 19:25 2009-12-22
### + Added touch of log file '/tmp/www/autoap.htm'
### + For YanZiHe: added open SSID 'TP-LINK_555DA2'
##############################################################################################
## ... | Shell |
#!/bin/bash
### PROGRAM NAME
PROGRAM=${0##*/}
### configuration vars
tempsave=$$_flickr_com.tmp.tmp
savefile=save-flickr2.html
cookie_repo=cookie_flickr.txt
cache_dir=cache
# whether get original image link
opt_original=0
opt_mode_str=Quick
# whether delete temp save file
opt_deltmp=1
# whether INPUT is URL
opt_isur... | Shell |
#!/bin/sh
##############################################################################################
## ##
## AutoAP Next Gen by kuthulu/Iron, supported by wo-fo, infusion, drats, cid12, mathilda ##
## This script is inspir... | Shell |
#!/bin/bash
# usage get.sh -c -B BASE -h -P <DESTINATION> -y [ URL_LIST ]
#
function usage
{
echo "usage: ${0##*/} -b BASE -c -d DESTINATION -r -y URL_LIST" 1>&2
echo " Use \`wget' utility to get files from the net." 1>&2
echo "" 1>&2
echo " -b BASE Prefix all URLs with BASE." 1>&2
echo "... | Shell |
#!/bin/sh
##############################################################################################
## ##
## AutoAP Next Gen by kuthulu/Iron, supported by wo-fo, infusion, drats, cid12, mathilda ##
## This script is inspir... | Shell |
#!/bin/sh
### Jump to:
### SSID_LIST
### zerox: 2009-6-29 23:16:21
### update: 19:25 2009-12-22
### + Added touch of log file '/tmp/www/autoap.htm'
### + For YanZiHe: added open SSID 'TP-LINK_555DA2'
##############################################################################################
## ... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
error() {
echo "ERROR:" "$@" 1>&2
exit -1
}
prog=${0##*/}
if [[ -z "$1" ]]; then
init_url=$(getclip)
else
init_url="$1"
fi
init_count=0
init_file=${prog}_init_${$}_$((count++)).html
temp_file=${prog}_temp_${$}.tmp
if wget -O $init_file $init_url
then
message "d... | Shell |
#!/bin/bash
usage() {
cat <<EOF
usage: ${0##*/} INDEX_URL
where "INDEX_URL" is like the following:
http://detail.zol.com.cn/106/105361/pic.shtml
Last update: 2007-9-12 13:48:16
EOF
}
msg() {
echo -e "$@" 1>&2
}
error() {
echo -e "ERROR: $@" 1>&2
exit -1
}
do_cmd() {
msg "executing:\n$@";
if "$@"; the... | Shell |
#!/bin/bash
usage() {
cat <<EOF
usage: ${0##*/} INDEX_URL
where "INDEX_URL" is like the following:
http://ent.sina.com.cn/s/h/2007-10-08/00041740825.shtml
Last update: Mon Oct 8 16:26:32 CST 2007
EOF
}
msg() {
echo -e "$@" 1>&2
}
error() {
echo -e "ERROR: $@" 1>&2
exit -1
}
do_cmd() {
msg "executing:\n... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
error() {
echo "ERROR:" "$@" 1>&2
exit -1
}
prog=${0##*/}
if [[ -z "$1" ]]; then
init_url=$(getclip)
else
init_url="$1"
fi
init_count=0
init_file=${prog}_init_${$}_$((count++)).html
temp_file=${prog}_temp_${$}.tmp
if wget -O $init_file $init_url
then
message "d... | Shell |
#!/usr/bin/bash
if [[ -z "$1" ]]; then
echo usage: ${0##*/} URL 1>&2
exit -1
fi
url=$1
now=$(date +%s)
lastvisit=$((now - 60 * 10))
lastactivity=$((now - 60 * 5))
echo Now: $now
echo Last visit: $lastvisit
echo Last activity: $lastactivity
header_file=header.$$.txt
output_file=curl.$$.out
referer=https://dr... | Shell |
#!/usr/bin/bash
if [[ -z "$1" ]]; then
echo usage: ${0##*/} URL 1>&2
exit -1
fi
url=$1
now=$(date +%s)
lastvisit=$((now - 60 * 10))
lastactivity=$((now - 60 * 5))
echo Now: $now
echo Last visit: $lastvisit
echo Last activity: $lastactivity
header_file=header.$$.txt
output_file=curl.$$.out
referer=https://dr... | Shell |
#!/bin/bash
usage() {
cat <<EOF
usage: ${0##*/} INDEX_URL
where "INDEX_URL" is like the following:
http://detail.zol.com.cn/106/105361/pic.shtml
Last update: 2007-9-12 13:48:16
EOF
}
msg() {
echo -e "$@" 1>&2
}
error() {
echo -e "ERROR: $@" 1>&2
exit -1
}
do_cmd() {
msg "executing:\n$@";
if "$@"; the... | Shell |
#!/bin/bash
usage() {
cat <<EOF
usage: ${0##*/} INDEX_URL
where "INDEX_URL" is like the following:
http://ent.sina.com.cn/s/h/2007-10-08/00041740825.shtml
Last update: Mon Oct 8 16:26:32 CST 2007
EOF
}
msg() {
echo -e "$@" 1>&2
}
error() {
echo -e "ERROR: $@" 1>&2
exit -1
}
do_cmd() {
msg "executing:\n... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
PROG=${0##*/}
usage() {
cat <<EO_ECHO
usage: $PROG -r REPO [ -i | -s ] [ -u USER -p PASSWD ]
-i, --initialize run initialization of a clean repository
-s, --synchronize run synchronization on a ready repository
-r, --repository=REPO specify a reposit... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
PROG=${0##*/}
usage() {
cat <<EO_ECHO 1>&2
usage: $PROG -r REPO [ -o OUTPUT ]
-r, --remote=REPO specify a remote repository, you must insert
it in this script if it is not existent,
just use an identifier, rather than a ful... | Shell |
#!/bin/bash
# function
usage() {
cat <<EO_ECHO 1>&2
Usage: ${0##*/} -i FILE.log_a -o FILE.dat [OPTIONS] [FILE_LIST]
-i, --input=FILE.log_a Input logs, multiple occurences accepted
-o, --output=FILE.dat Output file, overwrite if exists!
-q, --sql=FILE.sql SQL source for MySQL's \`source FILE' command
... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
PROG=${0##*/}
usage() {
cat <<EO_ECHO
usage: $PROG -r REPO [ -i | -s ] [ -u USER -p PASSWD ]
-i, --initialize run initialization of a clean repository
-s, --synchronize run synchronization on a ready repository
-r, --repository=REPO specify a reposit... | Shell |
#!/bin/bash
message() {
echo "$@" 1>&2
}
PROG=${0##*/}
usage() {
cat <<EO_ECHO 1>&2
usage: $PROG -r REPO [ -o OUTPUT ]
-r, --remote=REPO specify a remote repository, you must insert
it in this script if it is not existent,
just use an identifier, rather than a ful... | Shell |
#!/bin/bash
# function
usage() {
cat <<EO_ECHO 1>&2
Usage: ${0##*/} -i FILE.log_a -o FILE.dat [OPTIONS] [FILE_LIST]
-i, --input=FILE.log_a Input logs, multiple occurences accepted
-o, --output=FILE.dat Output file, overwrite if exists!
-q, --sql=FILE.sql SQL source for MySQL's \`source FILE' command
... | Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_base36.cc && mv a.out base36.out | Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_sieve.cc && mv a.out sieve.out
| Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_prime27.cc && mv a.out prime27.out | Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_base27.cc && mv a.out base27.out | Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_base30.cc && mv a.out base30.out | Shell |
clear;g++ basex.cc basex27.cc sieve_files.cc sieve_show.cc sieve.cc sieve2.cc main_sieve2.cc && mv a.out sieve2.out
| Shell |
clear;g++ basex.cc basex27.cc main_basen.cc basen.cc -lgmpxx -lgmp && mv a.out basen.out | Shell |
clear
g++ mpz27x.cc -lgmpxx -lgmp && ./a.out
| Shell |
clear
g++ mpz27.cc -lgmp && ./a.out
| Shell |
g++ gmptest.cc -lgmp && ./a.out
| Shell |
clear
g++ LOL27.cc -lgmpxx -lgmp && ./a.out
| Shell |
clear; g++ gamemachine.cc gamemachine_main.cc && ./a.out | Shell |
g++ 21030.cc base30_main.cc | Shell |
g++ primecodec.cc primewords.cc words_main.cc | Shell |
# This file will start the Osm Extraction UI with custom memory settings for
# the JVM. With the below settings the heap size (Available memory for the application)
# will range from 64 megabyte up to 512 megabyte.
java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCreator.jar:./l... | Shell |
#!/bin/sh
# This file will start the Osm Extraction UI with custom memory settings for
# the JVM. With the below settings the heap size (Available memory for the application)
# will range from 64 megabyte up to 512 megabyte.
java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea... | Shell |
#!/bin/sh
# This file will start the Osm Extraction UI with custom memory settings for
# the JVM. With the below settings the heap size (Available memory for the application)
# will range from 64 megabyte up to 512 megabyte.
java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea... | Shell |
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
## VARIABLES ###
LOG_DIR="$DIRECTORY"/logs
DATE=$(date +%d-%m-%y)
LOG_FILE="$LOG_DIR/${DATE}.log"
mkdir $LOG_DIR
touch $LOG_FILE
# 1. Update git directory
"${DIRECTORY}/update_git.sh" 2>&1 >>$LOG_FILE
# 2. Go through branches and generates builds
"${DIRECTORY}/build_b... | Shell |
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
FTP_SITE=download.osmand.net
FTP_FOLDER=night-builds
FTP_LATEST=latest-night-build
# FTP_USER in local.properties
# FTP_PWD= in local.properties
BUILD_DIR="$DIRECTORY"/builds
LATEST_DIR="$DIRECTORY"/latests
. "$DIRECTORY"/local.properties
# 3. upload to ftp server
lftp -c... | Shell |
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
GIT_DIR="$DIRECTORY"/osmand-git
GIT_URL=git://github.com/osmandapp/Osmand.git
GIT_ORIGIN_NAME=origin
HG_DIR="$DIRECTORY"/osmand-hg
HG_URL=https://osmand.googlecode.com/hg
BUILD_DIR="$DIRECTORY"/builds
if [ ! -d "$HG_DIR" ]; then
hg clone ${GIT_URL} "${HG_DIR}"
fi
cd "... | Shell |
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
GIT_DIR="$DIRECTORY"/osmand-git
GIT_ORIGIN_NAME=origin
BUILD_DIR="$DIRECTORY"/builds
LATESTS_DIR="$DIRECTORY"/latests
VERSION_FILE=./DataExtractionOSM/src/net/osmand/Version.java
DATE=$(date +%d-%m-%y)
SHORT_DATE=$(date +%d-%m)
# clean all files in build directory
rm -r ... | Shell |
#!/bin/sh
DIRECTORY=$(cd `dirname $0` && pwd)
GIT_DIR="$DIRECTORY"/osmand-git
GIT_URL=git://github.com/osmandapp/Osmand.git
GIT_ORIGIN_NAME=origin
#rm -rf "${GIT_DIR}"
# initialize git if it is not present (clone it)
if [ ! -d "$GIT_DIR" ]; then
git clone ${GIT_URL} "${GIT_DIR}"
fi
# update git
cd "${GIT_DIR}"
gi... | 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
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
#!/bin/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
#!/bin/bash
find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
| Shell |
#!/bin/bash
find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';'
find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
| Shell |
#!/bin/bash
rm -rf org/ietf/
rm -rf org/apache/harmony/auth
rm -rf org/apache/harmony/javax/security/auth/kerberos/
rm -rf org/apache/harmony/javax/security/auth/x500/
rm org/apache/harmony/javax/security/auth/Policy.java
| Shell |
#!/bin/bash
rm org/jivesoftware/smack/debugger/LiteDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
| Shell |
#!/bin/bash
echo "## Step 00: initialize"
(
if ! [ -d build ]; then
mkdir build
mkdir build/src
mkdir build/src/trunk
fi
)
fetch() {
(
cd src
if ! [ -f "${2}/.svn/entries" ]; then
mkdir "${2}"
cd "${2}"
svn co --non-interactive --trust-server-cert "${1}" "."
else
cd "${2}"
sv... | 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/bash
export TEXTDOMAIN="zero-ieseljust-wordpress"
# Marquem com a que s'està configurant el wordpress
zero-center add-pulsating-color zero-ieseljust-wordpress
# Comprobar connexió a internet
errors=0
host wordpress.org || errors=1
if [ $errors -eq 0 ]
then
# PAS 0: Configurar Variables
#MYSQLROOT... | Shell |
#!/bin/bash
export TEXTDOMAIN="zero-ieseljust-wordpress"
# Marquem com a que s'està configurant el wordpress
zero-center add-pulsating-color zero-ieseljust-wordpress
# Comprobar connexió a internet
errors=0
host wordpress.org || errors=1
if [ $errors -eq 0 ]
then
# PAS 0: Configurar Variables
#MYSQLROOT... | Shell |
#!/bin/sh
path=`dirname $0`
pythonhome=$path/../Frameworks/Python.framework/Versions/2.6
export PYTHONHOME=$pythonhome
export DYLD_LIBRARY_PATH=$path/../MacOS:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$path/../coral:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$path/../coral/coral:$DYLD_LIBRARY_PATH
export DYLD_LIBRA... | Shell |
#!/bin/sh
case $? in
0)
echo "start script"
VALUE=`zenity --list \
--width=600 \
--height=500 \
--title="choose an option:" \
--column="Number" --column="Description" \
1 "Fastboot tools" \
2 "ADB tools" \
3 "ROM tools" \
4 "boot.img tools" \
5 "add download link for r... | 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
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# w... | 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
# install - install a program, script, or datafile
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 hereby ... | Shell |
#!/bin/bash
usage="modifyvm <vmname> <ram> <hddsize> <cores> <vdiDir>"
if [ $# -eq 0 ]
then
echo -e "\n Usage : $usage\n"
exit 100
fi
echo -e "\n\tModifying VM\n"
cmd="VBoxManage modifyvm $1 --memory $2 --cpus $4"
echo -e "\n\t$cmd\n"
$cmd
if [ $? -ne 0 ]
then
echo -e "\n\tFatal Error in $cmd\n"
exit 2
fi
hddCo... | Shell |
#!/bin/bash
usage="createvm <vmname> <osname> <ram> <vrdpport> <vrdpaddress> <originalVDI> <targetVdiFolder> <hddsize> <cores> <zeusclientport>"
if [ $# -eq 0 ]
then
echo -e "\n Usage : $usage\n"
exit 100
fi
echo -e "\n\tCreating VM\n"
cmd="VBoxManage createvm --name $1 --ostype $2 --register"
echo -e "\n\t$cmd\n"
... | Shell |
VBoxManage unregistervm $1 --delete
| Shell |
vmname=$1
portForward=$2
sshPort=$(($2+1))
vrdpPort=$(($2+2))
zeusPort=$3
VBoxManage modifyvm $vmname --natpf1 delete zeusport
VBoxManage modifyvm $vmname --natpf1 zeusport,tcp,,$portForward,,$zeusPort
VBoxManage modifyvm $vmname --natpf1 sshport,tcp,,$sshPort,,22
echo -e "vrdp address : $4\n"
VBoxManage modifyvm $vmna... | Shell |
#!/bin/bash
usage="modifyvm <vmname> <ram> <hddsize> <cores> <vdiDir>"
if [ $# -eq 0 ]
then
echo -e "\n Usage : $usage\n"
exit 100
fi
echo -e "\n\tModifying VM\n"
cmd="VBoxManage modifyvm $1 --memory $2 --cpus $4"
echo -e "\n\t$cmd\n"
$cmd
if [ $? -ne 0 ]
then
echo -e "\n\tFatal Error in $cmd\n"
exit 2
fi
hddCo... | Shell |
#!/bin/bash
usage="createvm <vmname> <osname> <ram> <vrdpport> <vrdpaddress> <originalVDI> <targetVdiFolder> <hddsize> <cores> <zeusclientport>"
if [ $# -eq 0 ]
then
echo -e "\n Usage : $usage\n"
exit 100
fi
echo -e "\n\tCreating VM\n"
cmd="VBoxManage createvm --name $1 --ostype $2 --register"
echo -e "\n\t$cmd\n"
... | Shell |
VBoxManage controlvm $1 poweroff | Shell |
VBoxHeadless --startvm $1 | Shell |
#!/bin/bash
| Shell |
#!/bin/bash
| Shell |
#!/usr/bin/env bash
sass calendrical.scss calendrical.css | Shell |
#!/usr/bin/env bash
sass calendrical.scss calendrical.css | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.