code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/bash
cd protobuf-2.4.1
cp ../config-arm-protobuf.sh ./
./config-arm-protobuf.sh
make clean
make -j4
make install
./config-arm-protobuf.sh 1
make clean
make -j4
make install
cd ..
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8d/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
wget http://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz
tar -xzf tinyxml_2_6_2.tar.gz
| Shell |
#! /bin/bash
TOOLCHAIN="${HOME}/android-toolchain"
AR="${TOOLCHAIN}/bin/arm-linux-androideabi-ar crs"
RANLIB="${TOOLCHAIN}/bin/arm-linux-androideabi-ranlib"
STRIP="${TOOLCHAIN}/bin/arm-linux-androideabi-strip"
cd tinyxml
MARCH=armeabi
make -f ../Makefile.android ARCH=${MARCH}
rm -rf ${MARCH}
mkdir -p ${MARCH}
mv *.o ... | Shell |
#! /bin/bash
wget http://rlog.googlecode.com/files/rlog-1.4.tar.gz
tar -xzf rlog-1.4.tar.gz
| Shell |
#! /bin/bash
cd rlog-1.4
cp ../config-arm-rlog.sh ./
./config-arm-rlog.sh
make clean
make -j4
make install
./config-arm-rlog.sh 1
make clean
make -j4
make install
cd ..
| Shell |
#! /bin/bash
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.a' -x '*.xml.h' -x '*.1' -x 'bld*' -x '*~' -x '*.d' -ur ${HOME}/truecrypt-7.1a-source ./truecrypt-7.1a-source > tc-android.patch
| Shell |
if [ ! -d truecrypt-7.1a-source ]
then
tar -xzf TrueCrypt\ 7.1a\ Source.tar.gz
cd truecrypt-7.1a-source
patch -p1 < ../tc-android.patch
mkdir -p Pkcs11
cd Pkcs11
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
... | Shell |
cd truecrypt-7.1a-source
make -f ../Makefile.android NOGUI=1 VERBOSE=1 NOTEST=1 WXSTATIC=1
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r9/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
GSED=`which gsed`
if [ "${GSED}" = "" ]
then
GSED=`which sed`
fi
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
${GSED} -i 's/'$APPKEY1'/db1-/' ./cryptonite/AndroidManifest.xml
${GSED} -i 's/'$APPKEY2'/db2-/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
./googlecode_upload.py --summary="Cryptonite Android Package" --project=cryptonite --user=christoph.schmidthieber --labels=Featured,Type-Package ${1}
| Shell |
#! /bin/bash
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
| Shell |
#! /bin/bash
# Haven't managed to have Android.mk put my static libraries in front of
# libgcc.a and libgnustl_static.a so that I had to resort to this manual
# build script.
rm -rf obj
./cplibs-static.py
ARCH=armeabi
NDK=${HOME}/android-ndk-r7
HOSTOS=`uname -s`
case ${HOSTOS} in
'Darwin')
HOSTOS="darwin"
;;
*)
... | Shell |
#! /bin/bash
ant clean debug
ant uninstall
ant installt
ant test
| Shell |
#! /bin/bash
ant clean
ant debug
adb uninstall csh.cryptonite.test
adb install bin/cryptonitetest-debug.apk
adb shell am instrument -w csh.cryptonite.test/android.test.InstrumentationTestRunner
| Shell |
#! /bin/bash
~/android-ndk-r9/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" clean
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
./cplibs-static.py
~/android-ndk-r9/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
if test -n $1; then
if [ "$1" = "1" ]; then
./jni-build.sh
fi
fi
# rm -rf bin/*
ant clean
ant debug
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
# adb -d shell "am start -a android.intent.action.MAIN -n csh.cryptonite/.Cryptonite"
| Shell |
g++ android_key.cpp -DSTANDALONE -lcrypto -o encrypt
| Shell |
#! /bin/bash
if [ ! -f ./boost_1_46_1.tar.bz2 ]
then
wget http://downloads.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2
fi
if [ ! -d ./boost_1_46_1 ]
then
tar -xvjf boost_1_46_1.tar.bz2
cd boost_1_46_1
patch -p1 < ../boost-libs-android.patch
cp -v ../user-config.jam ./tools/build... | Shell |
#! /bin/bash
cd boost_1_46_1
cp -v ../user-config.jam ./tools/build/v2/
bjam -j12 --without-python --disable-filesystem3 toolset=gcc-android4.6 link=static runtime-link=static target-os=linux --stagedir=android --user-config=./tools/build/v2/user-config.jam
cd ..
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/db1-/'$APPKEY1'/' ./cryptonite/AndroidManifest.xml
sed -i 's/db2-/'$APPKEY2'/' ./cryptonite/AndroidManifest.xml
| Shell |
#!/bin/sh
# Don't forget chmod +x codereviewMac.sh to mac this script executable
if [ -z $1 ]; then
echo "Usage:"
echo " codereview youremail@abc.com 22 24 \"Patchset comment\""
echo " Creates a new patch set for code review by comparing revision 22"
echo " with revision 24. The patchset is sent on... | Shell |
#!/bin/bash
# Android Screenshot Library #
##############################
# Startup script #
echo "Android Screenshot Library -- initializing..."
#
if [ -z $ANDROID ]; then
echo "*** Android SDK not found ***"
echo "Make sure the ANDROID variable is pointing to Android SDK root directory"
else
adb="$AN... | Shell |
#!/bin/sh
# 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
echo install binary and configure files
sudo cp bin/WeBridge /usr/local/sbin/WeBridge
sudo cp etc/etc-init-WeBridge.conf /etc/init/WeBridge.conf
sudo cp etc/usr-local-etc-WeBridge.conf /usr/local/etc/WeBridge.conf
echo done installation of WeBridge
echo bin dir: /usr/local/... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeBridge
sudo rm /etc/init/WeBridge.conf
sudo rm /usr/local/etc/WeBridge.conf
echo done uninstallation of WeBridge
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/WeBridge /usr/local/sbin/WeBridge
sudo cp etc/etc-init-WeBridge.conf /etc/init/WeBridge.conf
sudo cp etc/usr-local-etc-WeBridge.conf /usr/local/etc/WeBridge.conf
echo done installation of WeBridge
echo bin dir: /usr/local/... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeBridge
sudo rm /etc/init/WeBridge.conf
sudo rm /usr/local/etc/WeBridge.conf
echo done uninstallation of WeBridge
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp src/WeAccount.js /usr/local/sbin/WeAccount.js
sudo cp etc/usr-local-etc-WeAccount.conf /usr/local/etc/WeAccount.conf
sudo cp etc/etc-init-WeAccount.conf /etc/init/WeAccount.conf
echo done installation of WeAccount
echo bin dir: /usr/lo... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeAccount.js
sudo rm /usr/local/etc/WeAccount.conf
sudo rm /etc/init/WeAccount.conf
echo done uninstallation of WeAccount
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp src/WeAccount.js /usr/local/sbin/WeAccount.js
sudo cp etc/usr-local-etc-WeAccount.conf /usr/local/etc/WeAccount.conf
sudo cp etc/etc-init-WeAccount.conf /etc/init/WeAccount.conf
echo done installation of WeAccount
echo bin dir: /usr/lo... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeAccount.js
sudo rm /usr/local/etc/WeAccount.conf
sudo rm /etc/init/WeAccount.conf
echo done uninstallation of WeAccount
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/WeSensorGT02A /usr/local/sbin/WeSensorGT02A
sudo cp etc/etc-init-WeSensorGT02A.conf /etc/init/WeSensorGT02A.conf
sudo cp etc/usr-local-etc-WeSensorGT02A.conf /usr/local/etc/WeSensorGT02A.conf
echo done installation of WeSe... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeSensorGT02A
sudo rm /etc/init/WeSensorGT02A.conf
sudo rm /usr/local/etc/WeSensorGT02A.conf
echo done uninstallation of WeSensorGT02A
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/WeSensorGT02A /usr/local/sbin/WeSensorGT02A
sudo cp etc/etc-init-WeSensorGT02A.conf /etc/init/WeSensorGT02A.conf
sudo cp etc/usr-local-etc-WeSensorGT02A.conf /usr/local/etc/WeSensorGT02A.conf
echo done installation of WeSe... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeSensorGT02A
sudo rm /etc/init/WeSensorGT02A.conf
sudo rm /usr/local/etc/WeSensorGT02A.conf
echo done uninstallation of WeSensorGT02A
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/SoftSensorGT02A /usr/local/bin/SoftSensorGT02A
sudo cp etc/usr-local-etc-SoftSensorGT02A.conf /usr/local/etc/SoftSensorGT02A.conf
echo done installation of SoftSensorGT02A
echo bin dir: /usr/local/bin/
echo etc dir: /usr/local/etc... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/bin/SoftSensorGT02A
sudo rm /usr/local/etc/SoftSensorGT02A.conf
echo done uninstallation of SoftSensorGT02A
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/SoftSensorGT02A /usr/local/bin/SoftSensorGT02A
sudo cp etc/usr-local-etc-SoftSensorGT02A.conf /usr/local/etc/SoftSensorGT02A.conf
echo done installation of SoftSensorGT02A
echo bin dir: /usr/local/bin/
echo etc dir: /usr/local/etc... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/bin/SoftSensorGT02A
sudo rm /usr/local/etc/SoftSensorGT02A.conf
echo done uninstallation of SoftSensorGT02A
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/WeRealtimeGT02A /usr/local/sbin/WeRealtimeGT02A
sudo cp etc/usr-local-etc-WeRealtimeGT02A.conf /usr/local/etc/WeRealtimeGT02A.conf
sudo cp etc/etc-init-WeRealtimeGT02A.conf /etc/init/WeRealtimeGT02A.conf
echo done installa... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeRealtimeGT02A
sudo rm /usr/local/etc/WeRealtimeGT02A.conf
sudo rm /etc/init/WeRealtimeGT02A.conf
echo done uninstallation of WeRealtimeGT02A
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp bin/WeRealtimeGT02A /usr/local/sbin/WeRealtimeGT02A
sudo cp etc/usr-local-etc-WeRealtimeGT02A.conf /usr/local/etc/WeRealtimeGT02A.conf
sudo cp etc/etc-init-WeRealtimeGT02A.conf /etc/init/WeRealtimeGT02A.conf
echo done installa... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeRealtimeGT02A
sudo rm /usr/local/etc/WeRealtimeGT02A.conf
sudo rm /etc/init/WeRealtimeGT02A.conf
echo done uninstallation of WeRealtimeGT02A
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp src/WeRealtimeGT02A.js /usr/local/sbin/WeRealtimeGT02A.js
sudo cp etc/usr-local-etc-WeRealtimeGT02A.conf /usr/local/etc/WeRealtimeGT02A.conf
sudo cp etc/etc-init-WeRealtimeGT02A.conf /etc/init/WeRealtimeGT02A.conf
echo done installatio... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeRealtimeGT02A.js
sudo rm /usr/local/etc/WeRealtimeGT02A.conf
sudo rm /etc/init/WeRealtimeGT02A.conf
echo done uninstallation of WeRealtimeGT02A
echo log files in /var/local/ are reserved
| Shell |
#! /bin/sh
echo install binary and configure files
sudo cp src/WeRealtimeGT02A.js /usr/local/sbin/WeRealtimeGT02A.js
sudo cp etc/usr-local-etc-WeRealtimeGT02A.conf /usr/local/etc/WeRealtimeGT02A.conf
sudo cp etc/etc-init-WeRealtimeGT02A.conf /etc/init/WeRealtimeGT02A.conf
echo done installatio... | Shell |
#! /bin/sh
echo uninstall binary and configure files
sudo rm /usr/local/sbin/WeRealtimeGT02A.js
sudo rm /usr/local/etc/WeRealtimeGT02A.conf
sudo rm /etc/init/WeRealtimeGT02A.conf
echo done uninstallation of WeRealtimeGT02A
echo log files in /var/local/ are reserved
| Shell |
#!/system/bin/sh
DIR=/data/data/org.sshtunnel
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
echo "
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = http-re... | Shell |
#!/system/bin/sh
DIR=/data/data/org.sshtunnel
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
echo "
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = socks5;... | Shell |
#! /bin/sh
NAME=phpworker
DESC=phpworker
PIDFILE=/home/recycle/public_html/phpworker.pid
PHP=/usr/local/bin/php
case "$1" in
start)
echo -n "Starting $DESC: "
/usr/local/sbin/start-stop-daemon -S -b -m -p $PIDFILE --exec $PHP $2
echo "$NAME."
;;
restart)
;;
stop)
echo -n... | 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
#
# Usage example: ./generate.sh int Int Integer"
# Args are: primitive type, capitalized primitive type, wrapper type
#
# To make changes to the .java files in this package,
# 1. run this script to generate the templates, move the .gen files
# somewhere else
# 2. modify the template with your intended cha... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#!/bin/bash
#
# Copyright 2009 Roman Nurik
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/bash
#
# Copyright 2009 Roman Nurik
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/sh
# NOTE: requires coverage.py module
coverage -e
coverage -x geomath_test.py
coverage -x geotypes_test.py
coverage -x util_test.py
coverage -x geocell_test.py
coverage -r -m geomath.py geotypes.py util.py geocell.py
| Shell |
#!/bin/sh
# NOTE: requires coverage.py module
coverage -e
coverage -x geomath_test.py
coverage -x geotypes_test.py
coverage -x util_test.py
coverage -x geocell_test.py
coverage -r -m geomath.py geotypes.py util.py geocell.py
| Shell |
#!/bin/bash
#
# Copyright 2009 Roman Nurik
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/bash
#
# Copyright 2009 Roman Nurik
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | Shell |
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# 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 ap... | Shell |
#!/bin/sh -x
# Modified build for Cygwin DLL
make # build .o's
gcc -shared -o orcon.dll ifcontrol_linux.o iwcontrol.o wtinject.o mwoldinject.o mwnginject.o ajinject.o p54inject.o wginject.o hapinject.o rt2500inject.o rtlinject.o rt2570inject.o airpinject.o rt73inject.o tx80211.o lorcon_packasm.o lorcon_forge.o -lairpca... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mi... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
| Shell |
gcc -I./ -o api_test.o -c api_test.c -g
gcc -o apitest api_test.o -lorcon -lnl -lpcap
| 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/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/sh
export CLASSPATH=".:dist/*"
java -Xmx100m net.server.CreateINI | Shell |
#!/bin/sh
export CLASSPATH=".:dist/*"
java -Xmx100m net.server.CreateINI | Shell |
#!/bin/sh
# Copyright (C) 2010 The Android Open Source Project
#
# 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 appl... | Shell |
# Copyright (C) 2008 The Android Open Source Project
#
# 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 ... | Shell |
#!/bin/sh
# Copyright (C) 2010 The Android Open Source Project
#
# 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 appl... | Shell |
#!/bin/bash
#
# Copyright (c) 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 |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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
cur=`dirname $0`;
test $# -eq 1 || {
echo "usage: $0 <gwt directory>"
exit 1
}
test -d $1 -a -f $1/gwt-dev.jar || {
echo "$1 doesn't look like a valid GWT installation"
exit 1
}
gwt_home=$1
shell_cp=${cur}/src:${cur}/bin:${gwt_home}/gwt-user.jar:${gwt_home}/gwt-dev.jar:theme/minig-theme.jar... | Shell |
#!/bin/bash
build_version=`svnversion`
ant clean dist
cd dist
jar cvf ../minig-frontend-0.${build_version}.war *
| Shell |
#!/bin/bash
source `whoami`.build.properties
rm -fr soyc
java -cp ${gwt}/gwt-soyc-vis.jar:${gwt}/gwt-dev-linux.jar com.google.gwt.soyc.SoycDashboard -resources ${gwt}/gwt-soyc-vis.jar -out soyc extra/minig/soycReport/stories0.xml.gz
| Shell |
rm -fr org
mkdir -p org/minig/theme/minig
cp -r minig/* org/minig/theme/minig
find org -name ".svn" -type d |xargs rm -fr
jar cf minig-theme.jar org && rm -fr org
| Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:${HOME}/java/gwt/gwt-user.jar:${HOME}/java/gwt/gwt-dev.jar" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src fr.aliasource.webmail.client.lang.Strings -createMessages ;
| Shell |
#!/bin/bash
test $# -eq 3 || {
echo "usage: $0 login domain password"
exit 1
}
function post_data() {
http_r=`echo "$1" | \
lynx -post_data -dump http://localhost:8081/$2`
}
post_data "login=$1&domain=$2&password=$3" firstIndexing.do
token=`echo ${http_r} | sed -e 's/.*value="\([^"]*\).*/\1/'`
echo -e... | Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 <server common name>"
exit 1
}
cat >> $1_ssl.cnf <<EOF
[ req ]
default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
O=zz.com
OU=backend
CN=$1
[ cert_type ]
nsCertType = server
EOF
openssl req -ne... | Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 <server common name>"
exit 1
}
cat >> $1_ssl.cnf <<EOF
[ req ]
default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
O=minig.org
OU=backend
CN=$1
[ cert_type ]
nsCertType = server
EOF
openssl req ... | Shell |
#!/bin/bash
rm -fr built_archive_test && mkdir built_archive_test
pushd built_archive_test >/dev/null 2>&1
tar xfj ../minig-backend-svn-linux.tar.bz2 >/dev/null 2>&1
time ./minig-backend/webmail-backend
popd >/dev/null 2>&1
rm -fr built_archive_test
| Shell |
#!/bin/bash
# OBM Webmail Proxy App launcher
appid=fr.aliasource.webmail.proxy.proxyapp
curdir=`dirname $0`
echo -n "equinox shell lib loading..."
source ${curdir}/equinox.lib
echo "[OK]"
aliasource_equinox_profile_server_appid ${curdir} ${appid}
| Shell |
#!/bin/bash
# OBM Webmail Proxy App launcher
appid=fr.aliasource.webmail.proxy.proxyapp
curdir=`dirname $0`
echo -n "equinox shell lib loading..."
source ${curdir}/equinox.lib
echo "[OK]"
aliasource_equinox_run_server_appid ${curdir} ${appid}
| Shell |
#!/bin/bash
test $# -eq 1 || {
echo "usage: $0 token"
exit 1
}
token=$1
function post_data() {
http_r=`echo "$1" | \
lynx -post_data -dump http://localhost:8081/$2`
}
post_data "token=${token}" logout.do
| Shell |
#!/bin/bash
test $# -eq 3 || {
echo "usage: $0 db user host"
exit 1
}
psql=$(which psql)
test "$psql" != "" || {
echo "psql: not found, please install postgresql-client package"
exit 1
}
db=$1
user=$2
host=$3
$psql -U ${user} ${db} -h ${host} -f \
create_minig.sql > /tmp/minig.log 2>&1
grep -i error... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.