code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /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
g++ Render.cpp -o Render
./Render testreflect.nff test2.ppm
eog test2.ppm
| Shell |
#!/bin/bash
g++ Render.cpp -o Render
./Render testreflect.nff test2.ppm
eog test2.ppm
| Shell |
#!/bin/sh
# Entry point for Sigil on Unix systems.
# Adds the directory the Sigil executable is located
# in to the LD_LIBRARY_PATH so the custom Qt libs
# are recognized and loaded.
appname=$(basename "$0" | sed 's,\.sh$,,')
dirname=$(dirname "$0")
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname... | Shell |
# Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, 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 the Free
# Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will b... | Shell |
#! /bin/sh
rm -f TAGS
filter='\.cc$\|\.c$\|\.h$\|\.yy$'
list="find . -type f"
bzr root >/dev/null 2>/dev/null && list="bzr ls --kind=file --versioned"
$list |grep $filter |while read f;
do
etags -o TAGS --append $f
done
| Shell |
#
# MySQL-shared-compat.spec
#
# RPM build instructions to create a "meta" package that includes two
# versions of the MySQL shared libraries (for compatibility with
# distributions that ship older versions of MySQL and do not provide a
# separate "MySQL-shared" package. This spec file simply repackages two
# already e... | Shell |
#!/bin/sh
#
# /Library/StartupItems/MySQLCOM/MySQLCOM
#
# A script to automatically start up MySQL on system bootup
# for Mac OS X. This is actually just a wrapper script around
# the standard mysql.server init script, which is included in
# the binary distribution.
#
# (c) 2003 MySQL AB
# Written by Lenz Grimmer <lenz... | Shell |
#!/bin/sh
if [ -z "$CWINSTALL" ] ; then
echo "ERROR: You need to source 'mwvars' to set CWINSTALL and other variables"
exit 1
fi
if [ `expr "$MWMacOSXPPCLibraryFiles" : ".*BSD.*"` = 0 ] ; then
echo "ERROR: You need to source 'mwvars' with the 'bsd' argument"
exit 1
fi
# ==============================... | Shell |
#!/bin/sh
#
# postinstall script for the MySQL Startup Item Installation package
#
# This script modifies /etc/hostconfig in the following ways:
#
# - On Mac OS X Server, it disables the startup of the default MySQL
# installation by changing the "MYSQL" start variable to "-NO-".
# - If not existent already, it adds ... | Shell |
#!/bin/sh
#
# postflight - this script will be executed after the MySQL PKG
# installation has been performed.
#
# This script will install the MySQL privilege tables using the
# "mysql_install_db" script and will correct the ownerships of these files
# afterwards.
#
if cd @prefix@ ; then
if [ ! -f data/mysql/db.frm ... | Shell |
#!/bin/sh
#
# postinstall script for the MySQL Startup Item Installation package
#
# This script modifies /etc/hostconfig in the following ways:
#
# - On Mac OS X Server, it disables the startup of the default MySQL
# installation by changing the "MYSQL" start variable to "-NO-".
# - If not existent already, it adds ... | Shell |
#!/bin/sh
# This script can only create a library, not take it apart
# again to AR files
case $1 in
-d*|-m*|-t*|-p*|-r*|-x*|x)
echo "$0: can't handle arguments $*"
exit 1;
;;
-c|c|cr|cru|cu)
shift;
;;
esac
exec mwld -lib -o $*
| Shell |
#!/bin/sh
#
# preflight - this script will be executed before the MySQL PKG
# installation will be performed.
#
# If this package has been compiled with a prefix ending with "mysql" (e.g.
# /usr/local/mysql or /opt/mysql), it will rename any previously existing
# directory with this name before installing the new packa... | Shell |
#!/bin/sh
#
# /Library/StartupItems/MySQLCOM/MySQLCOM
#
# A script to automatically start up MySQL on system bootup
# for Mac OS X. This is actually just a wrapper script around
# the standard mysql.server init script, which is included in
# the binary distribution.
#
# (c) 2003 MySQL AB
# Written by Lenz Grimmer <lenz... | Shell |
#!/bin/sh
if [ -z "$CWINSTALL" ] ; then
echo "ERROR: You need to source 'mwvars' to set CWINSTALL and other variables"
exit 1
fi
if [ `expr "$MWMacOSXPPCLibraryFiles" : ".*BSD.*"` = 0 ] ; then
echo "ERROR: You need to source 'mwvars' with the 'bsd' argument"
exit 1
fi
# ==============================... | Shell |
#!/bin/sh
#
# preflight - this script will be executed before the MySQL PKG
# installation will be performed.
#
# If this package has been compiled with a prefix ending with "mysql" (e.g.
# /usr/local/mysql or /opt/mysql), it will rename any previously existing
# directory with this name before installing the new packa... | Shell |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IFPkgDescriptionDeleteWarning</key>
<string></string>
<key>IFPkgDescriptionDescription</key>
<string>MySQL @VERSION@@MYSQL_SERVER_S... | Shell |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>MySQL @VERSION@@MYSQL_SERVER_SUFFIX@</string>
<key>OrderPreference</key>
<string>None</string>
<key>Prov... | Shell |
#!/bin/sh
#
# postflight - this script will be executed after the MySQL PKG
# installation has been performed.
#
# This script will install the MySQL privilege tables using the
# "mysql_install_db" script and will correct the ownerships of these files
# afterwards.
#
if cd @prefix@ ; then
if [ ! -f data/mysql/db.frm ... | Shell |
#!/bin/sh
# This script can only create a library, not take it apart
# again to AR files
case $1 in
-d*|-m*|-t*|-p*|-r*|-x*|x)
echo "$0: can't handle arguments $*"
exit 1;
;;
-c|c|cr|cru|cu)
shift;
;;
esac
exec mwld -lib -o $*
| Shell |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleGetInfoString</key>
<string>MySQL @VERSION@@MYSQL_SERVER_SUFFIX@</string>
<key>CFBundleIdentifier</key>
<string>com.mysql.m... | Shell |
#! /bin/sh
rm -f TAGS
filter='\.cc$\|\.c$\|\.h$\|\.yy$'
list="find . -type f"
bzr root >/dev/null 2>/dev/null && list="bzr ls --kind=file --versioned"
$list |grep $filter |while read f;
do
etags -o TAGS --append $f
done
| 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
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-11'
# This file is (in principle) common to ALL GNU software.
# The presence o... | 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, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-10'
# This file is free software; you can redistribute it and/or modify it
# und... | 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 |
#!/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
# 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/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/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/bash
# Adjust these to reflect the location of NUnit in your system,
# and how you want NUnit to run
NUNIT=~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe
NUNIT_OPTIONS=-noshadow
# The rest should be okay.
SRC=../src
LIB=../lib
KEYFILE=../keys/Google.ProtocolBuffers.snk
rm -rf bin
mkdir bin
# Runn... | Shell |
#!/bin/bash
echo Compiling protobufs
rm -rf tmp
mkdir tmp
PROTOS_DIR=../protos
./protoc --proto_path=$PROTOS_DIR --descriptor_set_out=tmp/compiled.pb \
$PROTOS_DIR/google/protobuf/descriptor.proto \
$PROTOS_DIR/google/protobuf/csharp_options.proto \
$PROTOS_DIR/google/protobuf/unittest.proto \
$PROTOS_DIR/goo... | Shell |
#!/bin/bash
MY_DIR=`pwd`
output=$1
mkdir -p ./test_coverage_temp
#Reset all execution counts to zero.
lcov --zerocounters --directory .
#Capture coverage data. Reset counters
#lcov --capture --initial --directory . --output-file app
# Now run your test app in the same directory
$MY_DIR/Log/log_test
lcov --no-checksu... | Shell |
#!/bin/bash
MY_DIR=`pwd`
output=$1
mkdir -p ./test_coverage_temp
#Reset all execution counts to zero.
lcov --zerocounters --directory .
#Capture coverage data. Reset counters
#lcov --capture --initial --directory . --output-file app
# Now run your test app in the same directory
$MY_DIR/Log/log_test
lcov --no-checksu... | Shell |
#!/bin/sh
# YAL zeldan
make clean
CHECKSTATIC=0 make
"./zdu_test${1}"
CHECKSTATIC=1 make
"./zdu_test${1}"
#.
| Shell |
#!/bin/sh
# YAL zeldan
find . -name '_*' -exec rm -rf {} \;
rm -f libzdu-* libzdu.a* libzdu.so*
#.
| Shell |
#!/bin/sh
# YAL zeldan
SYNTAX="syntax: $0 infile outfile"
INP="$1"
OUT="$2"
if [ -z "$1" ] ; then
echo "$SYNTAX"
exit 1
fi
if [ -z "$2" ] ; then
echo "$SYNTAX"
exit 1
fi
if [ -r "$1" ] ; then
`dirname $0`/pkg.sh < "$1" > "$2"
else
echo "# no pkg-config used" > "$2"
fi
| Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
BTN_PRE='\
<com.dornbachs.zebra.ColorButton android:layout_width=\"wrap_content\"\
android:layout_height=\"wrap_content\"\
zebra:color=\"'
BTN_POST='\"/>'
cat colors.html \
| grep "<\(/\?\)tr>\|<td.*</td>" \
| sed ... | Shell |
#!/bin/sh
if [ ! -e Versioning/set_version ]; then
gcc -o Versioning/set_version -w -framework Foundation Versioning/set_version.m
fi
REV="`/usr/local/subversion/bin/svn info | grep Revision | cut -f 2 -d ':' | cut -f 2 -d ' '`"
Versioning/set_version Info.plist Info.plist CFBundleVersion $REV
| Shell |
#!/bin/bash
pushd ../binaries
#Declare some variables:
#on Mac:
adt_directory="/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/bin"
cert_directory="../certificates"
provisioning_profile=${cert_directory}/YourProfileHere.mobileprovision
developer_identity=${cert_directory}/YourKeyHere.p12
platformSDK_directory="/Dev... | Shell |
#!/bin/bash
pushd ../
#Clean up the terrain from old packages:
rm -f -r binaries
#Create a directory to put our .ane and change to it:
mkdir binaries
pushd binaries
#Declare some variables:
#on Mac:
adt_directory="/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/bin"
native_code_directory="../EmailExtension/iOS/Ema... | 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
#
#{{IS_NOTE
# Purpose:
# To build java projects
# Description:
# 'build help' for more descriptions
# History:
# March 29 15:11 2001, Created by tomyeh
# August 21 13:59 2002, Rewritten by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2002 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
# This program is di... | Shell |
#!/bin/bash
# release
#
#{{IS_NOTE
# Purpose:
#
# Description:
#
# History:
# Mon Nov 14 14:29:09 2005, Created by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2005 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
#}}IS_RIGHT
#
stamp=$(date +%Y-%m-%d)
target=$1
setting=build.setting.local
if [ ! -f $setting ] ; t... | Shell |
#!/bin/bash
#
#{{IS_NOTE
# Purpose:
# To build java projects
# Description:
# 'build help' for more descriptions
# History:
# March 29 15:11 2001, Created by tomyeh
# August 21 13:59 2002, Rewritten by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2002 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
# This program is di... | Shell |
#!/bin/bash
# release
#
#{{IS_NOTE
# Purpose:
#
# Description:
#
# History:
# Mon Nov 14 14:29:09 2005, Created by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2005 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
#}}IS_RIGHT
#
stamp=$(date +%Y-%m-%d)
target=$1
setting=build.setting.local
if [ ! -f $setting ] ; t... | Shell |
#!/bin/bash
#
#{{IS_NOTE
# Purpose:
# To build java projects
# Description:
# 'build help' for more descriptions
# History:
# March 29 15:11 2001, Created by tomyeh
# August 21 13:59 2002, Rewritten by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2002 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
# This program is di... | Shell |
#!/bin/bash
# release
#
#{{IS_NOTE
# Purpose:
#
# Description:
#
# History:
# Mon Nov 14 14:29:09 2005, Created by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2005 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
#}}IS_RIGHT
#
stamp=$(date +%Y-%m-%d)
target=$1
setting=build.setting.local
if [ ! -f $setting ] ; t... | Shell |
#!/bin/bash
#
#{{IS_NOTE
# Purpose:
# To build java projects
# Description:
# 'build help' for more descriptions
# History:
# March 29 15:11 2001, Created by tomyeh
# August 21 13:59 2002, Rewritten by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2002 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
# This program is di... | Shell |
#!/bin/bash
# release
#
#{{IS_NOTE
# Purpose:
#
# Description:
#
# History:
# Mon Nov 14 14:29:09 2005, Created by tomyeh
#}}IS_NOTE
#
#Copyright (C) 2005 Potix Corporation. All Rights Reserved.
#
#{{IS_RIGHT
#}}IS_RIGHT
#
stamp=$(date +%Y-%m-%d)
target=$1
setting=build.setting.local
if [ ! -f $setting ] ; t... | Shell |
#!/bin/sh -x
PROJECT="gmail-delay-send"
USER="blairkutz@gmail.com"
ENV=dev
FILE_NAME="output/${PROJECT}.${ENV}"
echo "Combining and uploading files for $ENV"
rm -f ${FILE_NAME}
touch ${FILE_NAME}
for FILE in ../src/*
do
cat $FILE >> ${FILE_NAME}
done
python utils/googlecode_upload.py -s "Uploading for $ENV" -p ... | Shell |
#!/bin/sh
VERSION=BETA_0.7.3
git tag -f ${VERSION}
mkdir -f output
FILE_NAME=output/${VERSION}.combined
for FILE in ../src/downloaded/*
do
cat $FILE >> ${FILE_NAME}
done
| Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 1 ] ; do
if [ -f .stopserver ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./map-server
fi
sleep 5
done
| Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 3 ] ; do
if [ -f .stopserver3 ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./char-server
fi
sleep 5
done
| Shell |
#!/bin/bash
case "$1" in
map|char|login)
# Check for SQL postfix
if [ "$2" = "sql" ]; then
SERVER="$1-server_sql"
else
SERVER="$1-server"
fi
;;
*|""|help)
echo "Usage 1: ${0##*/} [server-type] [txt/sql]"
echo Server type can be map, login, or char. Examples:
echo "$ ./${0##*/} map"
echo "$ .... | Shell |
#!/bin/bash
case "$1" in
map|char|login)
# Check for SQL postfix
if [ "$2" = "sql" ]; then
SERVER="$1-server_sql"
else
SERVER="$1-server"
fi
;;
*|""|help)
echo "Usage 1: ${0##*/} [server-type] [txt/sql]"
echo Server type can be map, login, or char. Examples:
echo "$ ./${0##*/} map"
echo "$ .... | Shell |
#!/bin/sh
# athena starting script by rowla
# modified by shazeya@syafi.com (NL101541)
PATH=./:$PATH
L_SRV=login-server_sql
C_SRV=char-server_sql
M_SRV=map-server_sql
print_start() {
# more << EOF
echo "Athena Starting..."
echo " (c) 2003 Athena Project"
echo " modified by shazeya@syafi.co... | Shell |
#!/bin/bash
# modified by shazeya@syafi.com (NL130240)
./athena-start start
sleep 30
while [ true ]; do
if [ " 0" = "$(ps | grep -e log | wc -l)" ] ||
# if [ " 0" = "$(ps | grep -e login | wc -l)" ] ||
[ " 0" = "$(ps | grep -e char | wc -l)" ] ||
[ " 0" = "$(ps | grep -e map ... | Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 2 ] ; do
if [ -f .stopserver2 ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./login-server
fi
sleep 5
done
| Shell |
#!/bin/bash
# modified by shazeya@syafi.com (NL130240)
./athena-start start
sleep 30
while [ true ]; do
if [ " 0" = "$(ps | grep -e log | wc -l)" ] ||
# if [ " 0" = "$(ps | grep -e login | wc -l)" ] ||
[ " 0" = "$(ps | grep -e char | wc -l)" ] ||
[ " 0" = "$(ps | grep -e map ... | Shell |
#!/bin/sh
# athena starting script by rowla
# modified by shazeya@syafi.com (NL101541)
PATH=./:$PATH
L_SRV=login-server_sql
C_SRV=char-server_sql
M_SRV=map-server_sql
print_start() {
# more << EOF
echo "Athena Starting..."
echo " (c) 2003 Athena Project"
echo " modified by shazeya@syafi.co... | Shell |
#!/bin/bash
SRCPATH="../src/"
rm test_log test_pthread_log
g++ -o test_log "$SRCPATH"log.c test.c -lpthread -I "$SRCPATH"
g++ -o bench_test "$SRCPATH"log.c bench_test.c -lpthread -I "$SRCPATH"
g++ -o test_pthread_log "$SRCPATH"log.c thread_test.c -lpthread -I "$SRCPATH"
if ls *.access >/dev/null 2>/dev... | Shell |
#!/bin/bash
SRCPATH="../src/"
rm test_log test_pthread_log
g++ -o test_log "$SRCPATH"log.c test.c -lpthread -I "$SRCPATH"
g++ -o bench_test "$SRCPATH"log.c bench_test.c -lpthread -I "$SRCPATH"
g++ -o test_pthread_log "$SRCPATH"log.c thread_test.c -lpthread -I "$SRCPATH"
if ls *.access >/dev/null 2>/dev... | Shell |
#!/bin/bash
EXPECTED_ARGS=1
if [ $# == $EXPECTED_ARGS ]
then
IMG_PATH=pwd
echo "Assuming Default Locations for Prebuilt Images"
# need to allow f03ref*-ota-eng.* for all different product configuration
$0 $1 ${IMG_PATH}/$2 ${IMG_PATH}/$3 ${IMG_PATH}/$4
exit
fi
if [[ -z $1 || -z $2 || -z $3 || -z $4 ]... | Shell |
#!/bin/bash
if [ -e /sourcecode/ics_sources/standard-build/m3-ICS-mid/1.log ]; then
echo "zeke come heere----------------------zeke----------------------------"
fi | Shell |
build:
gcc dbus-ding-listen.c -L/lib -ldbus-1 -lglib-2.0 -ldbus-glib-1 -o listen
gcc dbus-ding-send.c -L/lib -ldbus-1 -lglib-2.0 -ldbus-glib-1 -o send | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.