code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
DEST=
DEFAULT=$DEST/etc/default/asterisk
OPTIONS=""
is_false() {
[ "$1" != "true" ] && [ "$1" != "on" ] && [ "$1" != "1" ] && [ "$1" != "yes" ]
}
append_sip_parm() {
local section="$1"
local option="$2"
local default="$3"
local key="$4... | Shell |
#!/bin/bash
# Copyright 2011 Christopher De Vries and 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 a... | Shell |
yacc -d -p parser -b parser parser.y
rm -f parser_yacc.h parser_yacc.cpp
mv -f parser.tab.h parser_yacc.h
mv -f parser.tab.c parser_yacc.cpp
g++ -c -o parser_yacc.o parser_yacc.cpp
flex -Plexer lexer.l
rm -f lexer_lex.cpp
mv -f lex.lexer.c lexer_lex.cpp
g++ -c -o lexer_lex.o lexer_lex.cpp
g++ -c -o main.o main.cc
... | Shell |
#!/bin/bash
#
# Copyright 2010 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Creates the documentation set for the library by
# running pydoc on all the files in apiclient.
#
# Notes: You may have to update the location of the
# App Engine library for your local system.
exp... | Shell |
echo "The following files are missing or are not checked in:"
hg st
echo "Enter to continue"
read -e YES
echo "The following files are missing from the MANIFEST file:"
cat MANIFEST | sort > sorted-manifest.txt
hg st --clean| sed "s/^C //" | grep -v "^v3" > sorted-allfiles.txt
diff sorted-allfiles.txt sorted-manifest.tx... | Shell |
#!/bin/bash
##Reproject tifs from lambert to latlong: #for all the files in a directory, reproject and save in a new folder
##Requires GDAL
##Pre-condition: Specified input directory of tif files in lambert azimuthal equal area projection (originals left unchanged)
##Post-condition: Specified output directory with new ... | Shell |
#!/bin/bash
##Reproject tifs from lambert to latlong: #for all the files in a directory, reproject and save in a new folder
##Requires GDAL
##Pre-condition: Specified input directory of tif files in lambert azimuthal equal area projection (originals left unchanged)
##Post-condition: Specified output directory with new ... | Shell |
#!/bin/sh
m4 patches.m4 $1 | sed 's/#.*//' | sed 's/ / /g' | sed 's/^ *//' | grep .
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 2 -s -w - -t ossdsp -w -s /dev/dsp
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 1 -s -w - -t ossdsp -w -s /dev/dsp
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 2 -s -w - -t ossdsp -w -s /dev/dsp
| Shell |
#!/bin/sh
./runpatches $1 >$2
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 2 -s -w - $2
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 1 -s2 - $2
| Shell |
#!/bin/sh
cat $1 | sox -t raw -r 44100 -c 1 -s -w - -t ossdsp -w -s /dev/dsp
| Shell |
#!/bin/sh
./patchespp $1 | ./patches
| Shell |
#!/bin/sh
m4 patches.m4 $1 | sed 's/#.*//' | sed 's/ / /g' | sed 's/^ *//' | grep .
| Shell |
#!/bin/sh
make clean
rm Makefile modules.[ch]
| Shell |
#!/bin/sh
./patchespp $1 | ./patches
| Shell |
#!/bin/sh
make clean
rm Makefile modules.[ch]
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 1 -s2 - $2
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 1 -s -w - -t ossdsp -w -s /dev/dsp
| Shell |
#!/bin/sh
./runpatches $1 >$2
| Shell |
#!/bin/sh
./runpatches $1 | sox -t raw -r 44100 -c 2 -s -w - $2
| Shell |
#!/bin/sh
cat $1 | sox -t raw -r 44100 -c 1 -s -w - -t ossdsp -w -s /dev/dsp
| 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 ... | Shell |
#!/bin/bash
#
set -ue
backend=""
# match dev_appserver oauth2 default user_id
userID="0"
while [ $# -ge 1 ]
do
arg="$1"
shift
if [ "$arg" == "-b" ]
then
backend=1
else
userID="$arg"
fi
done
if [ "$backend" ]
then
# matcher backend
set -x
curl --data-binary "{}" -H "Content-Type: applicatio... | Shell |
#!/bin/bash
#
set -uex
dev_appserver.py --address 0.0.0.0 --skip_sdk_update_check --backends . $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/list-games'
| Shell |
#!/bin/bash
#
set -ue
# make sure stuff is installed
[ ! -d 'node_modules' ] && npm install socket.io express
set -x
# run the game
node games-server/main.js $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/debug'
| Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/ping"
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/start-game'
| Shell |
#!/bin/bash
#
set -ue
pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' )
set -x
data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }'
curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234... | Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/log"
| 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)
tok... | 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)
tok... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/bin/bash
test ! -d $1 && echo "$1 is not a dir" && exit 1
for i in $1/*html
do
echo -n $i '... '
sed -i 's,<div \+class="[^"]\+" \+id=\("[^"]\+"\) *>,<a name=\1 />&,' $i
sed -i 's,<[a-z]\+ \+id=\("[^"]\+"\) *>,<a name=\1 />&,' $i
echo ok
done
sed -i "s/Keyword/Name/g" $1/*hhk
# images html the... | Shell |
#!/bin/bash
# -*- coding: UTF8 -*-
PROJ=VRRender
test $(basename $(dirname $PWD)) = "$PROJ" && (
make html htmlhelp latex && (
(
cd build
#patch -p1 < ../patch.cedil
)
(
cd build/latex
make all-pdf
)
find build/ -type d -name .svn|xargs rm -rf
./htmlhelpTowxHtmlHelp build/htmlhelp
(
cd build/htmlhelp/_images
m... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
#
# SCRIPT PARA DESCARGAR MUSICA DE http://www.musica-online.org/
#
r="/var/www/pto_venta/app/webroot/clima";
echo "<!DOCTYPE html>" > $r/cabecera;
echo "<html lang='es'>" >> $r/cabecera;
echo "<head>" >> $r/cabecera;
echo "<link rel='stylesheet' href='clima/css/main_locanto.css' type='text/css... | Shell |
#!/usr/bin/env bash
#
# SCRIPT PARA DESCARGAR MUSICA DE http://www.musica-online.org/
#
r="/var/www/pto_venta/app/webroot/clima";
echo "<!DOCTYPE html>" > $r/cabecera;
echo "<html lang='es'>" >> $r/cabecera;
echo "<head>" >> $r/cabecera;
echo "<link rel='stylesheet' href='clima/css/main_locanto.css' type='text/css... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/bin/bash
#
# Copyright (c) 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/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
# Re... | 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
# Re... | 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 |
#!/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 |
#!/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 |
#!/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 |
#!/bin/bash
echo "ThreadFix VM config script v1"
if [ "$(whoami)" != "tfuser" ];
then
echo "This script must be run as user 'tfuser'"
echo "Please log back in as tfuser and run this script again."
exit 1;
fi
# DELETE vagrant user
if [ "`ls -a | grep .del_vagrant`" = "" ];
then
echo "Deleting vagrant u... | Shell |
#!/bin/sh
#
# /etc/init.d/tomcat7 -- startup script for the Tomcat 7 servlet engine
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
# Modified for Tomcat by Stefan Gybas <sgybas@debian.org>.
# Modified for Tomcat7 by Mac Collins <mcol... | Shell |
#!/bin/sh
SYSTEM=`uname -s`
CATALINA_HOME=./tomcat
PATH=${PATH}:./tomcat/bin
export CATALINA_HOME PATH
PWD=`pwd`
KEYSTORE_LOCATION=$PWD/tomcat/keystore
chmod +x ./$CATALINA_HOME/bin/*.sh
if [ $SYSTEM = "Darwin" ]; then
export JAVA_HOME=$(/usr/libexec/java_home)
else
if [ -z "$JAVA_HOME" ]; then
ex... | Shell |
#!/bin/bash
test ! -d $1 && echo "$1 is not a dir" && exit 1
for i in $1/*html
do
echo -n $i '... '
sed -i 's,<div \+class="[^"]\+" \+id=\("[^"]\+"\) *>,<a name=\1 />&,' $i
sed -i 's,<[a-z]\+ \+id=\("[^"]\+"\) *>,<a name=\1 />&,' $i
echo ok
done
sed -i "s/Keyword/Name/g" $1/*hhk
# images html the... | Shell |
#!/bin/bash
# -*- coding: UTF8 -*-
PROJ=VRRender
test $(basename $(dirname $PWD)) = "$PROJ" && (
make html htmlhelp latex && (
(
cd build
#patch -p1 < ../patch.cedil
)
(
cd build/latex
make all-pdf
)
find build/ -type d -name .svn|xargs rm -rf
./htmlhelpTowxHtmlHelp build/htmlhelp
(
cd build/htmlhelp/_images
m... | Shell |
setenv PYTHONPATH ${PYTHONPATH}:/usr/lib64/python/site-packages
| Shell |
# Update the _resources.py file from mgl
pyrcc4 -compress 100 -o _resources.py ./resources.qrc
| 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
################################################################################
#
# 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.
#
# Licensed under ... | 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.
#
# Licensed under ... | Shell |
#
# Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# - Redistributions of source code must retain the above copyright
# notice, this ... | Shell |
#!/bin/bash
# Repast Simphony Model Starter
# By Michael J. North and Jonathan Ozik
# 11/12/2007
# Note the Repast Simphony Directories.
PWD="${0%/*}"
cd $PWD
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
REPAST_SIMPHONY_LIB=$REPAST_SIMPHONY_ROOT/lib
# Define the Core Repast Simph... | Shell |
#!/bin/bash
# Repast Simphony Model Starter
# By Michael J. North and Jonathan Ozik
# 11/12/2007
# Note the Repast Simphony Directories.
PWD="${0%/*}"
cd $PWD
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
REPAST_SIMPHONY_LIB=$REPAST_SIMPHONY_ROOT/lib
# Define the Core Repast Simph... | Shell |
#!/bin/bash
# Repast Simphony Model Starter
# By Michael J. North and Jonathan Ozik
# 11/12/2007
# Note the Repast Simphony Directories.
PWD="${0%/*}"
cd $PWD
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
REPAST_SIMPHONY_LIB=$REPAST_SIMPHONY_ROOT/lib
# Define the Core Repast Simph... | Shell |
#!/bin/bash
# Repast Simphony Model Starter
# By Michael J. North and Jonathan Ozik
# 11/12/2007
# Note the Repast Simphony Directories.
PWD="${0%/*}"
cd $PWD
REPAST_SIMPHONY_ROOT=$PWD/repast.simphony/repast.simphony.runtime_$REPAST_VERSION
REPAST_SIMPHONY_LIB=$REPAST_SIMPHONY_ROOT/lib
# Define the Core Repast Simph... | Shell |
#!/bin/sh
scp -q res/values/strings.xml linode:ath/incoming/en.xml
wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en
if [ "$?" -ne "0" ]; then
echo "Sorry, something didn't work!"
exit 1
fi
| Shell |
#!/bin/bash
#ruby generate_images.rb
#for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done
#gimp res/drawable/b100.png
#for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done
# shift ("roll") images 1px to the right
# for i in numbers/*.png; do convert $i -roll +1+0 $i; done
d=`dirname $(rea... | Shell |
#!/bin/sh
# After initial checkout from svn, you'll want to run this as your first step.
android update project --path . --target "android-15"
| 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-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
# 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-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-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-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-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
# 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-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.