code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.opengl.org/r... | Shell |
#!/bin/sh
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sour... | Shell |
#!/bin/sh
echo "Installing zlib"
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=`pwd`/../system/i386-mingw32msvc/
# We need the headers/libraries, zlib.net only provides a dll or source which is more wor... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
if [ ""$1"" = "" ];then
targetPlatform="Windows"
else
targetPlatform=$1
fi
if [ ""$2"" = "" ];then
targetArchitecture="i386"
else
targetArchitectu... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge, ... | Shell |
#!/bin/sh
#Copyright (c) 2006 Christopher J. W. Lloyd
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this
#software and associated documentation files (the "Software"), to deal in the Software
#without restriction, including without limitation the rights to use, copy, modify,
#merge,... | Shell |
#!/bin/sh
echo "Installing libxml2"
./install_zlib.sh
installResources=`pwd`/Resources
scriptResources=$installResources/scripts
productFolder=/Developer/Cocotron/1.0
downloadFolder=$productFolder/Downloads
PREFIX=/Developer/Cocotron/1.0/Windows/i386/
$scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/... | Shell |
#!/bin/bash
# the name of the server on which we test
export TESTING_SERVER=192.168.2.102
# the directory under which our build directory is available on the _server_
export TESTING_DIR=/Tests
# specifies if files should be linked or copied to the test harness folder
export TESTING_LINK_FILES=YES
| 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
#
# Copyright 2013 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | 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 |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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 |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=$HOME/fun/android/android-ndk
HOST_TYPE=darwin-x86
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/toolchains/arm-ea... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
. $SCRIPTDIR/android-gcc-setup.sh
cd $SCRIPTDIR/..
if [ ! -d "deps" ]
then
mkdir -p deps
fi
cd deps
DEPSDIR=$PWD
JNIDIR=$DEPSDIR/../jni
if [ ! -d "$JNIDIR/pdfview2/lib" ]
then
mkdir -p $JNIDIR/pdfview2/lib
fi
if [ ! -d "$JNIDIR/pdfview2/include" ]
then
mkdir -p $JNIDIR/pd... | Shell |
#!/bin/bash
curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz
tar -zxvf tesseract-ocr-3.02.02.tar.gz
tar -zxvf leptonica-1.69.tar.gz
rm -f tesseract-ocr-3.02.02.tar.gz
rm -f leptonica-1.69.tar.gz
mv tesseract-ocr jni/com_g... | Shell |
#!/bin/bash
curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz
tar -zxvf tesseract-ocr-3.02.eng.tar.gz
rm -f tesseract-ocr-3.02.eng.tar.gz
mkdir data
mv tesseract-ocr data/tesseract
adb push data/ /sdcard/
adb shell sync
| 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 - new URL
git... | Shell |
#! /bin/sh
### BEGIN INIT INFO
# Provides: amonsys
# Short-Description: Asterisk Peers Monitoring System
# Description: Real time sip peers monitoring of Asterisk based in Asterisk Manager
### END INIT INFO
# Author: Acta Desing & Creation <actadc@actadc.com.br>
AMONSYS_USER=amonsys
AMONSYS_CONFIGDIR=/... | Shell |
#!/bin/bash
GROUP=amonsys
USER=amonsys
if [ $UID -eq 0 ]
then
cp amonsys /usr/sbin/
mkdir -p /var/log/amonsys/ /usr/lib/amonsys/
cp filez/* / -R
if [ -z "`grep $GROUP /etc/group`" ]
then
echo "Creating group $GROUP:"
addgroup $GROUP
fi
if [ -z "`grep $USER /etc/passwd`" ]
then
echo "Creating user $US... | Shell |
#!/bin/sh
# Parameters: save_data_dir
save_data_dir=$1
cat << EOF
#!/bin/sh
version=\`date +%Y%m%d%H%M%S\`
echo "Content-type: application/x-tgz"
echo "Content-disposition: attachment; filename=\"amos-database-\${version}.tgz\""
echo "Content-description: AMOS Database"
echo ""
cd ${save_data_dir}/database_impl
tar -cz... | Shell |
#!/bin/sh
# Parameters: save_data_dir
save_data_dir=$1
cat << EOF
#!/bin/sh
version=\`date +%Y%m%d%H%M%S\`
echo "Content-type: application/x-tgz"
echo "Content-disposition: attachment; filename=\"amos-database-\${version}.tgz\""
echo "Content-description: AMOS Database"
echo ""
cd ${save_data_dir}/database_impl
tar -cz... | Shell |
#!/bin/sh
echo "'`date`'."
| Shell |
#!/bin/sh
echo "'`date`'."
| 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
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF_FILE=mupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33.tar.bz2
MUPDF=mupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33
FREETYPE=freetype-2.4.10
OPENJPEG=openjpeg-1.5.1
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8d.tar.gz
JPEGDIR=jpeg-8d
cd "$SCRIPTDIR/../... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/sh
#
# view argb8888
#
# Modified:
# Kyan He <kyan.ql.he@gmail.com> @ Tue Feb 15 01:45:54 CST 2011
#
# Initial version
# Kyan He <kyan.ql.he@gmail.com> @ Mon Sep 20 11:45:54 CST 2010
#
if ! which ffmpeg >/dev/null;
then
echo "no ffmpeg found"
elif [[ ! $# -eq 2 ]];
then
echo "Usage: `basename $0` <data... | Shell |
#!/bin/sh
#
# helper script for capture picture on device
#
# Kyan He <kyan.ql.he@gmail.com> @ Tue Feb 15 12:42:48 CST 2011
#
#
#ADB_OPTIONS=
PNG="/data/local/fbdump.png"
FB2PNG=fb2png
# To run fb2png in the Recovery:
#adb $ADB_OPTIONS shell mount /data
#adb $ADB_OPTIONS shell mkdir -p /data/local
adb $ADB_OPTIONS ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
java -jar ../shrinksafe/custom_rhino.jar runner.js "$@"
| Shell |
#!/bin/sh
java -jar ../shrinksafe/custom_rhino.jar runner.js "$@"
| Shell |
#!/bin/sh
# 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
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
#http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
set -o verbose #echo onset +o verbose #echo off
# Note: this must ... | Shell |
#!/bin/sh
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
set -o verbose #echo onset +o verbose #echo off
# Note: this must run on a Mac
myDir="`dirname "$0"`"
cd $myDir
APP_NAME="Android Design Preview"
OUT_PATH=../out/mac
OUT_ZIP="${AP... | Shell |
#!/bin/sh
# 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
# 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/ksh
CURRDIR=`pwd`
LIBDIR=$CURRDIR/lib
if [[ $PYTHONPATH = '' ]]; then
export PYTHONPATH=$LIBDIR
else
export PYTHONPATH=$LIBDIR:$PYTHONPATH
fi
echo "PYTHONPATH=$PYTHONPATH"
| Shell |
#!/bin/ksh
CURRDIR=`pwd`
LIBDIR=$CURRDIR/lib
if [[ $PYTHONPATH = '' ]]; then
export PYTHONPATH=$LIBDIR
else
export PYTHONPATH=$LIBDIR:$PYTHONPATH
fi
echo "PYTHONPATH=$PYTHONPATH"
| Shell |
#! /bin/sh
# postinst script for amora
#
# see: dh_installdeb(1)
# set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# ... | Shell |
#! /bin/sh
# postinst script for amora
#
# see: dh_installdeb(1)
# set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# ... | 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/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/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/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/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
# Runs pylint on all python files in codereview/
#
# Skips over 'cpplint' which is a third part in the chromium branch.
#
ROOT=$(dirname $(readlink -f $0))/..
GAE=$ROOT/../google_appengine
FILES=$(find codereview -iname "*.py" | grep -v "cpplint")
IMPORTS=$GAE:$GAE/lib/django_1_2
PYTHONPATH=$IMPORTS:$PYTHONPA... | Shell |
#! /bin/sh
# Modified from the ant startup script to start the BeanBox example instead.
# Cygwin support. $cygwin _must_ be set to either true or false.
case "`uname`" in
CYGWIN*) cygwin=true ;;
*) cygwin=false ;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin; then
[... | Shell |
#!/bin/bash
# -----------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The A... | Shell |
#!/bin/bash
mkdir -p Library/SDKs/CorePlotSDK
mkdir -p Library/Frameworks
mkdir -p Library/Developer/Shared/Documentation/DocSets
mkdir -p CorePlot/Binaries/iOS/CorePlot
unzip CorePlot/Binaries/iOS/CorePlot.zip -d CorePlot/Binaries/iOS/CorePlot
cp -r CorePlot/Binaries/iOS/CorePlot/CorePlotSDK/* Library/SDKs/CorePlotS... | Shell |
#!/bin/bash
#
# RunMacOSUnitTests.sh
# Copyright 2008 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 require... | Shell |
#!/bin/bash
# RunIPhoneUnitTest.sh
# Copyright 2008 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 ... | Shell |
#!/bin/sh
# BuildAllSDKs.sh
#
# This script builds both the Tiger and Leopard versions of the requested
# target in the current basic config (debug, release, debug-gcov). This script
# should be run from the same directory as the GTM Xcode project file.
#
# Copyright 2006-2008 Google Inc.
#
# Licensed under the Apache ... | 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
### BEGIN INIT INFO
# Provides: avocado
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: avocado-geek-kiosk
# Description: avocado-geek-kiosk
### END INIT INFO
export pidfile="/var/run/avocado/avocado.pi... | Shell |
#!/bin/bash
SOURCE_TREE=$1
QM_PREFIX='qm'
TS_PREFIX='ts'
TRANSLATIONS=$SOURCE_TREE/translations/
TRANSLATIONS_PATH_SIZE=`expr length $TRANSLATIONS`
function generate_translations {
echo "Generating translations ..."
for TRANSLATION in `find $TRANSLATIONS -name *.$TS_PREFIX`; do
basename=`basename $TRANSLATION .ts... | Shell |
rm debug.keystore
keytool -genkey -v -keystore debug.keystore -alias iniline -keyalg RSA -VALIDITY 10000
| Shell |
jarsigner -verbose -keystore ./keystore/debug.keystore -storepass iniline -keypass iniline \
-signedjar ./bin/Moojigae-release-signed.apk \
./bin/Moojigae-release-unsigned.apk \
iniline
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.