code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.UploadDemo $*
| Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.FolderSettingsDemo $*
| Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.CreateFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.SignupDemo $* | Shell |
convert -size 256x256 canvas:none -fill black -draw 'circle 127.5,127.5 0,127.5' circle.png
convert -size 512x512 'radial-gradient:black-none' \
-sigmoidal-contrast 6,50% \
airbrush.png
| Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gmock-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gmock-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gtest-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gtest-config' script provides access to the necessary compile and linking
flag... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-12-04.11; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# 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 ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# 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 list of condit... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# 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 list of condit... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-12-04.11; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# 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 ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
java -Xmx5000m -jar ./The-Muffin-Project.jar | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
#
# Copyright 2013 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/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | Shell |
#!/bin/sh
if ps aux | grep -v grep | grep -v checkInvoker | grep -i adwhirl | grep -i Invoker > /dev/null
then
:
else
INSTANCE=`curl -s http://169.254.169.254/2007-03-01/meta-data/instance-id`
HOSTNAME=`curl -s http://169.254.169.254/2007-03-01/meta-data/public-hostname`
DATE=`date`
echo -e "AdWhirl Invok... | Shell |
#!/bin/bash
function print_help {
echo 'Usage: adwhirl [start_invoker|start_daemon|stop_invoker|stop_daemon|stop_all]'
echo ''
exit 1
}
if [ $# -gt 1 ] || [ $# -eq 0 ]; then
print_help
fi
command=$1
function start_invoker {
ulimit -n 819200
java -server -Xms256m -Xmx1024m -cp adwhirl.jar Invoker... | Shell |
#!/bin/sh
if ps aux | grep -v grep | grep java | grep Daemon > /dev/null
then
:
else
echo "AdWhirl Daemon is down" | mail -s "**PROBLEM - AdWhirl Daemon is CRITICAL" jpincar@admob.com #page-adwhirl@admob-moat.pagerduty.com #page-adwhirl@yell.admob.com
fi
| 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
set -e
./runant war
third_party/appengine-sdk/sdk/bin/appcfg.sh update build/war
| Shell |
#!/bin/bash
# Sample shell script for invoking ant.
# Copy to a new file and fill in the values below.
# To keep the secret secret, don't share your runant script.
ant -Dapp-id='your-app-id' \
-Dapp-version='1' \
-Doauth-client-id='your-oauth-client-id' \
-Doauth-client-secret='your-oauth-client-secret' \... | Shell |
#!/bin/bash
# Copyright (C) 2011 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 to... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
gcc -Wall -Wextra -O -ansi -pedantic -shared random.c -o random.so
python use_random.py
| Shell |
rm ./a.out
rm ../list.so
gcc -lm -Wall -Wextra -pedantic test_driver.c
gcc -lm -Wall -Wextra -O3 -pedantic -shared LinkedList.c LinkedList.h -o list.so
mv list.so ../
| Shell |
#!/system/bin/sh
DIR=/data/data/org.proxydroid
type=$2
host=$3
port=$4
auth=$5
user=$6
pass=$7
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
case $type in
http)
case $auth in... | Shell |
#!/bin/bash
##Script to generate the nettrust xpi installer
##
rm nettrust.xpi
rm /tmp/nettrust.zip
#zip -r /tmp/nettrust.zip *
zip -r /tmp/nettrust.zip * -x *.svn*
mv /tmp/nettrust.zip nettrust.xpi
| Shell |
#!/bin/bash
##Script to generate the nettrust xpi installer
##
rm nettrust.xpi
rm /tmp/nettrust.zip
#zip -r /tmp/nettrust.zip *
zip -r /tmp/nettrust.zip * -x *.svn*
mv /tmp/nettrust.zip nettrust.xpi
| 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 t... | Shell |
#!/bin/bash
absolute_dir=${PWD}/`dirname $0`
PKGDIR=./pkg
PYTHONHOME=/usr/local/python2.6
py_exec_path=~/bin
select_pgk() {
array=(`ls ${CWD}/${PKGDIR}`)
length=${#array[@]}
for ((i=0;i<$length;i++));
do
echo "$i ${array[i]}"
done
echo -n "input your choice:"
read choice
echo "choice is $choice"
}
echo $absol... | Shell |
#!/bin/bash
absolute_dir=${PWD}/`dirname $0`
PKGDIR=./pkg
PYTHONHOME=/usr/local/python2.6
py_exec_path=~/bin
select_pgk() {
array=(`ls ${CWD}/${PKGDIR}`)
length=${#array[@]}
for ((i=0;i<$length;i++));
do
echo "$i ${array[i]}"
done
echo -n "input your choice:"
read choice
echo "choice is $choice"
}
echo $absol... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#!/bin/bash
#
# Starts a basic web server on the port specified.
#
# ./serve.sh 3000 -> http://localhost:3000
#
# Copyright 2012 Eric Bidelman <ebidel@gmail.com>
port=$1
if [ $# -ne 1 ]
then
port=8000
fi
open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
| Shell |
#!/bin/bash
# call me with the folder name in argument, without /
filename="$1.amarokscript.tar"
tar cf "$filename" -p "$1"/
bzip2 "$filename"
| Shell |
#!/bin/bash
# call me with the folder name in argument, without /
filename="$1.amarokscript.tar"
tar cf "$filename" -p "$1"/
bzip2 "$filename"
| Shell |
#!/bin/bash
TEMP="/formDef.json"
if [ "$1" ]; then
for f in "$@"
do
TEMP2="${f%/*.xlsx}"
if [ -f $TEMP2$TEMP ]; then
rm $TEMP2$TEMP
fi
base64 $f | /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc macGenConverter.js >> $TEMP2$TEMP
d... | Shell |
#!/bin/bash
rm -R -v /Library/WebServer/Documents/FORM
mkdir -p /Library/WebServer/Documents/FORM
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $DIR
cp -a -v -R ${DIR}/form-files/ /Library/WebServer/Documents/FORM
rm /Library/WebServer/Documents/FORM/copy.bat
rm /Library/WebServer/Documents/FORM/copyMnt.... | 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/sh
#
# onto_id = 139 "Disaster AO"
#
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar:.lib/aotClient.jar:./lib/gate.jar:./lib/jdom.jar:./lib/ontotext.jar:./lib/jasper-compiler-jdt.jar -... | Shell |
#!/bin/sh
# student 29
#java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar topindex.Index 139 1 5 0.5 10 "192.168.0.101:3306/ksnetcontext?useUnicode=true&characterEncoding=UTF-8" michael 12345 1... | Shell |
#!/bin/sh
#
# onto_id = 139 "Disaster AO"
#
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar:.lib/aotClient.jar:./lib/gate.jar:./lib/jdom.jar:./lib/ontotext.jar:./lib/jasper-compiler-jdt.jar -... | Shell |
#!/bin/sh
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar Ontology.Slicing
| Shell |
#!/bin/sh
#
# onto_id = 139 "Disaster AO"
#
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar:.lib/aotClient.jar:./lib/gate.jar:./lib/jdom.jar:./lib/ontotext.jar:./lib/jasper-compiler-jdt.jar -... | Shell |
#!/bin/sh
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar topindex.Index 139 0 5 0.5 10 "192.168.0.101:3306/ksnetcontext?useUnicode=true&characterEncoding=UTF-8" michael 12345 192.168.0.29 'e... | Shell |
#!/bin/sh
# student 29
#java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar topindex.Index 139 1 5 0.5 10 "192.168.0.101:3306/ksnetcontext?useUnicode=true&characterEncoding=UTF-8" michael 12345 1... | Shell |
#!/bin/sh
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar Ontology.Slicing
| Shell |
#!/bin/sh
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar topindex.Index 139 0 5 0.5 10 "192.168.0.101:3306/ksnetcontext?useUnicode=true&characterEncoding=UTF-8" michael 12345 192.168.0.29 'e... | Shell |
#
# Compile installer version by IzPack
#
#/opt/izpack/bin/compile install.xml -o release/edoc-setup-0.1.04.jar
/opt/izpack/bin/compile install.xml -h /opt/izpack/ -o release/edoc-setup-0.1.04.jar
echo "See result .jar in the folder release/"
| Shell |
#!/bin/sh
#
# onto_id = 139 "Disaster AO"
#
java -cp ./dist/edoc.jar:./lib/edoc.jung.jar:./lib/kleinberg.jar:./lib/commons-collections-3.1.jar:./lib/colt.jar:./lib/mysql-connector-java-5.1.0-bin.jar:./lib/class_icons.jar:.lib/aotClient.jar:./lib/gate.jar:./lib/jdom.jar:./lib/ontotext.jar:./lib/jasper-compiler-jdt.jar -... | Shell |
#!/bin/bash
mntdir="mountdir"
loopdev="testblock"
cleanup () {
sudo umount -v "$mntdir"
sudo rmmod -v vvsfs
rmdir -v "$mntdir"
rm -v "$loopdev"
}
if [ "$1" == "down" ]; then
cleanup
exit 0
fi
cusdir=/usr/src/linux
[ -n "$KSRCDIR" ] && cusdir="$KSRCDIR"
make KSRCDIR="$cusdir" all || exit 1
dd if=/dev/zero of="$... | Shell |
#!/bin/bash
cat <<EOM | cat
blah
EOM
#| tee
| Shell |
#!/bin/bash
set -ex
python -c 'import sys; print sys.argv' $*
python -c 'import sys; print sys.argv' "$*"
python -c 'import sys; print sys.argv' $@
python -c 'import sys; print sys.argv' "$@"
| Shell |
gcc -o threaded-c threaded-c.c `pkg-config --cflags --libs glib-2.0` -std=c99 -Wall
| Shell |
#!/bin/bash
set -u
generate() {
for i in `seq 2 10000`; do
echo "$i"
done
}
filter() {
while read n; do
if [ $(($n % $1)) -ne 0 ]; then
echo "$n"
fi
done
}
dir=$(mktemp -d)
ch=0
mkfifo "$dir/$ch"
generate > "$dir/$ch" &
while true; do
exec 3<"$dir/$ch"
rea... | Shell |
#! /bin/bash
emerge --sync && \
layman -S && \
update-eix && \
emerge -vDNua world
| Shell |
#!/bin/bash
hamachi start
hamachi login && sleep 5
echo Joining Hamachi network...
hamachi join n00b69 && sleep 2
hamachi go-online n00b69 && sleep 2
hamachi get-nicks
echo Adding broadcast route...
sudo route add 255.255.255.255 dev ham0
hamachi list && \
echo Connected to Hamachi!
| Shell |
#!/bin/bash
tibwin=`xdotool search 'Tibia Player Linux'`
xdotool windowfocus $tibwin
xdotool key Down
| Shell |
#!/bin/bash
set -eux
g++ -o conway main.cpp -I ../../utility/c `sdl-config --cflags --libs` -l boost_thread-mt
| Shell |
#!/bin/bash
startdir=$(pwd)
cd dir
prove -fr "../pjd-fstest-20080816/tests/$1"
cd "$startdir"
| Shell |
#!/bin/bash
clean_up() {
fusermount -u dir
}
quit_signal() {
echo 'caught signal!'
clean_up
exit
}
trap clean_up SIGHUP SIGINT SIGTERM
./mount.clfs dev dir
clean_up
| Shell |
#!/bin/bash
build_package() {
rm -rf sandbox
make DESTDIR=sandbox install
cp -r DEBIAN sandbox/
rm -rf sandbox/DEBIAN/.svn
dpkg -b sandbox/ .
}
if [ "$1" == "install" ]; then
build_package
exit 0
fi
autoreconf -i
./configure --prefix=/usr
make
fakeroot $0 install
| Shell |
#! /bin/sh
if [ "$ICSCROWDAPIKEY" != "" ]
then
echo "Generating new translation archives"
fetch -q -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY
fi
echo "Fetch translation archive"
fetch -q http://crowdin.net/download/project/ics-openvpn.zip
langtoinclude="ca cs de es et fr id ... | Shell |
#! /bin/bash
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU lzo 2.03)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-04-16.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | 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-2011 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
# Generated from ltmain.m4sh.
# libtool (GNU libtool) 2.2.10
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. T... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# 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 ... | Shell |
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
scriptversion=2010-08-21.06; # UTC
# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009, 2010
# Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# 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@g... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2010-11-15.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it un... | Shell |
#!/bin/sh
# py-compile - Compile a Python program
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 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 published by
... | Shell |
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2010-02-06.18; # UTC
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
# 2007, 2009, 2010 Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it a... | Shell |
#! /bin/sh
set -e
#
# usage: util/overlap.sh [directory]
#
# This script runs the overlap example program on a complete directory tree.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
OVERLAP="overlap"
test -x ./examples/overlap && OVERLAP="./examples/overlap"
test -x ./overlap.exe && OVERLAP="./o... | Shell |
#! /bin/sh
set -e
#
# usage: util/check.sh [directory]
#
# This script runs lzotest with all algorithms on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest... | Shell |
#! /bin/sh
set -e
#
# usage: util/checkasm.sh [directory]
#
# This script runs lzotest with all assembler decompressors
# on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST=... | Shell |
#! /bin/sh
# vi:ts=4:et
# Copyright (C) 1996-2011 Markus F.X.J. Oberhumer
rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out
true
| Shell |
#! /bin/sh
# vi:ts=4:et
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
LZO_CFG_FREESTANDING=1
. $top_srcdir/B/generic/build.sh
| Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Copyright (C) 1996-2011 Markus F.X.J. Oberhumer"
echo "//"
echo "// Generic Posix/Unix system"
echo "// Generic C compiler"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
test "X${AR}" = X && AR="ar"
test "X${CC}" = X && CC="cc"
test "X${CFLAGS+... | Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Using GNU C compiler."
echo "//"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
UNAME_MACHINE=unknown
CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
CFLAGS="-Wall -O2 -fomit-frame-pointer"
# delete the next line to disable assembler support
UNAME_MACHINE... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.