code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
#
set -e
export LANG=C
export LC_ALL=C
PROGDIR=$(dirname "$0")
PROGNAME=$(basename "$0")
panic () {
echo "ERROR: $@"
exit 1
}
VERBOSE=1
# Dump message is $VERBOSE >= $1
# $1+: message.
dump_n () {
local LOG_LEVEL=$1
shift
if [ "$VERBOSE" -ge "$LOG_LEVEL" ]; then
printf "%s\n" "$@"
fi
}
#... | Shell |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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 |
#!/bin/sh
#
# CA - wrapper around ca to make it easier to use ... basically ca requires
# some setup stuff to be done before you can use it and this makes
# things easier between now and when Eric is convinced to fix it :-)
#
# CA -newca ... will setup the right stuff
# CA -newreq ... will generate a certific... | Shell |
#!/bin/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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 |
#!/bin/sh
#
# build using pthreads where it's already built into the system
#
/bin/rm -f mttest
gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
| Shell |
#!/bin/sh
#
# build using pthreads
#
# http://www.mit.edu:8001/people/proven/pthreads.html
#
/bin/rm -f mttest
pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
/bin/rm -f mttest
purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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 |
#!/bin/sh
if [ "$1" = "" ]; then
key=../apps/server.pem
else
key="$1"
fi
if [ "$2" = "" ]; then
cert=../apps/server.pem
else
cert="$2"
fi
ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert"
if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key... | Shell |
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@"
OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@"
OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@"
OPENVPN_PACKAGE_HOST="@host@"
| Shell |
#!@SHELL@
#
# run OpenVPN client against ``test reference'' server
# - check that ping, http, ... via tunnel works
# - check that interface config / routes are properly cleaned after test end
#
# prerequisites:
# - openvpn binary in current directory
# - writable current directory to create subdir for logs
# - t_client... | Shell |
#! /bin/sh
#
# t_cltsrv.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005, 2006, 2008 Matthias Andree
#
# 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 th... | Shell |
#! /bin/sh
echo "${role}:${signal}" >&3
| Shell |
#! /bin/sh
#
# t_lpback.sh - script to test OpenVPN's crypto loopback
# Copyright (C) 2005 Matthias Andree
# Copyright (C) 2014 Steffan Karger
#
# 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;... | Shell |
#!/bin/sh
# Sample script to perform OCSP queries with OpenSSL
# given a certificate serial number.
# If you run your own CA, you can set up a very simple
# OCSP server using the -port option to "openssl ocsp".
# Full documentation and examples:
# http://www.openssl.org/docs/apps/ocsp.html
# Edit the following val... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically removes the /etc/resolv.conf entries previously
# set by the companion script "cl... | Shell |
#!/bin/sh
# Copyright (c) 2005-2010 OpenVPN Technologies, Inc.
# Licensed under the GPL version 2
# First version by Jesse Adelman
# someone at boldandbusted dink com
# http://www.boldandbusted.com/
# PURPOSE: This script automatically sets the proper /etc/resolv.conf entries
# as pulled down from an OpenVPN server.... | Shell |
#!/bin/sh
#
# Bring down vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# clear routing via VPN
ip route del "$remote_network"/"$remote_netmask_bits" via "$5" table vpn.out
ip route del table vpnonly.out via "$5"
iptabl... | Shell |
#!/bin/sh
#
# Bring up vpn routing.
# calculate the network address
remote_network=`ipcalc -n "$remote"/"$remote_netmask_bits"`
remote_network="${remote_network#*=}"
# add the stuff that doesn't change if it's not already there
grep -q '^202 ' /etc/iproute2/rt_tables
if [ "$?" -ne 0 ]
then
echo 202 vpn.out >> /e... | Shell |
#!/bin/sh
#
# openvpn This shell script takes care of starting and stopping
# openvpn on RedHat or other chkconfig-based system.
#
# chkconfig: 345 24 76
#
# description: OpenVPN is a robust and highly flexible tunneling application \
# that uses all of the encryption, authentication, a... | Shell |
#!/bin/sh
### BEGIN INIT INFO
# Provides: openvpn
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: This shell script takes care of starting and stopping OpenVP... | Shell |
#!/bin/sh
#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged... | Shell |
#!/bin/sh
####################################
# Tear Down Ethernet bridge on Linux
####################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged together
tap="tap0"
ifconfig $br down
brctl delbr $br
for t in $tap; do
openvpn --rmtun --dev $t
done
| Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../../include}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -... | Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../..}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -c $1.c &... | Shell |
#!/bin/sh
#
# Build an OpenVPN plugin module on *nix. The argument should
# be the base name of the C source file (without the .c).
#
# This directory is where we will look for openvpn-plugin.h
CPPFLAGS="${CPPFLAGS:--I../../../include}"
CC="${CC:-gcc}"
CFLAGS="${CFLAGS:--O2 -Wall -g}"
$CC $CPPFLAGS $CFLAGS -fPIC -... | Shell |
#!/bin/sh
# A Sample OpenVPN-aware firewall.
# eth0 is connected to the internet.
# eth1 is connected to a private subnet.
# Change this subnet to correspond to your private
# ethernet subnet. Home will use HOME_NET/24 and
# Office will use OFFICE_NET/24.
PRIVATE=10.0.0.0/24
# Loopback address
LOOP=127.0.0.1
# De... | Shell |
#!/bin/sh
# stop all openvpn processes
killall -TERM openvpn
| Shell |
#!/bin/sh
route add -net 10.0.0.0 netmask 255.255.255.0 gw $5
| Shell |
#!/bin/sh
# A sample OpenVPN startup script
# for Linux.
# openvpn config file directory
dir=/etc/openvpn
# load the firewall
$dir/firewall.sh
# load TUN/TAP kernel module
modprobe tun
# enable IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
# Invoke openvpn for each VPN tunnel
# in daemon mode. Alternative... | Shell |
#!/bin/sh
route add -net 10.0.1.0 netmask 255.255.255.0 gw $5
| 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
#
# 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/sh
rm -rf dist/AlbumArt.wdgt
cp -pr AlbumArt.wdgt dist
find dist/AlbumArt.wdgt -name .svn -exec rm -rf {} \;
cp -pr AlbumArtPlugin/build/Deployment/AlbumArtPlugin.widgetplugin dist/AlbumArt.wdgt/
| Shell |
#!/bin/sh
rm -rf dist/AlbumArt.wdgt
cp -pr AlbumArt.wdgt dist
find dist/AlbumArt.wdgt -name .svn -exec rm -rf {} \;
cp -pr AlbumArtPlugin/build/Deployment/AlbumArtPlugin.widgetplugin dist/AlbumArt.wdgt/
| Shell |
#!/bin/sh
if [ $# -eq 1 ]
then
msginit --input=cherrytree.pot --locale=$1
else
echo "Please provide the language code as one and only argument (e.g. 'es' for Spanish)"
fi
| Shell |
#!/bin/sh
cd ..
intltool-extract --type=gettext/glade glade/cherrytree.glade
xgettext --language=Python --from-code=utf-8 --keyword=_ --keyword=N_ --output=locale/cherrytree.pot modules/support.py modules/findreplace.py modules/core.py modules/tablez.py modules/codeboxes.py modules/cons.py modules/imports.py glade/c... | Shell |
#!/bin/sh
dpkg-buildpackage -b -d -tc
| 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/sh
rm -f dataio.o i18n.o io.o list.o math.o strbuf.o string.o sys.o textio.o libcoree.3.1.so libcoree.3.0.so libcoree.3.so libcoree.so
| Shell |
#!/bin/sh
install native/libcore.3.1.so native/libcore.3.0.so native/libcore.3.so native/libcore.so /lib
install libcoree.3.1.so libcoree.3.0.so libcoree.3.so libcoree.so /lib
install builtin.eh connection.eh dataio.eh dict.eh dl.eh error.eh func.eh i18n.eh io.eh list.eh math.eh pipe.eh rnd.eh strbuf.eh string.eh sys.... | Shell |
#!/bin/sh
ec dataio.e -o dataio.o
ec io.e -o io.o
ec list.e -o list.o
ec math.e -o math.o
ec strbuf.e -o strbuf.o
ec string.e -o string.o
ec sys.e -o sys.o
ec textio.e -o textio.o
env "LIBPATH=native/" el dataio.o io.o list.o math.o strbuf.o sys.o textio.o -o libcoree.3.1.so -slibcoree.3.so
echo '#=libcoree.3.1.so' > ... | Shell |
#!/bin/sh
echo 'Updating installscripts...'
cd ../installscripts/install
# Create empty directories in case git got rid of them
mkdir -p bin lib cfg res dev tmp home cfg/pkg/db/sources cfg/pkg/db/lists
arh c install.arh *
cd -
mv ../installscripts/install/install.arh res/
echo 'Updating library symbols...'
cp ../lib... | Shell |
#!/bin/sh
prefix="@prefix@"
exec_prefix="@exec_prefix@"
exec_prefix_set=no
usage="\
Usage: libmpq-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
if test "$#" -eq "0"; then
echo "${usage}" 1>&2
exit 1
fi
while test "$#" -gt "0"; do
case "$1" in
-*=*) optarg=`echo "$1" ... | Shell |
#!/bin/sh
#
echo "Generating build information using aclocal, autoheader, automake and autoconf"
echo "This may take a while ..."
# Touch the timestamps on all the files since CVS messes them up
directory=`dirname $0`
touch $directory/configure.ac
# Regenerate configuration files
libtoolize --copy
aclocal
autoheader
... | Shell |
#! /bin/bash
while true
do
PID1=$(pidof oregon-core)
if (( PID1 < 1 ))
then
/etc/init.d/oregon start-core
fi
PID2=$(pidof oregon-realm)
if (( PID2 < 1 ))
then
/etc/init.d/oregon start-realm
fi
sleep 10
done
| Shell |
#! /bin/bash
OREGON_DIR='/opt/oregon/';
RETVAL=0;
start(){
screen -AmdS oregon_restarter ${OREGON_DIR}restarter
}
stop(){
screen -dr oregon_restarter -X "quit"
}
start-realm(){
screen -AmdS oregon_realm ${OREGON_DIR}bin/oregon-realm -c ${OREGON_DIR}etc/oregonrealm.conf
}
stop-realm(){
screen -dr oregon_realm -X... | Shell |
chmod +x oregon restarter
cp oregon /etc/init.d/
cp restarter /opt/oregon/
| Shell |
#!/bin/bash
# Trinity Server
# autorestart Script
while :
do
echo "TrinityCore daemon restarted"
echo `date` >> crash.log &
./mangosd | tail -n 20 >> crash.log
echo " " >> crash.log &
pid=`ps ax | awk '($5 ~ /trinitycore/) { print $1 }'`
wait $pid
echo `date` ", TrinityCore daemon crashed and restarted.... | Shell |
#!/bin/bash
# Massive Network Game Object Server
# Monitoring Script
pid=`ps ax | awk '($5 ~ /mangos-worldd/) { print $1 }'`
cpu=`top -b -n 1 -p $pid | awk '($12 ~ /mangos-worldd/) { print $9 }'`
#echo $pid
#echo $cpu
intcpu=${cpu%.*}
#echo $intcpu
if [ "$intcpu" -gt "95" ]
then
kill -9 $pid
echo "Killed MaNGOS for ... | Shell |
#!/bin/sh
# rough
export PATH=$PATH:$JAVA_HOME/bin
base=`dirname $0`
export ALLOCATION_JAR=$base/lib/allocation.jar
exec java -cp $base/lib/caliper-@VERSION@.jar:$ALLOCATION_JAR:$CLASSPATH com.google.caliper.Runner $*
| Shell |
#!/bin/sh
# Copyright 2011 Cooliris, 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
# Copyright 2011 Cooliris, 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
# Copyright 2011 Cooliris, 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
# Copyright 2011 Cooliris, 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
# Copyright 2011 Cooliris, 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
# Copyright 2011 Cooliris, 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
# generate sql query that indicates that NEWWHLOCCODE is one among the pattern 4 letters and seven digits and OLDWHLOCCODE is not one among the pattern
# four letters and seven digits or LU series.
#echo "select UNITCODE, UBY, UDATE, OLDWHCODE, NEWWHCODE, OLDWHLOCCODE, NEWWHLOCCODE, ACTCODE from hylte WH... | Shell |
#!/bin/bash
# generate sql query that indicates that NEWWHLOCCODE is one among the pattern 4 letters and seven digits and OLDWHLOCCODE is not one among the pattern
# four letters and seven digits or LU series.
#echo "select UNITCODE, UBY, UDATE, OLDWHCODE, NEWWHCODE, OLDWHLOCCODE, NEWWHLOCCODE, ACTCODE from hylte WH... | Shell |
#!/bin/bash -e
base=~/workspace/project/Minijava;
#1=${base}/src/lab4/TrivialTest.java
if [ $# -eq 1 ]; then
file=${base}/src/lab4/$1
else
file=${base}/src/lab4/TrivialTest.java
fi
echo $file
javac -cp ${base}/bin CodeGenerator.java -d ${base}/bin
java -cp ${base}/bin:${base}/lib/lexerParser.jar Main "$file" > "... | Shell |
#!/bin/bash -e
base=~/workspace/project/Minijava;
#1=${base}/src/lab4/TrivialTest.java
if [ $# -eq 1 ]; then
file=${base}/src/lab4/$1
else
file=${base}/src/lab4/TrivialTest.java
fi
echo $file
javac -cp ${base}/bin CodeGenerator.java -d ${base}/bin
java -cp ${base}/bin:${base}/lib/lexerParser.jar Main "$file" > "... | Shell |
#!/bin/bash -e
temp=$(mktemp);
for file in $@
do
echo "package lab4;" > $temp;
echo "" >> $temp;
cat "$file" >> $temp;
# overwrite the original
cp "$temp" "$file";
done
| Shell |
#!/bin/bash -e
temp=$(mktemp);
for file in $@
do
echo "package lab4;" > $temp;
echo "" >> $temp;
cat "$file" >> $temp;
# overwrite the original
cp "$temp" "$file";
done
| Shell |
#!/bin/bash -e
cd ~/workspace/Thesis/src
javac -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/src foundation/UnitTable.java -d /home/albertnet/workspace/Thesis/bin
java -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/bin foundation/UnitTable
| Shell |
#!/bin/bash -e
cd ~/workspace/Thesis/src
javac -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/src foundation/UnitTable.java -d /home/albertnet/workspace/Thesis/bin
java -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/bin foundation/UnitTable
| Shell |
#!/bin/bash -e
cd ~/workspace/Thesis/src
javac -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/src gui/Thesis.java -d /home/albertnet/workspace/Thesis/bin
java -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/bin gui/Thesis
| Shell |
#!/bin/bash -e
cd ~/workspace/Thesis/src
javac -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/src gui/Thesis.java -d /home/albertnet/workspace/Thesis/bin
java -cp .:/home/albertnet/bin/*:/home/albertnet/workspace/Thesis/bin gui/Thesis
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.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=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
# install - install a program, script, or datafile
scriptversion=2009-04-28.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 |
#!/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/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 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 GNU General Public License as published by
# the F... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# 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
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | 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
# install - install a program, script, or datafile
scriptversion=2009-04-28.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
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (anymote) 0.1
# Libtool was configured on host timberline.bld.corp.google.com:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 20... | Shell |
#!/bin/sh
# Before using, you should figure out all the .m4 macros that your
# configure.m4 script needs and make sure they exist in the m4/
# directory.
#
# These are the files that this script might edit:
# aclocal.m4 configure Makefile.in src/config.h.in \
# depcomp config.guess config.sub install-sh missing ... | Shell |
#!/usr/bin/env bash
#################################################################
# TV-MAXE 0.07 Launcher Script #
# Author : V3n3RiX [ at ] MandrivaUsers [ dot ] ro #
#################################################################
# Version 0.07 comes with massive amount of changes, so old settings
# might ... | 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/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
#!/bin/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
# !/bin/bash
for pofile in `ls *.po` ;
do
base=${pofile/\.po/}
sed -e "s/##filename##/${base}.mo/g" ${pofile} > "${pofile}.tmp"
msgfmt --statistics --verbose -o "${base}.mo" "${pofile}.tmp" && rm -f "${pofile}.tmp"
done
| Shell |
#!/bin/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
#!/bin/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
#!/bin/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
#!/bin/sh
LANG=en_US.UTF8
phing $*
exit $?
| Shell |
# !/bin/bash
for pofile in `ls *.po` ;
do
base=${pofile/\.po/}
sed -e "s/##filename##/${base}.mo/g" ${pofile} > "${pofile}.tmp"
msgfmt --statistics --verbose -o "${base}.mo" "${pofile}.tmp" && rm -f "${pofile}.tmp"
done
| Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF_FILE=mupdf-snapshot-20111207.tar.gz
MUPDF=mupdf
#MUPDF_FILE=mupdf-0.9-source.tar.gz
#MUPDF=mupdf-0.9
FREETYPE=freetype-2.4.6
OPENJPEG=openjpeg_v1_4_sources_r697
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8a.tar.gz
JPEGDIR=jpeg-8a
cd $SCRIPTDIR/../de... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/bash
# bluez-register-psmove
# Copyright (c) 2012-01-05 Thomas Perl <thp.io/about>
# ---------------------
# Add an entry to bluetoothd configuration files for the PS Move Motion
# Controller to be recognized. This also works for Sixaxis controllers.
#
# Inspired by Bastien Nocera's patch against Bluez ("cable" ... | Shell |
#!/bin/sh
# OS X: Make the shared library embeddable into an application bundle
# Thomas Perl <m@thp.io>; 2012-08-12
SHARED_LIBRARY=libpsmoveapi.2.0.0.dylib
install_name_tool -id \
"@executable_path/../Frameworks/$SHARED_LIBRARY" \
../build/$SHARED_LIBRARY
otool -D ../build/$SHARED_LIBRARY
| Shell |
export GI_TYPELIB_PATH=`pwd`:$GI_TYPELIB_PATH
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.