code
stringlengths
1
1.96M
language
stringclasses
1 value
./compile.sh #java -Xmx10g ngram/Ngram #java -Xmx10g ngram/PatternAnalysis #java -Xmx10g ngram/PatternGenerate java -Xmx16g -cp ../lib/stanford-classifier-3.2.0.jar:. em/EMLearn
Shell
#./runILP.sh all ./compile.sh path=../lib/jnisvmlight.jar:../lib/stanford-classifier-3.2.0.jar:../lib/lpsolve55j.jar:. java -Xmx32g -cp $path em/MaxEntLearnMoreTrainData cd /users/yzcchen/tool/YASMET cat ~/chen3/zeroEM/EMAlgorithm/src/yasmet.train | ./a.out -deltaPP 0.0 -iter 100 > WT cat ~/chen3/zeroEM/EMAlgorithm/src...
Shell
#!/bin/sh if [ -z "$JYTHON_HOME" ]; then echo "Set JYTHON_HOME to compile." exit 1 fi DIR="$( cd "$( dirname "$0" )" && pwd )" OPTS="-cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $* -Xlint:unchecked" javac $OPTS $DIR/testlibs/*.java javac $OPTS $DIR/listeners/*.java
Shell
#!/bin/sh testdir=`dirname $0` rm -f $testdir/output.* export PYTHONPATH=$testdir/../../../src python -m robot.run -l none -r none -d $testdir $testdir/test.txt python $testdir/../times2csv.py $testdir/output.xml echo "------------------------------ results ------------------------------" cat $testdir/output.csv echo "...
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash #python src/robot/rebot.py $* &> /dev/null & python src/robot/run.py $* &> /dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jyt...
Shell
#!/bin/bash NUM_RUNS=20 MU_LIST="100 1000 10000 50000 100000 125000 150000 175000 200000 225000 235000 250000 300000 500000" CARRIER_SLEEP_TIME=5 CREDITCO_SLEEP_TIME=5 MERCH_SLEEP_TIME=7 CUST_SLEEP_TIME=15 TRANS_PER_RUN=100 PROG=$1 if [ "$PROG" = "carrier" ]; then CMD="./carrier" SLEEP_TIME=$CARRIER_SLEEP_TI...
Shell
#!/bin/bash NUM_RUNS=20 MU_LIST="100 1000 10000 50000 100000 125000 150000 175000 200000 225000 235000 250000 300000 500000" CARRIER_SLEEP_TIME=5 CREDITCO_SLEEP_TIME=5 MERCH_SLEEP_TIME=7 CUST_SLEEP_TIME=15 TRANS_PER_RUN=100 PROG=$1 if [ "$PROG" = "carrier" ]; then CMD="./carrier" SLEEP_TIME=$CARRIER_SLEEP_TI...
Shell
#!/bin/bash MU_LIST="100 1000 10000 50000 100000 125000 150000 175000 200000 225000 235000 250000 300000 500000" NUM_RUNS=20 echo "interval, min lat, max lat, avg lat, min through, max through, avg through" > summary.log for mu in $MU_LIST; do COUNTER=0; echo "" > avgs_int_$mu.log while [ $COUNTER -lt $NUM_...
Shell
#!/bin/bash MU_LIST="100 1000 10000 50000 100000 125000 150000 175000 200000 225000 235000 250000 300000 500000" NUM_RUNS=20 echo "interval, min lat, max lat, avg lat, min through, max through, avg through" > summary.log for mu in $MU_LIST; do COUNTER=0; echo "" > avgs_int_$mu.log while [ $COUNTER -lt $NUM_...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git GIT_ORIGIN_NAME=origin #rm -rf "${GIT_DIR}" # initialize git if it is not present (clone it) if [ ! -d "$GIT_DIR" ]; then git clone ${GIT_URL} "${GIT_DIR}" fi # update git cd "${GIT_DIR}" gi...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_ORIGIN_NAME=origin BUILD_DIR="$DIRECTORY"/builds LATESTS_DIR="$DIRECTORY"/latests VERSION_FILE=./DataExtractionOSM/src/net/osmand/Version.java DATE=$(date +%Y-%m-%d) SHORT_DATE=$(date +%d-%m) # clean all files in build directory rm -r ...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) ## VARIABLES ### LOG_DIR="$DIRECTORY"/logs DATE=$(date +%d-%m-%y) LOG_FILE="$LOG_DIR/${DATE}.log" mkdir $LOG_DIR touch $LOG_FILE # 1. Update git directory "${DIRECTORY}/update_git.sh" 2>&1 >>$LOG_FILE # 2. Go through branches and generates builds "${DIRECTORY}/build_b...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git GIT_ORIGIN_NAME=origin HG_DIR="$DIRECTORY"/osmand-hg HG_URL=https://osmand.googlecode.com/hg BUILD_DIR="$DIRECTORY"/builds if [ ! -d "$HG_DIR" ]; then hg clone ${GIT_URL} "${HG_DIR}" fi cd "...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) FTP_SITE=download.osmand.net FTP_FOLDER=/var/www-download/night-builds FTP_LATEST=/var/www-download/latest-night-build # FTP_USER in local.properties # FTP_PWD= in local.properties BUILD_DIR="$DIRECTORY"/builds LATEST_DIR="$DIRECTORY"/latests . "$DIRECTORY"/local.properti...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) FTP_SITE=download.osmand.net FTP_FOLDER=night-builds FTP_LATEST=latest-night-build # FTP_USER in local.properties # FTP_PWD= in local.properties BUILD_DIR="$DIRECTORY"/builds LATEST_DIR="$DIRECTORY"/latests . "$DIRECTORY"/local.properties # 3. upload to ftp server lftp -c...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea...
Shell
# This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCreator.jar:./l...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea...
Shell
#!/bin/bash # # Copyright 2007 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
export PYTHONPATH=`pwd`:${PYTHONPATH}
Shell
#!/bin/bash openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \ -keyout privatekey.pem -out publickey.pem \ -subj "/CN=unit-tests" openssl pkcs12 -export -out privatekey.p12 \ -inkey privatekey.pem -in publickey.pem \ -name "key" -passout pass:notasecret openssl pkcs12 -in privatekey.p12 \ -nodes -...
Shell
#!/bin/bash # # Copyright 2012, Google Inc # # Generates a zip of the google api python client and dependencies. # # Author: afshar@google.com (Ali Afshar) # Exit on failure. set -e # Where to build the zip. ROOT_PATH=$(pwd)/build/gae BUILD_PATH=${ROOT_PATH}/build LIB_PATH=${ROOT_PATH}/lib ENV_PATH=${ROOT_PATH}/ve LO...
Shell
#!/bin/bash # # Copyright 2011 Google Inc. All Rights Reserved. # Author: jcgregorio@google.com (Joe Gregorio) # # Uploads a training data set to Google Storage to be used by this sample # application. # # Usage: # setup.sh file_name bucket/object # # Requirements: # gsutil - a client application for interacting with...
Shell
#!/bin/bash assert_file_exist(){ if ! [ -a $1 ] then echo "$1 does not exist!" exit 1 fi } if [ $# -lt 2 ] || [ $# -gt 3 ] then echo "Usage:\treset_db.sh <database> <sql dump>" echo "\treset_db.sh <database> <sql schema dump> <sql data dump>" exit 1 fi database=$1 if [ $# -eq 2 ] then sqldump=$2 ass...
Shell
#!/bin/bash assert_file_exist(){ if ! [ -a $1 ] then echo "$1 does not exist!" exit 1 fi } if [ $# -lt 2 ] || [ $# -gt 3 ] then echo "Usage:\treset_db.sh <database> <sql dump>" echo "\treset_db.sh <database> <sql schema dump> <sql data dump>" exit 1 fi database=$1 if [ $# -eq 2 ] then sqldump=$2 ass...
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 ./source/project/ mkdir build cd ./build cmake .. make cd ../../../ ./zero2d
Shell
#!/bin/bash cd ./source/project/ mkdir build cd ./build cmake .. make cd ../../../ ./zero2d
Shell
#!/bin/bash cd ./source/project/ mkdir build cd ./build cmake .. make cd ../../../ ./zero2d
Shell
#!/bin/bash cd ./source/project/ mkdir build cd ./build cmake .. make cd ../../../ ./zero2d
Shell
#! /bin/sh ############################### #script to upload to an ftp server #by default I use mine, you can modify it to point to your ftp server #I'm using lftp as it has the mirror functionnality that the basic ftp utility #does not seem to include # # Has to be run from the trunk directory # #Parameter : ftp serv...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # 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...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 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 # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # 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...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # 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...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 gelin, 2011 mihovilic # # 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...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # 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...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 Denis Nelubin aka 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 # ...
Shell
#!/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/bash ######################################################################### # File Name: install.sh # Author: zero91 # mail: jianzhang9102@gmail.com # Created Time: Tue 17 Dec 2013 07:01:47 PM CST # # Description: script to install linux software #############################################...
Shell
#!/bin/bash ######################################################################### # File Name: install.sh # Author: zero91 # mail: jianzhang9102@gmail.com # Created Time: Tue 17 Dec 2013 07:01:47 PM CST # # Description: script to install linux software #############################################...
Shell
[ -d /mnt/zr ] || mkdir /mnt/zr [ -d /mnt/zr/SVN_WORK ] || mount -t nfs -o nolock 192.168.3.42:/WORK /mnt/zr cd /mnt/zr/SVN_WORK/PT2500_svn/
Shell
#!/usr/bin/env bash # Reset Propel tests fixtures # 2011 - William Durand <william.durand1@gmail.com> CURRENT=`pwd` function rebuild { local dir=$1 echo "[ $dir ]" if [ -d "$dir/build" ] ; then rm -rf "$dir/build" fi $ROOT/generator/bin/propel-gen $FIXTURES_DIR/$dir main $ROOT/gener...
Shell
#!/bin/sh # ------------------------------------------------------------------------ # The phing build script for Unix based systems # $Id: pear-propel-gen,v 1.2 2004/10/17 13:24:09 hlellelid Exp $ # ------------------------------------------------------------------------ # -------------------------------------------...
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/sh jarsigner -verbose -digestalg SHA1 -sigalg MD5withRSA -keystore ~/Documents/keys/liberty-android-release.keystore bin/AnyMemo-release-unsigned.apk liberty-android-key zipalign -v 4 bin/AnyMemo-release-unsigned.apk bin/AnyMemo-release.apk
Shell
#!/bin/bash if [ -d "res/values-zh-rTW" ] then rm -rf res/values-zh-rTW fi mkdir res/values-zh-rTW iconv -f utf8 -t gb2312 res/values-zh-rCN/strings.xml | iconv -f gb2312 -t big5 | iconv -f big5 -t utf8 > res/values-zh-rTW/strings.xml
Shell
#!/bin/bash adb shell am start -e debug true -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.AnyMemo debug_port=$(adb jdwp | tail -1); cmd="adb forward tcp:8700 jdwp:$debug_port" echo $cmd exec $cmd echo 'DONE!'
Shell
#!/bin/bash cd .. if [ -d "AnyMemoLite" ] then rm -rf AnyMemoLite fi cp AnyMemo AnyMemoLite -r cd AnyMemoLite mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemolite rm -rf bin rm -rf gen find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.lib...
Shell
#!/bin/bash find ./ -type f -name "*.java" | xargs sed -i 's/org\.apache\.commons/org\.apache\.mycommons/g'
Shell
#!/bin/sh trap exit ERR ant debug install adb shell am start -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.ui.AnyMemo
Shell
#!/bin/sh adb shell setprop debug.assert 1 adb shell setprop log.tag.StatementExecutor VERBOSE adb shell setprop log.tag.BaseMappedStatement VERBOSE adb shell setprop log.tag.MappedCreate VERBOSE
Shell
#!/bin/bash cd .. if [ -d "AnyMemoPro" ] then rm -rf AnyMemoPro fi cp AnyMemo AnyMemoPro -r cd AnyMemoPro mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemopro find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.liberty\.android\.fantastischmem...
Shell
#!/bin/sh trap exit ERR adb shell am instrument -w -e class "org.liberty.android.fantastischmemo.test.$1" org.liberty.android.fantastischmemo.test/android.test.InstrumentationTestRunner
Shell
#!/bin/sh trap exit ERR ant clean ant debug install
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-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#!/bin/bash gcc `pkg-config --cflags --libs glib-2.0` myspell2dic.c -o myspell2dic echo "Please wait..." recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.dic >es_ES.dic.utf recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.aff >es_ES.aff.utf echo |./myspell2dic es_ES.dic.utf es_ES.aff.utf 2>/dev/null recode ko...
Shell
#!/bin/bash gcc exc2i2e.c -o exc2i2e rename /usr/share/stardict/dic/i2e /usr/share/stardict/dic/temp /usr/share/stardict/dic/i2e.* 2>/dev/null rename /usr/share/stardict/dic/e2i /usr/share/stardict/dic/temp2 /usr/share/stardict/dic/e2i.* 2>/dev/null ./exc2i2e >t /usr/lib/stardict/i2e2dict t rm t rename /usr/share/sta...
Shell
#!/bin/sh # Create images for StarDict, like application icon, tray icons, Acrobat plugin icons # StarDict icons may be created from a single multilayer image. # Most layers are used only for specific icon types, but images of two books are present # on all icons. This script deletes layers, resize image and change co...
Shell
#!/bin/bash gcc `pkg-config --cflags --libs glib-2.0` ooo2dict.c -o ooo2dict echo |./ooo2dict 2>/dev/null recode latin1..utf-8 </usr/share/myspell/dicts/th_de_DE_v2.dat >th_de_DE_v2.dat.utf echo "OpenThesaurus.de_German" |./ooo2dict th_de_DE_v2.dat.utf 2>/dev/null recode latin1..utf-8 </usr/share/myspell/dicts/th_it_...
Shell
#!/bin/bash recode latin1..utf-8 </usr/share/i2e/i2e.dict >i2e.dict.utf gcc -g `pkg-config --cflags --libs glib-2.0` i2e2dict.c -o i2e2dict ./i2e2dict rm i2e.dict.utf echo "Restart StarDict now!"
Shell
#!/bin/sh echo "Boostrapping StarDict tools..." (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have libtool installed to compile Stardict"; echo; exit; } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile Stardict"; ech...
Shell
#!/bin/sh echo "Bootstrapping StarDict root..." # (libtoolize --version) < /dev/null > /dev/null 2>&1 || { # echo; # echo "You must have libtool installed to compile StarDict"; # echo; # exit; # } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile Sta...
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-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#!/bin/sh # postinst script for stardict set -e case "$1" in configure) # if [ -e /etc/gconf/schemas/stardict.schemas ]; then # HOME=/root \ # GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ # /usr/bin/gconftool-2 \ # --makefile-install-rule /etc/gconf/schemas/stardict.schemas ...
Shell
#!/bin/sh # postrm script for stardict set -e case "$1" in remove) # if [ -x /usr/bin/scrollkeeper-update ]; then # /usr/bin/scrollkeeper-update -q # fi ;; purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'"...
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. echo "Boostrapping StarDict dictionary..." srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="stardict" REQUIRED_AUTOMAKE_VERSION=1.9 (test -f $srcdir/configure.ac \ && test -f $srcdir/ChangeLog \ && test -d $srcdir/src) || { echo -n ...
Shell
#!/bin/sh echo "Boostrapping common lib..." (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have libtool installed to compile common lib"; echo; exit; } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile common lib"; ech...
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell