code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
TARGETS=$*
buildin() {
BASE_DIR=$(pwd)
cd $1
ant $TARGETS
cd $BASE_DIR
}
buildin core
buildin skins/black-text
buildin skins/white-text
buildin skins/black-text-plus
buildin skins/white-text-plus
buildin skins/bigger-text
| Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2014 gelin
#
# 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 2 of the License, or
# (at your option) an... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2005 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#!/bin/bash
have_automake=false
if automake --version < /dev/null > /dev/null 2>&1 ; then
automake_version=`automake --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'`
case $automake_version in
1.2*|1.3*|1.4|1.4*|1.5*|1.6*|1.7*|1.8*)
;;
*)
have_automake=true
;;
esac
fi
if $have_a... | Shell |
make
# DIST-FP-1.bz2 DIST-INT-1.bz2 DIST-MM-1.bz2 DIST-SERV-1.bz2
# DIST-FP-2.bz2 DIST-INT-2.bz2 DIST-MM-2.bz2 DIST-SERV-2.bz2
# DIST-FP-3.bz2 DIST-INT-3.bz2 DIST-MM-3.bz2 DIST-SERV-3.bz2
# DIST-FP-4.bz2 DIST-INT-4.bz2 DIST-MM-4.bz2 DIST-SERV-4.bz2
# DIST-FP-5.bz2 DIST-INT-5.bz2 DIST-MM-5.bz2 DIST-SERV-5.bz2
FILENAME=... | Shell |
# Common bash functions
# Assert that the last command terminated with OK status
function check_last_cmd() {
status=$?
if [ "$status" -ne "0" ]; then
echo "$1 failed (status: $status)"
echo "ABORTED"
exit 1
fi
echo "$1 was ok"
}
| Shell |
#!/bin/bash
#
# A script to fetch the updated translations from crowdin.net.
# Tested on Max osx.
#
# TODO: convert file formats from DOS to unix
# TODO: force a crowdin package creation before downloading.
source ./bash_lib.sh
# NOTE(tal): waiting with 'sq' until recieving a confirmation that it works
# on an actua... | Shell |
#!/bin/bash
#
# A script to fetch the crowdin translation memory.
# Tested on Max osx.
source ./bash_lib.sh
local_tmx_file="../archive/translations.tmx"
function main() {
echo "Downloading tmx file -> ${local_tmx_file}"
curl -o ${local_tmx_file} http://api.crowdin.net/api/project/maniana/download-tm?key=$CIKEY
... | Shell |
#!/bin/bash
#
# A script to patch the Android SDK library that contains ViewPager.java
# Run each time upgrading to a newer version of the SDK.
#
# As of Aug 2012, the stock ViewPager class does not allow to control the
# animation speed and results in a too fast stratup animation (the goal is
# that the user will have... | Shell |
#!/bin/bash
test -e compiled || mkdir compiled
if [[ $# -ne 0 ]]
then
for i in "$@";
do
smxfile="`echo $i | sed -e 's/\.sp$/\.smx/'`";
echo -n "Compiling $i...";
./spcomp $i -ocompiled/$smxfile
done
else
for sourcefile in *.sp
do
smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
... | Shell |
echo "Enter your database server address (localhost if on this machine):"
read s_addr
echo "Enter your database username:"
read s_uname
echo "Enter the password for $s_uname":
read s_pword
echo "Enter a name for the database where Alphonse will store information:"
read s_db
echo "Address: $s_addr"
echo "Use... | Shell |
#! /bin/bash
tr -d "\r" <$1 >/dev/tts/1
| Shell |
#! /bin/bash
tr -d "\r" <$1 >/dev/tts/1
| Shell |
#!/bin/sh
# ---------------------------------------------------------
# Set the core module defines according to Core Module
# ---------------------------------------------------------
# ---------------------------------------------------------
# Set up the Versatile type define
# -------------------------------------... | Shell |
#!/bin/sh
# ---------------------------------------------------------
# Set the core module defines according to Core Module
# ---------------------------------------------------------
# ---------------------------------------------------------
# Set up the Versatile type define
# -------------------------------------... | Shell |
#!/bin/sh
mkdir -p ${obj}include
mkdir -p ${obj}board/armltd/integrator
config_file=${obj}include/config.h
if [ "$1" = "ap" ]
then
# ---------------------------------------------------------
# Set the platform defines
# ---------------------------------------------------------
echo -n "/* Integrator configuration im... | Shell |
#!/bin/sh
mkdir -p ${obj}include
mkdir -p ${obj}board/armltd/integrator
config_file=${obj}include/config.h
if [ "$1" = "ap" ]
then
# ---------------------------------------------------------
# Set the platform defines
# ---------------------------------------------------------
echo -n "/* Integrator configuration im... | Shell |
#!/bin/sh -e
# Script to create header files and links to configure
# U-Boot for a specific board.
#
# Parameters: Target Architecture CPU Board [VENDOR] [SOC]
#
# (C) 2002-2006 DENX Software Engineering, Wolfgang Denk <wd@denx.de>
#
APPEND=no # Default: Create new config file
BOARD_NAME="" # Name to print in mak... | Shell |
#!/bin/sh
# Determine number of CPU cores if no default was set
: ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"}
if [ "$BUILD_NCPUS" -gt 1 ]
then
JOBS=-j`expr "$BUILD_NCPUS" + 1`
else
JOBS=""
fi
if [ "${CROSS_COMPILE}" ] ; then
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
else
MAKE=make
fi
if [ "${MAKEALL_LOGDIR}... | Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 [board IP] [board port]"
echo ""
echo "If IP is not specified, 'localhost' will be used"
echo "If port is not specified, '2001' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
... | Shell |
#!/bin/sh
# This script converts binary files (u-boot.bin) into so called
# bootstrap records that are accepted by Motorola's MC9328MX1/L
# (a.k.a. DragaonBall i.MX) in "Bootstrap Mode"
#
# The code for the SynchFlash programming routines is taken from
# Bootloader\Bin\SyncFlash\programBoot_b.txt contained in
# Motor... | Shell |
#!/bin/sh
# Print additional version information for non-release trees.
usage() {
echo "Usage: $0 [srctree]" >&2
exit 1
}
cd "${1:-.}" || usage
# Check for git and a git repo.
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Do we have an untagged version?
if git name-rev --tags HEAD | \
grep -E '^H... | Shell |
#!/bin/sh
# This script converts binary files (u-boot.bin) into so called
# bootstrap records that are accepted by Motorola's MC9328MX1/L
# (a.k.a. DragaonBall i.MX) in "Bootstrap Mode"
#
# The code for the SynchFlash programming routines is taken from
# Bootloader\Bin\SyncFlash\programBoot_b.txt contained in
# Motor... | Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 [board IP] [board port]"
echo ""
echo "If IP is not specified, 'localhost' will be used"
echo "If port is not specified, '2001' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
... | Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 <board IP> [board port]"
echo ""
echo "If port is not specified, '6666' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
--) break;;
-*) usage "Invalid option $... | Shell |
#!/bin/sh
# Print additional version information for non-release trees.
usage() {
echo "Usage: $0 [srctree]" >&2
exit 1
}
cd "${1:-.}" || usage
# Check for git and a git repo.
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Do we have an untagged version?
if git name-rev --tags HEAD | \
grep -E '^H... | Shell |
#!/bin/sh
make
./easylogo linux_logo.tga u_boot_logo video_logo.h
mv video_logo.h ../../include
| Shell |
#!/bin/sh
make
./easylogo linux_logo.tga u_boot_logo video_logo.h
mv video_logo.h ../../include
| Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 <board IP> [board port]"
echo ""
echo "If port is not specified, '6666' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
--) break;;
-*) usage "Invalid option $... | Shell |
#!/bin/sh
# Determine number of CPU cores if no default was set
: ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"}
if [ "$BUILD_NCPUS" -gt 1 ]
then
JOBS=-j`expr "$BUILD_NCPUS" + 1`
else
JOBS=""
fi
if [ "${CROSS_COMPILE}" ] ; then
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
else
MAKE=make
fi
if [ "${MAKEALL_LOGDIR}... | Shell |
#!/bin/sh -e
# Script to create header files and links to configure
# U-Boot for a specific board.
#
# Parameters: Target Architecture CPU Board [VENDOR] [SOC]
#
# (C) 2002-2006 DENX Software Engineering, Wolfgang Denk <wd@denx.de>
#
APPEND=no # Default: Create new config file
BOARD_NAME="" # Name to print in mak... | Shell |
U-Boot for Renesas SuperH
Last update 01/18/2008 by Nobuhiro Iwamatsu
================================================================================
0. What's this?
This file contains status information for the port of U-Boot to the
Renesas SuperH series of CPUs.
================================================... | Shell |
#!/bin/sh
usage() {
echo "Usage: $0 lzmaVERSION.tar.bz2" >&2
echo >&2
exit 1
}
if [ "$1" = "" ] ; then
usage
fi
if [ ! -f $1 ] ; then
echo "$1 doesn't exist!" >&2
exit 1
fi
BASENAME=`basename $1 .tar.bz2`
TMPDIR=/tmp/tmp_lib_$BASENAME
FILES="C/LzmaDec.h
C/Types.h
C/LzmaDec.c
history.txt
... | Shell |
#!/bin/sh
usage() {
echo "Usage: $0 lzmaVERSION.tar.bz2" >&2
echo >&2
exit 1
}
if [ "$1" = "" ] ; then
usage
fi
if [ ! -f $1 ] ; then
echo "$1 doesn't exist!" >&2
exit 1
fi
BASENAME=`basename $1 .tar.bz2`
TMPDIR=/tmp/tmp_lib_$BASENAME
FILES="C/LzmaDec.h
C/Types.h
C/LzmaDec.c
history.txt
... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.4
# 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
# w... | 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
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 the terms of the ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-01-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | 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 Free Software Foundation,
# Inc.
timestamp='2007-03-06'
# This file is free software; you can redistribute it and/or modify it
# under the terms of th... | 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
aclocal \
&& automake --add-missing \
&& autoconf
| Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 the terms of the ... | Shell |
#! /bin/sh
aclocal \
&& automake --add-missing \
&& autoconf
| Shell |
#!/bin/bash
#export LD_LIBRARY_PATH=$HOME/usr/lib
export PYTHONPATH=`pwd`/inklib/python:`pwd`/src/bindings/python
export DATADIR=`pwd`/tests/data
TESTSET="basic visual keyboard irc"
valgrind_memcheck()
{
valgrind \
--log-file=$1.valgrind \
--tool=memcheck \
--leak-check=full \
-... | Shell |
#!/bin/bash
#export LD_LIBRARY_PATH=$HOME/usr/lib
export PYTHONPATH=`pwd`/inklib/python:`pwd`/src/bindings/python
export DATADIR=`pwd`/tests/data
TESTSET="basic visual keyboard irc"
valgrind_memcheck()
{
valgrind \
--log-file=$1.valgrind \
--tool=memcheck \
--leak-check=full \
-... | Shell |
#!/bin/bash
export PATH=$PATH:$HOME/android-sdk-linux_x86-1.5_r1/tools
export JAVA_HOME=/usr/java/default
export JARSIGNER=/usr/java/default/bin/jarsigner
export SQLFILE=dbquery.sql
COLOR_GREEN="\033[01;32m"
COLOR_RED="\033[01;31m"
COLOR_BLUE="\033[01;34m"
COLOR_NORMAL="\033[00m"
##################################... | Shell |
#!/bin/bash
export PATH=$PATH:$HOME/android-sdk-linux_x86-1.5_r1/tools
export JAVA_HOME=/usr/java/default
export JARSIGNER=/usr/java/default/bin/jarsigner
export SQLFILE=dbquery.sql
COLOR_GREEN="\033[01;32m"
COLOR_RED="\033[01;31m"
COLOR_BLUE="\033[01;34m"
COLOR_NORMAL="\033[00m"
##################################... | Shell |
#!/bin/bash
SUM_STR='0'
LIBRARIES=`ldd $1 | awk '{printf $3 "\n"}' | grep "^/"`
for i in $LIBRARIES
do
SUM_STR=$SUM_STR+`ls -lL $i | awk '{printf $5}'`
done
echo $SUM_STR
| Shell |
#!/bin/bash
PROJECT=$1
BACKUP_SRC=$2
LOG_FILE="$PROJECT.log"
if [ -f $LOG_FILE ]
then
TIMESTAMP="-newer $LOG_FILE"
fi
find $BACKUP_SRC $TIMESTAMP | \
grep '\.py$\|\.c$\|\.ac$\|\.am$\|\.h$\|\.cpp\|\.hpp\|\.sh$' | xargs echo
date >> $LOG_FILE
| Shell |
#!/bin/bash
cp S3.py /usr/lib/python2.5/site-packages/
cp AmazonS3.py /usr/bin/
cp s3backup.sh /usr/bin/
| Shell |
#!/bin/bash
cp S3.py /usr/lib/python2.5/site-packages/
cp AmazonS3.py /usr/bin/
cp s3backup.sh /usr/bin/
| Shell |
#!/bin/bash
PROJECT=$1
BACKUP_SRC=$2
BASE_DIR="$HOME/.S3backup"
LOG_FILE="$BASE_DIR.$PROJECT.log"
if [ -f $LOG_FILE ]
then
MAX_INCR_BACKUPS=20
TOTAL_BACKUPS=`cat $LOG_FILE | wc -l`
if [ $TOTAL_BACKUPS -gt $MAX_INCR_BACKUPS ]
then
# Delete the backups from S3
BACKUP_ARCHIVES=`cat ~/.... | Shell |
#!/bin/bash
PROJECT=$1
BACKUP_SRC=$2
LOG_FILE="$PROJECT.log"
if [ -f $LOG_FILE ]
then
TIMESTAMP="-newer $LOG_FILE"
fi
find $BACKUP_SRC $TIMESTAMP | \
grep '\.py$\|\.c$\|\.ac$\|\.am$\|\.h$\|\.cpp\|\.hpp\|\.sh$' | xargs echo
date >> $LOG_FILE
| Shell |
#!/bin/bash
PROJECT=$1
BACKUP_SRC=$2
BASE_DIR="$HOME/.S3backup"
LOG_FILE="$BASE_DIR.$PROJECT.log"
if [ -f $LOG_FILE ]
then
MAX_INCR_BACKUPS=20
TOTAL_BACKUPS=`cat $LOG_FILE | wc -l`
if [ $TOTAL_BACKUPS -gt $MAX_INCR_BACKUPS ]
then
# Delete the backups from S3
BACKUP_ARCHIVES=`cat ~/.... | Shell |
#!/bin/bash
SUM_STR='0'
LIBRARIES=`ldd $1 | awk '{printf $3 "\n"}' | grep "^/"`
for i in $LIBRARIES
do
SUM_STR=$SUM_STR+`ls -lL $i | awk '{printf $5}'`
done
echo $SUM_STR
| Shell |
#!/bin/bash
mkdir -p valgrind
valgrind \
--tool=memcheck \
--leak-check=full \
--show-reachable=yes \
--log-file=valgrind/$$.log \
$*
| Shell |
#!/bin/bash
mkdir -p valgrind
valgrind \
--tool=memcheck \
--leak-check=full \
--show-reachable=yes \
--log-file=valgrind/$$.log \
$*
| Shell |
#!/bin/bash
N810=192.168.1.104
LOCAL_MUSIC_STORE=/home/jayesh/limewire
REMOTE_MUSIC_STORE=/media/mmc2/music
show_config()
{
echo "LOCAL_MUSIC_STORE : $LOCAL_MUSIC_STORE"
echo "REMOTE_MUSIC_STORE : $REMOTE_MUSIC_STORE"
echo "N810 IP : $N810"
USED_SPACE=`ssh root@$N810 "df -h $R... | Shell |
#!/bin/bash
N810=192.168.1.104
LOCAL_MUSIC_STORE=/home/jayesh/limewire
REMOTE_MUSIC_STORE=/media/mmc2/music
show_config()
{
echo "LOCAL_MUSIC_STORE : $LOCAL_MUSIC_STORE"
echo "REMOTE_MUSIC_STORE : $REMOTE_MUSIC_STORE"
echo "N810 IP : $N810"
USED_SPACE=`ssh root@$N810 "df -h $R... | Shell |
#!/bin/sh
set -e
set -x
rm -rf *.cache *.m4 config.guess config.log \
config.status config.sub depcomp ltmain.sh
(cat aclocal/*.m4 > acinclude.m4 2> /dev/null)
autoreconf --verbose --install --symlink
| Shell |
#!/bin/sh
set -e
set -x
rm -rf *.cache *.m4 config.guess config.log \
config.status config.sub depcomp ltmain.sh
(cat aclocal/*.m4 > acinclude.m4 2> /dev/null)
autoreconf --verbose --install --symlink
| Shell |
#!/bin/bash
usage()
{
echo "Usage: build.sh [-p PACKAGE_NAME]"
echo " -p Package to build "
echo " (valid objects: gimp-publishr,"
echo " inkscape-publishr,"
echo " maemo-publishr,"
echo " publishr)"
}
TMP_BLDDIR=/tmp/altcanvas... | Shell |
#
# A regression script that runs all tests in order.
#
#!/bin/bash
DATA_DIR=../data
export PYTHONPATH=$HOME/altcanvas/inkface2
python basic.py $DATA_DIR/gui-0.svg
python events.py $DATA_DIR/gui-0.svg
python change.py $DATA_DIR/gui-4.svg
python clone.py $DATA_DIR/gui-5.svg
#python animation.py $DATA_DIR/gui-1.... | Shell |
#
# A regression script that runs all tests in order.
#
#!/bin/bash
DATA_DIR=../data
export PYTHONPATH=$HOME/altcanvas/inkface2
python basic.py $DATA_DIR/gui-0.svg
python events.py $DATA_DIR/gui-0.svg
python change.py $DATA_DIR/gui-4.svg
python clone.py $DATA_DIR/gui-5.svg
python animation.py $DATA_DIR/gui-1.s... | Shell |
#!/bin/bash
usage()
{
echo "Usage: build.sh [-p PACKAGE_NAME]"
echo " -p Package to build "
echo " (valid objects: gimp-publishr,"
echo " inkscape-publishr,"
echo " maemo-publishr,"
echo " publishr)"
}
TMP_BLDDIR=/tmp/altcanvas... | Shell |
#!/system/bin/sh
# Adapted from tether script from andTether application
# Original Header:
# ----------------
# @Version=6
# Copyright 2008 parrothd
# Copyright 2009 zodiac (Markus Gutschke)
adhoclog="$2"/var/adhoc.log
mac_whitelist="$2"/conf/whitelist_mac.conf
dnsmasq_pidfile="$2"/var/dnsmasq.pid
dnsmasq_leasefile="... | Shell |
#!/bin/sh
JQUERY_VERSION="1.10.2"
STROPHE_VERSION="1.1.2"
BOOTSTRAP_VERSION="1.4.0"
ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
cd www_files/js
rm -f jquery-$JQUERY_VERSION.min.js
wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js || exit 1
rm -f adhoc.js
wget -O adhoc.js "http://git.babelmonke... | Shell |
#!/bin/bash
start=6
stop=20
if [ "$1" == "" ]; then
echo Usage: $0 "["conv\|cconv"]" "["start"]" "["stop"]"
exit
fi
divisor=0;
if [ "$1" == "conv" ]; then
shift=1;
offset=2;
divisor=3;
outdir=timings1r
fi
if [ "$1" == "cconv" ]; then
outdir=timings1c
fi
if [ "$outdir" == "" ]; then
... | Shell |
#!/bin/bash
# typical start/stop values:
# 1D runs: 6 20
# 2D runs: 6 13 (12 for tconv)
# 3D runs: 2 8
start=6
stop=12
if [ "$1" == "" ]; then
echo Usage: $0 "["conv\|cconv\|tconv\|conv2\|cconv2\|tconv2\|cconv3"]" "["start"]" "["stop"]"
exit
fi
N0=10000000
if [ "$HOSTTYPE" == "x86_64-linux" ]; then
N0=... | Shell |
python writeFeatures.py ../../data/Hebrew/ outputHebrew.csv hebrew
python writeFeatures.py ../../data/Burmese/ outputBurmese.csv burmese
python writeFeatures.py ../../data/Thai/ outputThai.csv thai
python writeFeatures.py ../../data/Arial/ outputArial.csv roman
python writeFeatures.py ../../data/Greek/ outputGreek.csv ... | Shell |
#!/bin/sh
set -x
#libtoolize --force --copy
aclocal -I ./m4
autoheader
automake --foreign --add-missing --copy
autoconf
| Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 the terms of the ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2005-06-29.22
# 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@gnu.org>... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# 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
# w... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-11-07.23
# 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/bash
tclsh altera.tcl > /dev/null &
pid=$!
echo "Altera started ($pid)"
echo $pid > altera.pid
| Shell |
#! /bin/bash
tclsh altera.tcl > /dev/null &
pid=$!
echo "Altera started ($pid)"
echo $pid > altera.pid
| Shell |
#!/bin/bash
curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz
tar -zxvf tesseract-ocr-3.02.eng.tar.gz
rm -f tesseract-ocr-3.02.eng.tar.gz
mkdir data
mv tesseract-ocr data/tesseract
adb push data/ /sdcard/
adb shell sync
| Shell |
#!/bin/bash
curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz
tar -zxvf tesseract-ocr-3.02.02.tar.gz
tar -zxvf leptonica-1.69.tar.gz
rm -f tesseract-ocr-3.02.02.tar.gz
rm -f leptonica-1.69.tar.gz
mv tesseract-ocr jni/com_g... | Shell |
#!/bin/bash
#(C) Copyright 2010-2011 Nicholas Paun. All Rights Reserved.
echo -e "\n\n>>> Summary: <<<"
grep "* Backup" /tmp/backup-out.$$
rm /tmp/backup-out.$$
#echo -e "\n(Backup finished at `date '+%F %R'`)"
| Shell |
#!/bin/bash
# alp-dbrestore: restore incremental database backups
# (C) Copyright 2011 Nicholas Paun. All Rights Reserved.
# Syntax: alp-dbrestore: <database> <backup-directory>
if [[ $1 = "-h" ]]; then
echo "alp-dbrestore: restore incremental database backups"
echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese... | Shell |
#!/bin/bash
# alp-dbrestore: restore incremental database backups
# (C) Copyright 2011 Nicholas Paun. All Rights Reserved.
# Syntax: alp-dbrestore: <database> <backup-directory>
if [[ $1 = "-h" ]]; then
echo "alp-dbrestore: restore incremental database backups"
echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese... | Shell |
#!/bin/bash
#(C) Copyright 2010-2011 Nicholas Paun. All Rights Reserved.
echo -e "\n\n>>> Summary: <<<"
grep "* Backup" /tmp/backup-out.$$
rm /tmp/backup-out.$$
#echo -e "\n(Backup finished at `date '+%F %R'`)"
| Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here
echo -e "\e[00;32mYour System\e[00m"
echo "Hostname: $HOST"
echo "Date: `date`"
echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1)
echo -e "\n\e[00;32mYour Crontab\e[00m... | Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here
echo -e "\e[00;32mYour System\e[00m"
echo "Hostname: $HOST"
echo "Date: `date`"
echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1)
echo -e "\n\e[00;32mYour Crontab\e[00m... | Shell |
#!/bin/bash
#alpine-backup installer
#(C) Copyright 2009-2012 Nicholas Paun. All Rights Reserved.
INSTALLDIR="/alpine-backup" #Directory to copy all files to (if selected
BINDIR="/usr/sbin" #Directory to copy code
LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc.
CONFDIR="/etc/alpine-backup/" #D... | Shell |
#!/bin/bash
#alpine-backup installer
#(C) Copyright 2009-2012 Nicholas Paun. All Rights Reserved.
INSTALLDIR="/alpine-backup" #Directory to copy all files to (if selected
BINDIR="/usr/sbin" #Directory to copy code
LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc.
CONFDIR="/etc/alpine-backup/" #D... | Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
echo -e "\n\n>>> Summary: <<<"
grep "* Backup" $1
| Shell |
#!/bin/bash
# alp-dbrestore: restore incremental database backups
# (C) Copyright 2011 Nicholas Paun. All Rights Reserved.
# Syntax: alp-dbrestore: <database> <backup-directory>
if [[ $1 = "-h" ]]; then
echo "alp-dbrestore: restore incremental database backups"
echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese... | Shell |
#!/bin/bash
# alp-dbrestore: restore incremental database backups
# (C) Copyright 2011 Nicholas Paun. All Rights Reserved.
# Syntax: alp-dbrestore: <database> <backup-directory>
if [[ $1 = "-h" ]]; then
echo "alp-dbrestore: restore incremental database backups"
echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese... | Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
echo -e "\n\n>>> Summary: <<<"
grep "* Backup" $1
| Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here
echo -e "\e[00;32mYour System\e[00m"
echo "Hostname: $HOST"
echo "Date: `date`"
echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1)
echo -e "\n\e[00;32mYour Crontab\e[00m... | Shell |
#!/bin/bash
#(C) Copyright 2010 Nicholas Paun. All Rights Reserved.
SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here
echo -e "\e[00;32mYour System\e[00m"
echo "Hostname: $HOST"
echo "Date: `date`"
echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1)
echo -e "\n\e[00;32mYour Crontab\e[00m... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.