code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# Regenerate PHPMailer documentation
# Run from within the docs folder
rm -rf phpdoc/*
phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/ --sourcecode --force --title PHPMailer --template="clean"
| Shell |
#!/usr/bin/env bash
#Fake sendmail script, adapted from:
#https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
#Create a temp folder to put messages in
numPath="${TMPDIR-/tmp/}fakemail"
umask 037
mkdir -p $numPath
if [ ! -f $numPath/num ]; then
echo "0" > $numPath/num
fi... | Shell |
#!/usr/bin/env bash
# Run the fake pop server from bash
# Idea from http://blog.ale-re.net/2007/09/ipersimple-remote-shell-with-netcat.html
# Defaults to port 1100 so it can be run by unpriv users and not clash with a real server
# Optionally, pass in in a port number as the first arg
mkfifo fifo
nc -l ${1:-1100} <fi... | Shell |
#!/usr/bin/env bash
# Fake POP3 server
# By Marcus Bointon <phpmailer@synchromedia.co.uk>
# Based on code by 'Frater' found at http://www.linuxquestions.org/questions/programming-9/fake-pop3-server-to-capture-pop3-passwords-933733
# Does not actually serve any mail, but supports commands sufficient to test POP-before ... | Shell |
#!/usr/bin/env bash
# Run the fake pop server from bash
# Idea from http://blog.ale-re.net/2007/09/ipersimple-remote-shell-with-netcat.html
# Defaults to port 1100 so it can be run by unpriv users and not clash with a real server
# Optionally, pass in in a port number as the first arg
mkfifo fifo
nc -l ${1:-1100} <fi... | Shell |
#!/usr/bin/env bash
#Fake sendmail script, adapted from:
#https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
#Create a temp folder to put messages in
numPath="${TMPDIR-/tmp/}fakemail"
umask 037
mkdir -p $numPath
if [ ! -f $numPath/num ]; then
echo "0" > $numPath/num
fi... | Shell |
#!/usr/bin/env bash
# Fake POP3 server
# By Marcus Bointon <phpmailer@synchromedia.co.uk>
# Based on code by 'Frater' found at http://www.linuxquestions.org/questions/programming-9/fake-pop3-server-to-capture-pop3-passwords-933733
# Does not actually serve any mail, but supports commands sufficient to test POP-before ... | 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/bash
# data preprocessing for Kal Holidays example
# Keith Lazuka 2011-01-22
# If you want to add new holidays, add them to holidays.txt in the existing format.
# Please make sure that the country name has a corresponding flag image.
./holidays_preprocessor.py json < holidays.txt > holidays.json
./holidays_prep... | Shell |
#!/bin/bash
# data preprocessing for Kal Holidays example
# Keith Lazuka 2011-01-22
# If you want to add new holidays, add them to holidays.txt in the existing format.
# Please make sure that the country name has a corresponding flag image.
./holidays_preprocessor.py json < holidays.txt > holidays.json
./holidays_prep... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under ... | 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
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin
#
# 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) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# 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
# ... | Shell |
#!/bin/sh
TARGETS=$*
ant $TARGETS
build_skin() {
BASE_DIR=$(pwd)
cd skins/$1
ant $TARGETS
cd $BASE_DIR
}
build_skin black-text
build_skin white-text
build_skin black-text-plus
build_skin white-text-plus
| Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/bin/bash
set -e
# Check if the jar has been built.
if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then
echo "Compiling WalletTool to a JAR"
cd ../core
mvn install -DskipTests
cd ../tools
[ -e target/bitcoinj-tools-*.jar ] && rm target/bitcoinj-tools-*.jar
mvn package... | Shell |
#/bin/bash
sed -i "s/#version.*\$/#version $(date | sha1sum | cut -d ' ' -f 1)/g" when.appcache
| Shell |
java -jar selenium-server-standalone-2.4.0.jar -trustAllSSLCertificates
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/console.py -c "dump_logs('logs$1.txt'); dump_items('items$1.txt')" whereareyoucamping0.appspot.com
echo
ls -al logs$1.txt items$1.txt
echo
sort logs$1.txt |tail
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/console.py "$@"
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
export TZ=UTC
if [ "$1" == "run" ]; then
shift
# Look through the arguments for an application directory.
for arg in "$@"; do
case "$arg" in
(--datastore_path*) datastore_path="$arg";;
(-*... | Shell |
#!/bin/bash
# Scripts in the tools/ directory should source this file with the line:
# pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
export TOOLS_DIR=$(pwd)
export PROJECT_DIR=$(dirname $TOOLS_DIR)
export APP_DIR=$PROJECT_DIR/app
for dir in \
"$APPENGINE_DIR" \
/usr/lib/google_appen... | Shell |
#!/bin/sh
cmake -E make_directory build
cd build
cmake ..
make
cpack --config CPackConfig.cmake
| Shell |
#/bin/sh
python python_scripts/usbmux/tcprelay.py -t 22:2222
| Shell |
#!/bin/sh
if [ -a /dev/disk0s1s2 ]; then # test for iOS 5 data partition
mount_hfs /dev/disk0s1s1 /mnt1 2>/dev/null
mount_hfs /dev/disk0s1s2 /mnt2 2>/dev/null
elif [ -a /dev/disk0s2s1 ]; then # test for iOS 4 data partition
mount_hfs /dev/disk0s1 /mnt1 2>/dev/null
mount_hfs /dev/disk0s2s1 /mnt2 2>/dev/... | Shell |
#!/bin/bash
#set +e
#set -o errexit
if [ $# -lt 4 ]
then
echo "Syntax: $0 IPSW RAMDISK KEY IV CUSTOMRAMDISK"
echo "python_scripts/kernel_patcher.py can generate a shell script with the correct parameters"
exit
fi
if [ ! -f ramdisk_tools/restored_external ]
then
echo "ramdisk_tools/restored_external n... | Shell |
#!/bin/sh
SSHOPTS="-p 2222 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null"
UDID=`ssh $SSHOPTS root@localhost "./device_infos udid"`
if [ "$UDID" == "" ]; then
exit
fi
echo "Device UDID : $UDID"
mkdir -p $UDID
DATE=`date +"%Y%m%d-%H%M"`
OUT=$UDID/data_$DATE.dmg
echo "Dumping data partition in $OUT .... | Shell |
#!/bin/bash
if [ ! $(uname) == "Darwin" ]
then
echo "Script for Mac OS X only"
exit
fi
for VER in 5.0 5.1 6.0 6.1 7.0 7.1
do
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$VER.sdk/" ];
then
SDKVER=$VER
SDKPATH="/Applications/Xcod... | Shell |
#!/bin/bash
if [ ! $(uname) == "Darwin" ]
then
echo "Script for Mac OS X only"
exit
fi
function build_ramdisk {
RAMDISK=$1
RD_SIZE=$(du -h $RAMDISK | cut -f 1)
if [ ! $RD_SIZE == "20M" ]
then
echo "resizing ramdisk..."
echo "hdiutil will segfault if ramdisk was already resized, thats ok"
hdiut... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
# GENERATE DEFINITE INVALID FILES
FILES=$(ls *.while)
echo "package wyjc.testing.tests;"
echo ""
echo "import org.junit.*;"
echo "import wyjc.testing.TestHarness;"
echo ""
echo "public class BaseInvalidTests extends TestHarness {"
echo " public BaseInvalidTests() {"
echo " super(\"tests/base/invalid\",\"t... | Shell |
#!/bin/sh
# GENERATE DEFINITE INVALID FILES
FILES=$(ls *.while)
echo "package wyjc.testing.tests;"
echo ""
echo "import org.junit.*;"
echo "import wyjc.testing.TestHarness;"
echo ""
echo "public class BaseInvalidTests extends TestHarness {"
echo " public BaseInvalidTests() {"
echo " super(\"tests/base/invalid\",\"t... | Shell |
#!/bin/sh
files=$(ls *.while)
for f in $files
do
echo $f
nf=$(echo $f | sed -e "s/.while/.sysout/")
java -cp ../../src whilelang.Main $f > $nf
done | Shell |
#!/bin/sh
files=$(ls *.while)
for f in $files
do
echo $f
nf=$(echo $f | sed -e "s/.while/.sysout/")
java -cp ../../src whilelang.Main $f > $nf
done | Shell |
#!/bin/sh
# GENERATE DEFINITE INVALID FILES
FILES=$(ls *.while)
echo "package wyjc.testing.tests;"
echo ""
echo "import org.junit.*;"
echo "import wyjc.testing.TestHarness;"
echo ""
echo "public class BaseInvalidTests extends TestHarness {"
echo " public BaseInvalidTests() {"
echo " super(\"tests/base/invalid\",\"t... | Shell |
#!/bin/sh
# GENERATE DEFINITE INVALID FILES
FILES=$(ls *.while)
echo "package wyjc.testing.tests;"
echo ""
echo "import org.junit.*;"
echo "import wyjc.testing.TestHarness;"
echo ""
echo "public class BaseInvalidTests extends TestHarness {"
echo " public BaseInvalidTests() {"
echo " super(\"tests/base/invalid\",\"t... | 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/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
# usage:
# ./mkicon.sh <input> <purpose>
# example:
# ./mkicon.sh icon.svg launcher
mkicon() {
file_in="$1"
file_out="$2"
case "$3" in
action)
case "$4" in
ldpi) width=18;;
mdpi) width=24;;
hdpi) width=36;;
xhdpi) width=48;;
esac;;
menu)
case "$4" in
ldpi) width=2... | Shell |
#!/bin/bash
# whisper encryption skript
# shorcuts
pactl=$(which pactl)
pacmd=$(which pacmd)
paload="$pactl load-module"
paunload="$pactl unload-module"
nullsink="whisperenc"
# DEBUG
# set -x
WHISPERDIR="$(dirname $(dirname $0))"
BINDIR="$WHISPERDIR/io/build-default"
CONFDIR="$WHISPERDIR/config"
crypt="f"
key="0x00... | Shell |
#!/bin/bash
# whisper decryption skript
# shorcuts
pactl=$(which pactl)
pacmd=$(which pacmd)
paload="$pactl load-module"
paunload="$pactl unload-module"
nullsink="whisperdec"
# DEBUG
# set -x
WHISPERDIR="$(dirname $(dirname $0))"
BINDIR="$WHISPERDIR/io/build-default"
CONFDIR="$WHISPERDIR/config"
crypt="f"
key="0x00... | Shell |
#!/bin/bash
# whisper encryption skript
# shorcuts
pactl=$(which pactl)
pacmd=$(which pacmd)
paload="$pactl load-module"
paunload="$pactl unload-module"
nullsink="whisperenc"
# DEBUG
# set -x
WHISPERDIR="$(dirname $(dirname $0))"
BINDIR="$WHISPERDIR/io/build-default"
CONFDIR="$WHISPERDIR/config"
crypt="f"
key="0x00... | Shell |
#!/bin/bash
# whisper decryption skript
# shorcuts
pactl=$(which pactl)
pacmd=$(which pacmd)
paload="$pactl load-module"
paunload="$pactl unload-module"
nullsink="whisperdec"
# DEBUG
# set -x
WHISPERDIR="$(dirname $(dirname $0))"
BINDIR="$WHISPERDIR/io/build-default"
CONFDIR="$WHISPERDIR/config"
crypt="f"
key="0x00... | Shell |
#!/bin/bash
# DEBUG
# set -x
SAMPLEDIR="../../audio_samples"
INFILE="$SAMPLEDIR/sinus_10sec_440hz.wav"
INTYPE1="wm"
OUTTYPE1="wm"
INTYPE2="wm"
OUTTYPE2="wm"
# either encrypted_wav and to_decrypt_wav are the same and we do nothing with nocompress
# or we keep the orignal encrpyted file an copy it to to_decrypt in noco... | Shell |
#!/bin/bash
# DEBUG
# set -x
SAMPLEDIR="../../audio_samples"
INFILE="$SAMPLEDIR/sinus_10sec_440hz.wav"
INTYPE1="wm"
OUTTYPE1="wm"
INTYPE2="wm"
OUTTYPE2="wm"
# either encrypted_wav and to_decrypt_wav are the same and we do nothing with nocompress
# or we keep the orignal encrpyted file an copy it to to_decrypt in noco... | 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
# 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/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
export GOPATH=$PWD
go install -v -ldflags "-s -r ." liteidex
go install -v -ldflags -s tools/goastview
go install -v -ldflags -s tools/godocview
go install -v -ldflags -s tools/goexec
go install -v -ldflags -s tools/goapi
| Shell |
#!/bin/sh
cp -r -v src/liteapp/images deploy/liteapp/
cp -r -v src/plugins/filebrowser/images deploy/filebrowser/
cp -r -v src/plugins/golangast/images deploy/golangast/
cp -r -v src/plugins/golangfmt/images deploy/golangfmt/
cp -r -v src/plugins/golangpackage/images deploy/golangpackage/
cp -r -v src/plugins/golangas... | Shell |
#!/bin/sh
cp -v ../README.md liteide/bin
cp -v LICENSE.LGPL liteide/bin
cp -v LGPL_EXCEPTION.TXT liteide/bin
cp -r -v deploy/* liteide/bin/LiteIDE.app/Contents/Resources
cp -r -v os_deploy/macosx/* liteide/bin/LiteIDE.app/Contents/Resources
cp -v bin/* liteide/bin/LiteIDE.app/Contents/MacOS
cp -v src/liteapp/Info.pli... | Shell |
#!/bin/sh
cp -v LICENSE.LGPL liteide
cp -v LGPL_EXCEPTION.TXT liteide
cp -v README.TXT liteide
mkdir -p liteide/share/liteide/
cp bin/* liteide/bin
cp -r -v deploy/* liteide/share/liteide/
cp -r -v os_deploy/linux/* liteide/share/liteide/
| 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
set -v # verbose output
# Kører antlr...
java -cp ./antlr/antlr-3.2.jar org.antlr.Tool ./antlr/Ctilde.g
| Shell |
#!/bin/sh
TERM=ansi;export TERM
clientcode=gmspo;export clientcode
fvoproject=gmdpp;export fvoproject
project=gmdpp;export project
ignore_projects='';export ignore_projects
ignore_reports='';export ignore_reports
email_to='michelle.r.glazier@gm.com,elisabeth.oye@gm.com,GMDealerPulsePro@maritz.com,onyxteam@integr... | Shell |
#!/bin/sh
TERM=ansi;export TERM
PERL5LIB=/u/ilink/prjbin/gmds; export PERL5LIB
spoke=gmdsro01; export spoke
cd /ILfeed/qa_files
/ilinklib/bin/batch_pro -p proj/gmds/gmdsro.p
/u/ilink/prjbin/gmds/gmdsro01_feed.pl --project=gmdsro01 --recipient=ndi --dealer-file=dealer.list --email=onyxteam@integralink.com --err-... | Shell |
#!/bin/sh
TERM=ansi;export TERM
PERL5LIB=/u/ilink/prjbin/gmds; export PERL5LIB
spoke=gmdsro01; export spoke
cd /ILfeed/gmds/qa_files
/ilinklib/bin/batch_pro -p proj/gmds/gmdsro.p
/u/ilink/prjbin/gmds/gmdsro01_feed.pl --project=gmdsro01 --recipient=ndi --dealer-file=dealer.list --email=onyxteam@integralink.com ... | Shell |
#!/bin/sh
TERM=ansi;export TERM
clientcode=gmspo;export clientcode
fvoproject=gmdpp;export fvoproject
project=gmdpp;export project
ignore_projects='';export ignore_projects
ignore_reports='';export ignore_reports
email_to='michelle.r.glazier@gm.com,elisabeth.oye@gm.com,barb.brocki@maritz.com,onyxteam@integralink... | Shell |
#!/bin/sh
TERM=ansi;export TERM
PERL5LIB=/u/ilink/prjbin/gmds; export PERL5LIB
spoke=gmdsro01; export spoke
cd /ILfeed/qa_files
/ilinklib/bin/batch_pro -p proj/gmds/gmdsro.p
/u/ilink/prjbin/gmds/gmdsro01_feed.pl --project=gmdsro01 --recipient=ndi --dealer-file=dealer.list --email=onyxteam@integralink.com --err-... | Shell |
#!/bin/sh
TERM=ansi;export TERM
clientcode=gmspo;export clientcode
fvoproject=gmdpp;export fvoproject
project=gmdpp;export project
ignore_projects='';export ignore_projects
ignore_reports='';export ignore_reports
email_to='michelle.r.glazier@gm.com,elisabeth.oye@gm.com,barb.brocki@maritz.com,onyxteam@integralink... | Shell |
#!/bin/sh
TERM=ansi;export TERM
PERL5LIB=/u/ilink/prjbin/gmds; export PERL5LIB
spoke=gmdsro01; export spoke
cd /ILfeed/gmds/qa_files
/ilinklib/bin/batch_pro -p proj/gmds/gmdsro.p
/u/ilink/prjbin/gmds/gmdsro01_feed.pl --project=gmdsro01 --recipient=ndi --dealer-file=dealer.list --email=onyxteam@integralink.com ... | Shell |
#!/bin/sh
TERM=ansi;export TERM
clientcode=gmspo;export clientcode
fvoproject=gmdpp;export fvoproject
project=gmdpp;export project
ignore_projects='';export ignore_projects
ignore_reports='';export ignore_reports
email_to='michelle.r.glazier@gm.com,elisabeth.oye@gm.com,GMDealerPulsePro@maritz.com,onyxteam@integr... | 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
TXTCOLOR_DEFAULT="\033[0;m"
TXTCOLOR_RED="\033[0;31m"
TXTCOLOR_GREEN="\033[0;32m"
COCOS2DX20_TRUNK=`pwd`/../../..
OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/
OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/
check_make_result()
{
if [ 0 != $? ]; then
exit 1
fi
}
DEPENDS='libx11-dev'
DEPE... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.