code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e eval $(gomake --no-print-directory -f ../../src/Make.inc go-env) if [ -z "$O" ]; then echo 'missing $O - maybe no Make.$GOARCH?' 1>&2...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. eval $(gomake --no-print-directory -f ../src/Make.inc go-env) export E= case X"$GOARCH" in Xamd64) export A=6 ;; X386) export A=8 ;; Xarm...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e eval $(gomake --no-print-directory -f ../../src/Make.inc go-env) PATH=.:$PATH havegccgo=false if which gccgo >/dev/null 2>&1 then ha...
Shell
xgettext -f lstphp.txt --default-domain=messages -L PHP --sort-by-file --output=lang/locale/fr_FR.UTF8/LC_MESSAGES/messages.po --from-code UTF-8 -j -k_
Shell
#!/bin/sh msgfmt -o messages.mo messages.po
Shell
#!/bin/sh msgfmt -o messages.mo messages.po
Shell
#!/bin/bash # # pidgin_web_fastcgi_server.sh : pidgin_web fastcgi daemon start/stop script # # version : 0.04 # # chkconfig: 2345 84 16 # description: pidgin_web fastcgi daemon start/stop script # processname: fcgi # pidfile: /home/gugu/workspace/webpidgin/Pidgin-Web/script/pidgin.pid # # 2007-04-28 by A clever guy # ...
Shell
#!/bin/bash # # pidgin_web_fastcgi_server.sh : pidgin_web fastcgi daemon start/stop script # # version : 0.04 # # chkconfig: 2345 84 16 # description: pidgin_web fastcgi daemon start/stop script # processname: fcgi # pidfile: /home/gugu/workspace/webpidgin/Pidgin-Web/script/pidgin.pid # # 2007-04-28 by A clever guy # ...
Shell
#!/bin/sh # chkconfig: 345 98 20 # description: webnamed server # processname: webnamed # description for chkconfig: 345 98 20 # 345: run levels # 98: priority to start # 20: priority to stop PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/local/sbin/webnamed NAME=webnamed DESC="webna...
Shell
#!/bin/sh # chkconfig: 345 98 20 # description: webnamed server # processname: webnamed # description for chkconfig: 345 98 20 # 345: run levels # 98: priority to start # 20: priority to stop PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/local/sbin/webnamed NAME=webnamed DESC="webna...
Shell
#!/bin/sh ## Publishing Javadoc under Google Code: ## http://stuffthathappens.com/blog/2007/11/09/howto-publish-javadoc-on-google-code/ ## This should work for the version checked out using the command-line "svn", but doesn't work under Eclipse: find javadoc -name *.html -exec svn propset svn:mime-type 'text/html; ch...
Shell
#!/bin/sh ## Publishing Javadoc under Google Code: ## http://stuffthathappens.com/blog/2007/11/09/howto-publish-javadoc-on-google-code/ ## This should work for the version checked out using the command-line "svn", but doesn't work under Eclipse: find javadoc -name *.html -exec svn propset svn:mime-type 'text/html; ch...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh # Copyright 2012 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 to ...
Shell
#!/bin/sh # Copyright 2012 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 to ...
Shell
#!/bin/bash # Copyright 2012 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 osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> # Copyright 2005-2007, Cake Software Foundation, Inc. # 1785 E. ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> # Copyright 2005-2007, Cake Software Foundation, Inc. # 1785 E. ...
Shell
#!/bin/bash echo "{" cd app grep -R '$L(' * | ../extract_locale.pl | sort -u echo "}"
Shell
#!/bin/bash echo "{" cd app grep -R '$L(' * | ../extract_locale.pl | sort -u echo "}"
Shell
#!/bin/bash echo "{" cd app grep -R '$L(' * | ../extract_locale.pl | sort -u echo "}"
Shell
#!/bin/bash echo "{" cd app grep -R '$L(' * | ../extract_locale.pl | sort -u echo "}"
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 # 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 # 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 cd `dirname $0` # the deploy target folder FOLDER=deploy # the deploy target suffix SUFFIX=`date "+-%Y_%m_%d-%I_%M_%S%p"` # The grandparent folder for this script SOURCE=$(cd `dirname $0`/../; pwd) # extract project folder name NAME=${SOURCE##*/} # target names DEPLOY="$NAME$SUFFIX" TARGET="$SOURCE/$F...
Shell
#!/bin/bash cd `dirname $0` # build enyo pushd ../enyo/minify > /dev/null ./minify.sh popd > /dev/null # build app ../enyo/tools/minify.sh package.js -output ../build/app
Shell
#!/bin/bash cd `dirname $0` # build enyo pushd ../enyo/minify > /dev/null ./minify.sh popd > /dev/null # build app ../enyo/tools/minify.sh package.js -output ../build/app
Shell
#!/bin/bash cd `dirname $0` # the deploy target folder FOLDER=deploy # the deploy target suffix SUFFIX=`date "+-%Y_%m_%d-%I_%M_%S%p"` # The grandparent folder for this script SOURCE=$(cd `dirname $0`/../; pwd) # extract project folder name NAME=${SOURCE##*/} # target names DEPLOY="$NAME$SUFFIX" TARGET="$SOURCE/$F...
Shell
#!/bin/bash # the folder this script is in (*/enyo/tools) TOOLS="$(cd `dirname $0`; pwd)" # enyo location ENYO="$TOOLS/.." # minify script location MINIFY="$TOOLS/minifier/minify.js" # check for node, but quietly if command -v node >/dev/null 2>&1; then # use node to invoke minify with a known path to enyo and impor...
Shell
#!/bin/bash # the folder this script is in (*/enyo/tools) TOOLS="$(cd `dirname $0`; pwd)" # enyo location ENYO="$TOOLS/.." # minify script location MINIFY="$TOOLS/minifier/minify.js" # check for node, but quietly if command -v node >/dev/null 2>&1; then # use node to invoke minify with a known path to enyo and impor...
Shell
#!/bin/sh cd $(dirname $0) ../tools/minify.sh package.js -no-alias -output ../../build/enyo
Shell
#!/bin/sh cd $(dirname $0) ../tools/minify.sh package.js -no-alias -output ../../build/enyo
Shell
#!/bin/bash SOURCE=$(cd `dirname $0`; pwd) # target location TARGET=$1 if [ x$TARGET = x ]; then cat <<EOF Must supply target folder parameter, e.g.: deploy.bat ../deploy/lib/onyx EOF else mkdir -p $TARGET/images/ cp -r $SOURCE/images/*.* $TARGET/images/ cp -r $SOURCE/*.txt $TARGET fi
Shell
#!/bin/bash SOURCE=$(cd `dirname $0`; pwd) # target location TARGET=$1 if [ x$TARGET = x ]; then cat <<EOF Must supply target folder parameter, e.g.: deploy.bat ../deploy/lib/onyx EOF else mkdir -p $TARGET/images/ cp -r $SOURCE/images/*.* $TARGET/images/ cp -r $SOURCE/*.txt $TARGET fi
Shell
#!/bin/bash set -e echo -n "Enter the version for this release: " read ver if [ ! $ver ]; then echo "Invalid version." exit fi name="select2" js="$name.js" mini="$name.min.js" css="$name.css" release="$name-$ver" tag="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) to...
Shell
#!/bin/bash set -e echo -n "Enter the version for this release: " read ver if [ ! $ver ]; then echo "Invalid version." exit fi name="select2" js="$name.js" mini="$name.min.js" css="$name.css" release="$name-$ver" tag="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) to...
Shell
#!/bin/bash php -S localhost:8000 & stunnel3 -d 443 -r 8080
Shell
#!/bin/sh rootfs_open -t restorefile(){ if [ -e "$1.old" ]; then cp "${1}.old" "${1}" fi rm -f "$1.old" } #restorefile "/usr/palm/frameworks/mojo2/submissions/99/resources/zh/datetime_table.json" #restorefile "/usr/palm/frameworks/mojo2/submissions/99/resources/zh/cn/datetime_table.json" restoref...
Shell
#!/bin/sh replacefile(){ if [ -e "$1" ]; then cp "${1}" "${1}.old" fi install -Dm 0644 "/tmp/$(basename $1)" $1 } replacefile "/usr/palm/frameworks/mojo2/submissions/99/resources/zh/datetime_table.json" replacefile "/usr/palm/frameworks/mojo2/submissions/99/resources/zh/cn/datetime_table.json" rep...
Shell
#!/bin/sh rootfs_open -t ## I do not understand why ipkg can not create these dirs. workaround it here. install -d /media/cryptofs/apps/usr/palm/applications/com.palm.app.findapps/resources/zh_cn/views/add-comment/ install -d /usr/palm/frameworks/contacts.ui/submission/39/resources/zh/cn/templates/person-filter-list...
Shell
#!/bin/sh # # Start script # by Kenji Hollis <khollis@bitgatemobile.com> # # Starts BSSE Server CLASSPATH=lib/freemarker.jar:lib/h2.jar:dist/lib/bsse.jar:dist/lib/http-external.jar:dist/lib/webplasm.jar:dist/lib/render-hook.java:lib/jep-2.4.1.jar:lib/mysql-connector-java-5.1.7-bin.jar # Uncomment this line to enable ...
Shell
#!/bin/sh # # Start script # by Kenji Hollis <khollis@bitgatemobile.com> # # Starts BSSE Server CLASSPATH=lib/freemarker.jar:lib/h2.jar:dist/lib/bsse.jar:dist/lib/http-external.jar:dist/lib/webplasm.jar:dist/lib/render-hook.java:lib/jep-2.4.1.jar:lib/mysql-connector-java-5.1.7-bin.jar # Uncomment this line to enable ...
Shell