code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#CONSTANTES #############
CONFFILE=~/.grupo08/InstalaW5.conf
DEF_LOGEXT=".log"
DEF_MAXLOGSIZE="1 Kb"
DEF_MAEDIR="../mae/"
#Tipo de mensaje
INFO="I"
ALERTA="A"
ERROR="E"
ERROR_SEVERO="ES"
#Comandos
INICIAR="IniciarW5"
DETECTAR="DetectaW5"
BUSCAR="BuscarW5"
LISTAR="ListarW5"
MIRAR="MirarW5"
MOVER="MoverW5"... | Shell |
#!/bin/bash
IniciarW5.sh
| Shell |
#!/bin/bash
(while true
do
###############################################################################
# Verificar que la inicialización del ambiente fue realizada.
if [[ $INICIAW5_EJECUTADO_EXITOSAMENTE != 1 ]]; then
LoguearW5.sh "DetectaW5" "E" "El ambiente no fue inicializado"
exit 1
fi
##########... | 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
export PYTHONPATH="`pwd`:$PYTHONPATH"
python3.1 /home/giorgos/dev/gsoc/2to3/2to3 $@
| Shell |
#!/bin/bash
export PYTHONPATH="`pwd`:$PYTHONPATH"
python3.1 /home/giorgos/dev/gsoc/2to3/2to3 $@
| Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-07-08'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file sug... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-07-08'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU Gene... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-05-14.22
# 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/sh
# install - install a program, script, or datafile
scriptversion=2005-05-14.22
# 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/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
### Redistributable package generator script
### arguments: $(TARGET) $(VERSION_STRING) $(MAN_PAGE) $(INSTALL_SCRIPT) $(UNINSTALL_SCRIPT)
if test ! -f $1-$2."`cat var/versionStamp.txt`".tar.gz ; then
echo Packing redistributable...
ls $1.exe 1> /dev/null 2> /dev/null
if test $? = 0 ; then
tar -cf $1-$2... | Shell |
#!/bin/sh
### Checksum program location script
# Cygwin/Linux
type sha256sum > /dev/null
if test $? = 0
then
printf "sha256sum"
exit
fi
# Mac OSX / Sun OS
type shasum > /dev/null
if test $? = 0
then
printf "shasum"
exit
fi
# FreeBSD
type sha256 > /dev/null
if test $? = 0
then
printf "sha256"
exit
fi
echo Can... | Shell |
#!/bin/sh
### Test case script
echo
echo ...Running default test cases...
echo --------------------------------
./$*
if test -$? -eq 0
then
echo --------------------------------
echo Default test cases passed.
rm -f ./a.out
mkdir -p var
echo OK > var/testCertificate.dat
else
echo -------------------------------... | Shell |
#!/bin/sh
### Installation authentication script
echo Running installer...
if test -f var/testCertificate.dat
then
./$*;
else
echo
echo Warning: Default test cases have not been passed. To run them, use \'make test\'.
printf "Proceed anyway (y/n)? "
read yn
case $yn in
[Yy]* ) ./$*;;
[Nn]* ) exit;;
* ) e... | Shell |
#!/bin/sh
### hyacc make invocation script
cd $2
$1 $3 -s
exit
| Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=/cygdrive/d/Code/android/android-ndk-r3
HOST_TYPE=windows
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/build/preb... | 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/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEA... | Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under t... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens... | 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under t... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-10-14.15
# 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/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
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@g... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# 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
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
setup () {
EVENT_NOKQUEUE=yes; export EVENT_NOKQUEUE
EVENT_NODEVPOLL=yes; export EVENT_NODEVPOLL
EVENT_NOPOLL=yes; export EVENT_NOPOLL
EVENT_NOSELECT=yes; export EVENT_NOSELECT
EVENT_NOEPOLL=yes; export EVENT_NOEPOLL
EVENT_NOEVPORT=yes; export EVENT_NOEVPORT
}
test () {
if ./test-init 2>/dev/nu... | Shell |
#!/bin/sh
setup () {
EVENT_NOKQUEUE=yes; export EVENT_NOKQUEUE
EVENT_NODEVPOLL=yes; export EVENT_NODEVPOLL
EVENT_NOPOLL=yes; export EVENT_NOPOLL
EVENT_NOSELECT=yes; export EVENT_NOSELECT
EVENT_NOEPOLL=yes; export EVENT_NOEPOLL
EVENT_NOEVPORT=yes; export EVENT_NOEVPORT
}
test () {
if ./test-init 2>/dev/nu... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then
LIBTOOLIZE=glibtoolize
fi
aclocal && \
autoheader && \
$LIBTOOLIZE && \
autoconf && \
automake --add-missing --copy
| Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@g... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-11-20'
# This file is (in principle) common to ALL GNU software.
# The presence o... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-11-20'
# This file is free software; you can redistribute it and/or modify it
# und... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# 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 ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# 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 ... | Shell |
#!/bin/sh
LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then
LIBTOOLIZE=glibtoolize
fi
aclocal && \
autoheader && \
$LIBTOOLIZE && \
autoconf && \
automake --add-missing --copy
| Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-10-14.15
# 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/sh
TEMPLATES="find .. -name '*.*pt'"
i18ndude rebuild-pot --pot Products.PloneboardNotify.pot --create Products.PloneboardNotify $TEMPLATES
i18ndude sync --pot Products.PloneboardNotify.pot Products.PloneboardNotify-it.po
| Shell |
#!/bin/sh
TEMPLATES="find .. -name '*.*pt'"
i18ndude rebuild-pot --pot Products.PloneboardNotify.pot --create Products.PloneboardNotify $TEMPLATES
i18ndude sync --pot Products.PloneboardNotify.pot Products.PloneboardNotify-it.po
| Shell |
#!/bin/sh
PRODUCTNAME=contract
I18NDOMAIN=$PRODUCTNAME
# Synchronise the .pot with the templates.
i18ndude rebuild-pot --pot locales/${PRODUCTNAME}.pot --create ${I18NDOMAIN} .
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/${PRODUCTNAME}.pot locales/*/LC_MESSAGES/${PRODUCTNAME}.po
| Shell |
#!/bin/sh
PRODUCTNAME=contract
I18NDOMAIN=$PRODUCTNAME
# Synchronise the .pot with the templates.
i18ndude rebuild-pot --pot locales/${PRODUCTNAME}.pot --create ${I18NDOMAIN} .
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/${PRODUCTNAME}.pot locales/*/LC_MESSAGES/${PRODUCTNAME}.po
| Shell |
#!/bin/sh
PRODUCTNAME=plonehrm
I18NDOMAIN=$PRODUCTNAME
# Synchronise the .pot with the templates.
i18ndude rebuild-pot --pot locales/${PRODUCTNAME}.pot --merge locales/manual.pot --create ${I18NDOMAIN} .
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/${PRODUCTNAME}.pot locales/*/LC_ME... | Shell |
#!/bin/sh
PRODUCTNAME=plonehrm
I18NDOMAIN=$PRODUCTNAME
# Synchronise the .pot with the templates.
i18ndude rebuild-pot --pot locales/${PRODUCTNAME}.pot --merge locales/manual.pot --create ${I18NDOMAIN} .
# Synchronise the resulting .pot with the .po files
i18ndude sync --pot locales/${PRODUCTNAME}.pot locales/*/LC_ME... | Shell |
#!/bin/sh
plonepot=../PloneTranslations/i18n/plone.pot
i18ndude rebuild-pot --pot i18n/Ploneboard.pot --create ploneboard .
i18ndude sync --pot i18n/Ploneboard.pot i18n/Ploneboard-??.po
if [ -f $plonepot ] ; then
echo Can not find plone.net, skipping plone domain translations 1>&2
else
tmp=$(tempfile)
i1... | Shell |
#!/bin/bash
# ensure that when something is wrong, nothing is broken more than it should...
set -e
# first, create some pot containing anything
i18ndude rebuild-pot --pot ploneboard-generated.pot --create ploneboard --merge manual.pot ../*
i18ndude rebuild-pot --pot plone-generated.pot --create plone --merge plone-man... | Shell |
#!/bin/bash
# ensure that when something is wrong, nothing is broken more than it should...
set -e
# first, create some pot containing anything
i18ndude rebuild-pot --pot ploneboard-generated.pot --create ploneboard --merge manual.pot ../*
i18ndude rebuild-pot --pot plone-generated.pot --create plone --merge plone-man... | Shell |
#!/bin/sh
plonepot=../PloneTranslations/i18n/plone.pot
i18ndude rebuild-pot --pot i18n/Ploneboard.pot --create ploneboard .
i18ndude sync --pot i18n/Ploneboard.pot i18n/Ploneboard-??.po
if [ -f $plonepot ] ; then
echo Can not find plone.net, skipping plone domain translations 1>&2
else
tmp=$(tempfile)
i1... | Shell |
#!/bin/sh
ctags *.h */*.h *.cc */*.cc
cd libmm3d
ctags ../*.h ../*/*.h ../*.cc ../*/*.cc
cd ../mm3dcore
ctags ../*.h ../*/*.h ../*.cc ../*/*.cc
cd ../depui
ctags ../*.h ../*/*.h ../*.cc ../*/*.cc
cd ../qtui
ctags ../*.h ../*/*.h ../*.cc ../*/*.cc
cd ../implui
ctags ../*.h ../*/*.h ../*.cc ../*/*.cc
cd ../commands
ctag... | 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
################################################################################
# $Id: license.txt 13981 2005-03-16 08:09:28Z eespino $
#
# Copyright(c) 2004-2006, SpikeSource Inc. All Rights Reserved.
# Licensed under the Open Software License version 2.1
# (See http://www.spikesource.com/license.ht... | Shell |
#!/bin/bash
################################################################################
# $Id: license.txt 13981 2005-03-16 08:09:28Z eespino $
#
# Copyright(c) 2004-2006, SpikeSource Inc. All Rights Reserved.
# Licensed under the Open Software License version 2.1
# (See http://www.spikesource.com/license.ht... | Shell |
#!/bin/sh
if [ "$COMMON_DEFINED" = "" ]; then
source `dirname "$0"`/Common.sh
fi
sudo kextload "$KEXT_PATH"
$USER_SUDO_CMD launchctl load $LAUNCH_DAEMON_PATH
defaults write /Library/Preferences/loginwindow AutoLaunchedApplicationDictionary -array-add '{Path="$HELPER_PATH";}'
open $HELPER_PATH
echo "Done"
| Shell |
#!/bin/sh
COMMON_DEFINED=yes
KEXT_ID=com.protech.NoSleep
KEXT_PATH=/System/Library/Extensions/NoSleep.kext
PERF_PATH=/Library/PreferencePanes/NoSleep.prefPane
HELPER_PATH=/Applications/Utilities/NoSleep.app
LAUNCH_DAEMON_PATH=/Library/LaunchAgents/$KEXT_ID.plist
USER_SUDO_CMD=""
if [ "$SUDO_USER" != "" ]; then
USE... | Shell |
#!/bin/sh
echo "Uninstalling NoSleepCtrl"
sudo true
CLI_PATH=/usr/local/bin/NoSleepCtrl
if [ -e "$CLI_PATH" ]; then
echo "Removing NoSleepCtrl..."
sudo rm -rf "$CLI_PATH"
fi
sudo pkgutil --forget "com.protech.pkg.NoSleepCtrl" &> /dev/null
echo "Done"
| Shell |
#/bin/sh
if [ "ioreg -l | grep BatteryInstalled 1>&2 > /dev/null" ]; then
exit 0;
else
exit 1;
fi
| Shell |
#!/bin/sh
echo "Uninstalling 1.2.1 and previous"
sudo true
KEXT_ID=com.protech.nosleep
KEXT_PATH=/System/Library/Extensions/nosleep.kext
PERF_PATH=/Library/PreferencePanes/nosleep-preferences.prefPane
OLD_PERF_PATH=/System/Library/PreferencePanes/nosleep-preferences.prefPane
AGENT_PATH=/Library/LaunchAgents/com.prote... | Shell |
#!/bin/sh
echo "Uninstalling 1.3.x"
sudo true
if [ "$COMMON_DEFINED" = "" ]; then
source `dirname "$0"`/Common.sh
fi
if [ -e "$HELPER_PATH" ]; then
echo "Removing NoSleep.app..."
ps aux|grep NoSleep.app|awk '{print $2}'|xargs kill &> /dev/null
sudo rm -rf "$HELPER_PATH"
fi
if [ -e "$LAUNCH_DAEMON_PATH"... | Shell |
#!/bin/sh
echo "Uninstalling 1.3.0"
sudo true
KEXT_ID=com.protech.NoSleep
KEXT_PATH=/System/Library/Extensions/NoSleep.kext
PERF_PATH=/Library/PreferencePanes/NoSleep.prefPane
HELPER_PATH=/Applications/Utilities/NoSleepHelper.app
ps aux|grep NoSleepHelper.app|awk '{print $2}'|xargs kill -9 &> /dev/null
if [ -e "$HE... | Shell |
#!/bin/sh
f=`dirname "$0"`
$f/./Uninstall_1.2.1.sh
$f/./Uninstall_1.3.0.sh
$f/./Uninstall_1.3.1.sh
| Shell |
#! /bin/bash
# Create a read-only disk image of the contents of a folder
#
# Usage: make-diskimage <image_file>
# <src_folder>
# <volume_name>
# <applescript>
# <artpath>
# <eula_resource_file>
set -e;
funct... | Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=/cygdrive/d/Code/android/android-ndk-r3
HOST_TYPE=windows
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/build/preb... | 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
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The MIT License
# R... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The MIT License
# R... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The MIT License
# R... | Shell |
mkdir src/docroot/WEB-INF/classes
mkdir src/docroot/WEB-INF/lib
cd src/classes
echo "compiling classes directory"
javac -d ../docroot/WEB-INF/classes demo/*.java
cd ../taglib
echo "compiling lib directroy"
javac -classpath ../docroot/WEB-INF/classes:$CLASSPATH demo/*.java
echo "creating tag library archive"
jar cvf ../... | Shell |
# Based on libtool-1.5.22
# 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
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gn... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2004-05-31.23
# Copyright (C) 1999, 2000, 2003, 2004 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 License as published... | Shell |
#!/bin/sh
#
# Build Universal binaries on Mac OS X, thanks Ryan!
#
# Usage: ./configure CC="sh gcc-fat.sh" && make && rm -rf ppc x86
# PowerPC compiler flags (10.2 runtime compatibility)
GCC_COMPILE_PPC="gcc-3.3 -arch ppc \
-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \
-nostdinc \
-F/Developer/SDKs/MacOSX10.2.8.sdk/System/Li... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2004-09-07.08
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it ... | Shell |
#!/bin/sh
#
aclocal -I acinclude
automake --foreign --include-deps --add-missing --copy
autoconf
#./configure $*
echo "Now you are ready to run ./configure"
| Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-02-22'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-02-22'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2004-05-31.23
# Copyright (C) 1999, 2000, 2003, 2004 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 License as published... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2004-12-17.09
# 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/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2004-09-07.08
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it ... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2004-12-17.09
# 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/sh
#
aclocal -I acinclude
automake --foreign --include-deps --add-missing --copy
autoconf
#./configure $*
echo "Now you are ready to run ./configure"
| Shell |
#!/bin/sh
#
# Build Universal binaries on Mac OS X, thanks Ryan!
#
# Usage: ./configure CC="sh gcc-fat.sh" && make && rm -rf ppc x86
# PowerPC compiler flags (10.2 runtime compatibility)
GCC_COMPILE_PPC="gcc-3.3 -arch ppc \
-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \
-nostdinc \
-F/Developer/SDKs/MacOSX10.2.8.sdk/System/Li... | Shell |
#!/bin/sh
#
# Generate a current snapshot from source control
echo "Checking out source"
svn co -q http://svn.libsdl.org/trunk/SDL
(cd SDL && ./autogen.sh && rm -rf autom4te.cache)
sh SDL/build-scripts/updaterev.sh
cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h
major=`fgrep "#define SDL_MAJOR_VERSION" S... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.