code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# $Id: code-clean.sh,v 1.10 2009/03/09 20:46:37 dries Exp $
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | gr... | Shell |
#!/bin/sh
# $Id: cron-curl.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
curl --silent --compressed http://example.com/cron.php
| Shell |
<?php
// $Id: run-tests.sh,v 1.43 2010/11/13 13:54:58 dries Exp $
/**
* @file
* This script runs Drupal tests from command line.
*/
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green.
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red.
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown.
// Set defaults an... | Shell |
#!/bin/sh
# $Id: cron-lynx.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
echo "Starting WorkTime DayEnd ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/do_dayend.php
echo "Done!"
| Shell |
#!/bin/bash
rm -f /usr/local/apache2/htdocs/worktime/batch/wt_config.php
echo "Downloading configuration ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/downloadconfig.php
echo "Done!"
| Shell |
#!/bin/bash
echo "Starting WorkTime DayEnd ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/do_dayend.php
echo "Done!"
| Shell |
#!/bin/bash
rm -f /usr/local/apache2/htdocs/worktime/batch/wt_config.php
echo "Downloading configuration ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/downloadconfig.php
echo "Done!"
| Shell |
#!/bin/bash
# This script will synchronize language file with the master
# english translation using diff(1) utility.
# It doesn't translate strings, only inserts english versions
# to proper positions and deletes removed. And it doesn't
# synchronize commented lines.
# You need to have GNU ed and diff installed in ... | Shell |
#!/bin/bash
# This script will synchronize language file with the master
# english translation using diff(1) utility.
# It doesn't translate strings, only inserts english versions
# to proper positions and deletes removed. And it doesn't
# synchronize commented lines.
# You need to have GNU ed and diff installed in ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
echo "Starting WorkTime DayEnd ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/do_dayend.php
echo "Done!"
| Shell |
#!/bin/bash
rm -f /usr/local/apache2/htdocs/worktime/batch/wt_config.php
echo "Downloading configuration ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/downloadconfig.php
echo "Done!"
| Shell |
#!/bin/bash
echo "Starting WorkTime DayEnd ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/do_dayend.php
echo "Done!"
| Shell |
#!/bin/bash
rm -f /usr/local/apache2/htdocs/worktime/batch/wt_config.php
echo "Downloading configuration ..."
/usr/bin/php /usr/local/apache2/htdocs/worktime/batch/downloadconfig.php
echo "Done!"
| Shell |
#!/bin/bash
# This script will synchronize language file with the master
# english translation using diff(1) utility.
# It doesn't translate strings, only inserts english versions
# to proper positions and deletes removed. And it doesn't
# synchronize commented lines.
# You need to have GNU ed and diff installed in ... | Shell |
#!/bin/bash
# This script will synchronize language file with the master
# english translation using diff(1) utility.
# It doesn't translate strings, only inserts english versions
# to proper positions and deletes removed. And it doesn't
# synchronize commented lines.
# You need to have GNU ed and diff installed in ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash -ex
# Copyright 2010-2011 Daniel J Blueman <daniel@quora.org>
# 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 3 of the License, or
# (at your option) any later versio... | Shell |
#!/bin/bash -ex
# Copyright 2010-2011 Daniel J Blueman <daniel@quora.org>
# 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 3 of the License, or
# (at your option) any later versio... | Shell |
#!/bin/bash -ex
# Copyright 2010-2011 Daniel J Blueman <daniel@quora.org>
# 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 3 of the License, or
# (at your option) any later versio... | Shell |
#!/bin/bash -ex
# Copyright 2010-2011 Daniel J Blueman <daniel@quora.org>
# 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 3 of the License, or
# (at your option) any later versio... | Shell |
#!/bin/bash
NAME=Arity
SRCS=src/calculator/Calculator.java
LIBS=`find libs -name "*.jar"`
KEYSTORE=/home/preda/cheie/and
KEYALIAS=and
SDK=/home/preda/sdk
PLATFORM=$SDK/platforms/android-8/
AAPT=$PLATFORM/tools/aapt
DX=$PLATFORM/tools/dx
AJAR=$PLATFORM/android.jar
PKRES=bin/resource.ap_
OUT=bin/$NAME-unalign.apk
ALIGN... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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 immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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/bash
# Copyright 2009 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... | Shell |
#!/bin/bash
sudo cp cfdeploy.bash_completion /etc/bash_completion.d/
echo "Please restart bash." | Shell |
#!/bin/sh
BASEDIR=`dirname "$0"`
java -XstartOnFirstThread -jar "$BASEDIR/tvrenamer.jar" com.google.code.tvrenamer.view.UIStarter
| Shell |
#!/bin/sh
#Determine if java exists
which java > /dev/null
javaExists=$?
if [ ${javaExists} -eq 1 ]; then
echo 'TVRenamer ERROR Java not found on your system. Please install.'
#Determine if zenity notifier exists
which zenity > /dev/null
zenityExists=$?
if [ ${zenityExists} -eq 0 ]; then
zenity --error \... | Shell |
#!/usr/bin/env sh
echo "24.S07.E18.720p.BlueRay.x264-SiNNERS.mkv
24.s08.e01.720p.hdtv.x264-immerse.mkv
JAG.S10E01.DVDRip.XviD-P0W4DVD.avi
Lost.S06E05.Lighthouse.DD51.720p.WEB-DL.AVC-FUSiON.mkv
castle.2009.s01e09.720p.hdtv.x264-ctu.mkv
dexter.407.720p.hdtv.x264-sys.mkv
gossip.girl.s03e15.hdtv.xvid-fqm.avi
human.target.2... | Shell |
#/bin/sh
# This file is used to automatically copy some configuration files into the
# correct configuration folder
for file in $( find -maxdepth 1 -type d )
do
-- not very elegant, but it works...
if [ "$file" != "." ] ; then
if [ "$file" != "./.hg" ] ; then
if [ "$file" != "./config" ] ; then
... | Shell |
#!/bin/sh
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
# build_config.mk will set the following variables:
# - PORT_CFLAGS will either set:
# -DLEVELDB_PLATFORM_POSIX if cstatomic is present
# -DLEVELDB_PLATFORM_NOATOMI... | Shell |
#!/bin/bash
## 200x200
convert $1 -verbose -resize 300x300 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_300x300\.\1/'` | Shell |
#!/bin/bash
## mkdir
dir=`echo $1|sed 's/\.[a-zA-Z0-9]*$//'`
mkdir $dir
mv -v $1 $dir
cd $dir
## 100x100
convert $1 -verbose -resize 100x100 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_100x100\.\1/'`
## 200x200
convert $1 -verbose -resize 200x200 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_200x200\.\1/'`
| Shell |
#!/bin/bash
## 200x200
convert $1 -verbose -resize 300x300 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_300x300\.\1/'` | Shell |
#!/bin/bash
# 100x100
convert $1 -verbose -resize 100x100 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_100x100\.\1/'` | Shell |
#!/bin/sh
mkdir $1
cd $1
LOG_FILE=`echo ${1}_log.txt`
touch $LOG_FIlE
PARENT_URL_ELEMENT=`echo $1|cut -c 1`
downloadfile () {
wget $1
if [ $? -eq 0 ]
then
echo "$1": DONE >>$LOG_FILE
elif [ $? -eq 1 -o $? -eq 8 ]
then
echo "$1": FAIL >> $LOG_FILE
fi
}
downloadfile www.p4c.philips.com/files/$PARE... | Shell |
#!/bin/bash
# 100x100
convert $1 -verbose -resize 100x100 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_100x100\.\1/'` | Shell |
#!/bin/sh
mkdir $1
cd $1
LOG_FILE=`echo ${1}_log.txt`
touch $LOG_FIlE
PARENT_URL_ELEMENT=`echo $1|cut -c 1`
downloadfile () {
wget $1
if [ $? -eq 0 ]
then
echo "$1": DONE >>$LOG_FILE
elif [ $? -eq 1 -o $? -eq 8 ]
then
echo "$1": FAIL >> $LOG_FILE
fi
}
downloadfile www.p4c.philips.com/files/$PARE... | Shell |
#!/bin/bash
## mkdir
dir=`echo $1|sed 's/\.[a-zA-Z0-9]*$//'`
mkdir $dir
mv -v $1 $dir
cd $dir
## 100x100
convert $1 -verbose -resize 100x100 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_100x100\.\1/'`
## 200x200
convert $1 -verbose -resize 200x200 `echo $1|sed 's/\.\([a-zA-Z0-9]*\)$/_200x200\.\1/'`
| 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/bash
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io/)"
echo "------------------------------------------------------"
karma start $BASE_DIR/../config/karma.conf.js $*
| Shell |
#!/bin/sh
gjslint -r app/js -r test/unit -r test/e2e|egrep -v '(E:0121:|E:0240|E:0200)'
| Shell |
#!/bin/bash
#
set -ue
VERSION=$(git log -1 --pretty=format:%H)
if [ -n "$(git status --porcelain)" ]
then
VERSION="dirty-$VERSION"
fi
git status
echo
echo -e "Hit [ENTER] to continue: \c"
read
$(dirname $0)/sdkapi.sh
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; exit 1)
while [ -... | Shell |
#!/bin/bash
#
set -uex
$(dirname $0)/sdkapi.sh
dev_appserver.py \
--host 0.0.0.0 \
--skip_sdk_update_check yes \
. $*
| Shell |
#!/bin/bash
#
set -ue
(
cd $(dirname $0)/../
for i in repos/appengine-*-python
do
(
echo
echo $i
cd $i
git pull
)
done
)
| Shell |
#!/bin/bash
if [ $(uname -s) == 'Darwin' ]
then
# OSX
CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
GEOMETRY_RUN="180x32+0+500"
GEOMETRY_UNIT="180x15+200+500"
GEOMETRY_E2E="180x15+200+750"
else
# Linux
CHROME="google-chrome"
GEOMETRY_RUN="120x32+0+1000"
GEOMETRY_UNIT="180x15+1... | Shell |
#!/bin/bash
#
# This script copies a few files from google.appengine.api.appinfo from the
# local SDK into a directory named 'sdkapi' since the appinfo package is
# currently unavailable in the production App Engine environment
set -ue
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; e... | Shell |
#!/bin/bash
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io/)"
echo "------------------------------------------------------"
karma start $BASE_DIR/../config/karma-e2e.conf.js $*
| Shell |
#!/bin/sh
touch src/p2t.pyx
python setup.py build_ext -i | Shell |
#!/bin/sh
#ensuite on met le ear comme il faut
case $1 in
clean)
ant clean
;;
compil-all)
ant clean
ant
jonas admin -r worplacement.ear
jonas admin -a worplacement.ear
;;
compil)
ant clean
ant
jonas admin -a worplacement.ear
;;
start)
jonas start
;;
stop)
jonas... | Shell |
#!/bin/sh
#ensuite on met le ear comme il faut
case $1 in
clean)
ant clean
;;
compil-all)
ant clean
ant
jonas admin -r worplacement.ear
jonas admin -a worplacement.ear
;;
compil)
ant clean
ant
jonas admin -a worplacement.ear
;;
start)
jonas start
;;
stop)
jonas... | Shell |
#!/bin/bash
#
set -ue
(
cd $(dirname $0)/../
for i in repos/appengine-*-python
do
(
echo
echo $i
cd $i
git pull
)
done
)
| Shell |
#!/bin/bash
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io/)"
echo "------------------------------------------------------"
karma start $BASE_DIR/../config/karma-e2e.conf.js $*
| Shell |
#!/bin/bash
#
set -uex
$(dirname $0)/sdkapi.sh
dev_appserver.py \
--host 0.0.0.0 \
--skip_sdk_update_check yes \
. $*
| Shell |
#!/bin/bash
BASE_DIR=`dirname $0`
echo ""
echo "Starting Karma Server (http://karma-runner.github.io/)"
echo "------------------------------------------------------"
karma start $BASE_DIR/../config/karma.conf.js $*
| Shell |
#!/bin/bash
#
# This script copies a few files from google.appengine.api.appinfo from the
# local SDK into a directory named 'sdkapi' since the appinfo package is
# currently unavailable in the production App Engine environment
set -ue
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; e... | Shell |
#!/bin/bash
#
set -ue
VERSION=$(git log -1 --pretty=format:%H)
if [ -n "$(git status --porcelain)" ]
then
VERSION="dirty-$VERSION"
fi
git status
echo
echo -e "Hit [ENTER] to continue: \c"
read
$(dirname $0)/sdkapi.sh
APPCFG=$(which appcfg.py) \
|| (echo "ERROR: appcfg.py must be in your PATH"; exit 1)
while [ -... | Shell |
#!/bin/sh
gjslint -r app/js -r test/unit -r test/e2e|egrep -v '(E:0121:|E:0240|E:0200)'
| Shell |
#!/bin/bash
if [ $(uname -s) == 'Darwin' ]
then
# OSX
CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
GEOMETRY_RUN="180x32+0+500"
GEOMETRY_UNIT="180x15+200+500"
GEOMETRY_E2E="180x15+200+750"
else
# Linux
CHROME="google-chrome"
GEOMETRY_RUN="120x32+0+1000"
GEOMETRY_UNIT="180x15+1... | Shell |
#!/bin/bash
REL_SCRIPT_DIR="`dirname \"$0\"`"
SCRIPT_DIR="`( cd \"$REL_SCRIPT_DIR\" && pwd )`"
test_cli_common()
{
echo ----------------------------------------
echo Testing common cli behavior...
CLI_SCRIPT_NAME=${1:?missing_param}
CLI_SCRIPT=$SCRIPT_DIR/../../$CLI_SCRIPT_NAME
echo Script: $CLI_SCRIPT
#... | Shell |
#!/bin/bash
REL_SCRIPT_DIR="`dirname \"$0\"`"
SCRIPT_DIR="`( cd \"$REL_SCRIPT_DIR\" && pwd )`"
test_cli_common()
{
echo ----------------------------------------
echo Testing common cli behavior...
CLI_SCRIPT_NAME=${1:?missing_param}
CLI_SCRIPT=$SCRIPT_DIR/../../$CLI_SCRIPT_NAME
echo Script: $CLI_SCRIPT
#... | Shell |
#!/bin/bash -e
# Usage: pack_anim('lyra_output.zip','id', version, 'name', 'com.derpfish.pinkielive.animation.LyraAnimation', 'lyra.zip', 'lyra2.zip', ...)
pack_anim() {
mkdir target
COUNTER=0
for FOO in "$@"; do
let "COUNTER+=1"
if [ $COUNTER -lt 6 ] ; then
continue
fi
cp assets/$FOO targe... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.