code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#用户名
USERNAME='user'
#密码
PASSWORD='pass'
#其他参数(如--dev指定网卡,可运行zdclient -h查看详细参数)
ARGS=(--dhcp -b)
#---------------------------------------------------------------------
LOGFILE=/tmp/zdclient.log
echo Beginning Authentication...
zdclient $@ ${ARGS[@]} -u $USERNAME -p $PASSWORD 2>&1|tee -i "$LOGFILE"
pro... | Shell |
#!/bin/bash
#用户名
USERNAME='user'
#密码
PASSWORD='pass'
#其他参数(如--dev指定网卡,可运行zdclient -h查看详细参数)
ARGS=(--dhcp -b)
#---------------------------------------------------------------------
LOGFILE=/tmp/zdclient.log
echo Beginning Authentication...
zdclient $@ ${ARGS[@]} -u $USERNAME -p $PASSWORD 2>&1|tee -i "$LOGFILE"
pro... | Shell |
#!/bin/bash
INSTALL_PATH=/usr/bin
if [ `id -u` -ne 0 ]
then
echo "Need to be ROOT to run install."
exit 1
fi
if [ $# -eq 1 ]
then
INSTALL_PATH=$1
fi
if [[ -e 'zdclient' && -e 'runzdclient' ]]
then
echo $'\n#### Files intalling to '$INSTALL_PATH$' ####\n'
install -v -m 4755 -o root zdclient $INSTA... | Shell |
#!/bin/sh
#
if [ $# -ne 1 ]
then
echo "version !!!"
exit 1
fi
FILELIST="runzdclient zdclient install Readme.txt"
ARCH=`uname -m`
VER=$1
TARFILE=zdclient_bin_$VER\_$ARCH.tar.gz
make clean
make
tar cvfz $TARFILE $FILELIST
echo "Pack Done---> $TARFILE"
| Shell |
#!/bin/bash
INSTALL_PATH=/usr/bin
if [ `id -u` -ne 0 ]
then
echo "Need to be ROOT to run install."
exit 1
fi
if [ $# -eq 1 ]
then
INSTALL_PATH=$1
fi
if [[ -e 'zdclient' && -e 'runzdclient' ]]
then
echo $'\n#### Files intalling to '$INSTALL_PATH$' ####\n'
install -v -m 4755 -o root zdclient $INSTA... | 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/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
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
#!/bin/sh
#############################################################################
# Installation
#
# Small installation script
#
#############################################################################
# Server data
mkdir ./data/cache/ -m 0777
mkdir ./data/logs/ -m 0777
mkdir ./data/session/ -m 0777
mkdir .... | Shell |
#!/bin/sh
#############################################################################
# Installation
#
# Small installation script
#
#############################################################################
# Server data
mkdir ./data/cache/ -m 0777
mkdir ./data/logs/ -m 0777
mkdir ./data/session/ -m 0777
mkdir .... | Shell |
#!/bin/sh
case "$1" in
'start')
php /home/shared/www/zedmusic/application/scripts/zedmusic_server.php > /dev/null &
;;
'stop')
killall php \/home/shared/www/zedmusic/application/scripts/zedmusic_server.php
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
| Shell |
#!/bin/sh
case "$1" in
'start')
php /home/shared/www/zedmusic/application/scripts/zedmusic_server.php > /dev/null &
;;
'stop')
killall php \/home/shared/www/zedmusic/application/scripts/zedmusic_server.php
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
| Shell |
#!/bin/sh
#
# San Angeles Observation OpenGL ES version example
#
# This shell script builds the demo application
# with executable name "SanOGLES".
#
# Before running it, make sure that either libGLES_CM.so
# or libGLES_CL.so is available in the library path.
# Alternatively you can copy one of them to the same
# dire... | Shell |
#!/bin/ksh
# launcher script for jsdoc
# Author: Avi Deitcher
#
# This program is released under the MIT License as follows:
# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "... | 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
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
#!/bin/sh
JSOAR_HOME="../jsoar-build/dist"
export JSOAR_MAIN="org.jsoar.kernel.PerformanceTimer"
export JSOAR_OPTS="-server -Xmx512M"
$JSOAR_HOME/bin/jsoar $*
| Shell |
#!/bin/bash
# Sources a Soar file and runs it until it halt. Then prints timing stats and
# exits.
# Usage: perftimer.bat soarfile
HERE=`pwd`
JSOAR_HOME=$HERE/..
ARGS="-Xmx1000M -cp $JSOAR_HOME/../jsoar-build/dist/lib/jsoar-core-snapshot-20091119.jar org.jsoar.kernel.PerformanceTimer"
SERVER_ARGS="-server -XX:+DoEscap... | Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/sh
mkdir -p screen_capture.plugin/Contents/MacOS
cp -f Info.plist screen_capture.plugin/Contents
g++ -framework Cocoa -DMAC \
-DWEBKIT_DARWIN_SDK -Wno-write-strings -lresolv -arch i386 -bundle \
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 \
-o screen_capture.plugin/Contents/MacOS/scr... | Shell |
#!/bin/sh
if [ "$1" == "debug" ]; then
FLAG=-g
else
FLAG="-O2 -Xlinker --strip-all"
fi
gcc $FLAG -m64 -fPIC -DGTK -Wno-write-strings \
`pkg-config --cflags --libs gtk+-2.0` \
-shared -o screen_capture_64.so log.cc np_entry.cc npn_entry.cc npp_entry.cc \
plugin_base.cc plugin_factory.cc screen_capture_plugin.... | Shell |
#!/bin/sh
if [ "$1" == "debug" ]; then
FLAG=-g
else
FLAG="-O2 -Xlinker --strip-all"
fi
gcc $FLAG -m32 -fPIC -DGTK -Wno-write-strings \
`pkg-config --cflags --libs gtk+-2.0` \
-shared -o screen_capture.so log.cc np_entry.cc npn_entry.cc npp_entry.cc \
plugin_base.cc plugin_factory.cc screen_capture_plugin.cc ... | Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, 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
# {{ansible_managed}}
JAVA_OPTS="$JAVA_OPTS -Dproperties.location=file://%tomcat_apps_dir%/application.properties"
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8"
JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=%http_proxy_host% -Dhttp.proxyPort=%http_proxy_port%"
JAVA_OPTS="$JAVA_OPTS -Dhttps.proxyHost=%http_proxy_host%... | Shell |
#!/bin/bash -e
# replace variables
sed -i \
-e "s/%vlan%/${vlan}/g" \
-e "s/%ZUIL%/${ZUIL}/g" \
-e "s/%zuil%/${zuil}/g" \
-e "s/%ZUILURL%/${ZUILURL}/g" \
-e "s@%tomcat_apps_dir%@${tomcat_apps_dir}@g" \
-e "s@%tomcat_home_dir%@${tomcat_home_dir}@g" \
-e "s/%db_username%/${db_username}/g" \
... | Shell |
#!/bin/bash
rm -rf %tomcat_home_dir%/webapps/zeevogels
rm -rf %tomcat_home_dir%/work/*
rm -rf %tomcat_home_dir%/temp/*
| Shell |
#!/bin/bash -e
# replace variables
sed -i \
-e "s/%vlan%/${vlan}/g" \
-e "s/%ZUIL%/${ZUIL}/g" \
-e "s/%zuil%/${zuil}/g" \
-e "s/%ZUILURL%/${ZUILURL}/g" \
-e "s@%tomcat_apps_dir%@${tomcat_apps_dir}@g" \
-e "s@%tomcat_home_dir%@${tomcat_home_dir}@g" \
-e "s/%db_username%/${db_username}/g" \
... | Shell |
#!/bin/sh
# {{ansible_managed}}
JAVA_OPTS="$JAVA_OPTS -Dproperties.location=file://%tomcat_apps_dir%/application.properties"
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8"
JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=%http_proxy_host% -Dhttp.proxyPort=%http_proxy_port%"
JAVA_OPTS="$JAVA_OPTS -Dhttps.proxyHost=%http_proxy_host%... | Shell |
#!/bin/bash
rm -rf %tomcat_home_dir%/webapps/zeevogels
rm -rf %tomcat_home_dir%/work/*
rm -rf %tomcat_home_dir%/temp/*
| Shell |
#!/bin/bash
#
# zefirod Startup script for the SMS Sending Service
#
# chkconfig: - 85 15
# description: SMS Sending Service
# processname: zefirod
# pidfile: /var/run/zefirod.pid
# Copyright (C) 2009 Emiliano Giovannetti <emiliano.giovannetti@tdt.it>
#
# This file is free software; as a special exception th... | Shell |
#!/bin/bash
##################################################
# #
# description: Check if zefiro service is runnig #
# processname: zefirod.check #
# #
##################################################
#... | Shell |
#!/bin/bash
##################################################
# #
# description: Check if zefiro service is runnig #
# processname: zefirod.check #
# #
##################################################
#... | Shell |
#!/bin/bash
#
# zefirod Startup script for the SMS Sending Service
#
# chkconfig: - 85 15
# description: SMS Sending Service
# processname: zefirod
# pidfile: /var/run/zefirod.pid
# Copyright (C) 2009 Emiliano Giovannetti <emiliano.giovannetti@tdt.it>
#
# This file is free software; as a special exception th... | Shell |
#!/bin/bash
#
# zefirod Startup script for the SMS Sending Service
#
# chkconfig: - 85 15
# description: SMS Sending Service
# processname: zefirod
# pidfile: /var/run/zefirod.pid
# Copyright (C) 2009 Emiliano Giovannetti <emiliano.giovannetti@tdt.it>
#
# This file is free software; as a special exception th... | Shell |
#!/bin/bash
##################################################
# #
# description: Check if zefiro service is runnig #
# processname: zefirod.check #
# #
##################################################
#... | Shell |
#!/bin/bash
##################################################
# #
# description: Check if zefiro service is runnig #
# processname: zefirod.check #
# #
##################################################
#... | Shell |
#!/bin/bash
#
# zefirod Startup script for the SMS Sending Service
#
# chkconfig: - 85 15
# description: SMS Sending Service
# processname: zefirod
# pidfile: /var/run/zefirod.pid
# Copyright (C) 2009 Emiliano Giovannetti <emiliano.giovannetti@tdt.it>
#
# This file is free software; as a special exception th... | Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
RELEASE_DIR="ZDStack-$1"
rm -f $RELEASE_DIR.tar.bz2
rm -f *.tar.bz2
chmod 777 $RELEASE_DIR -R 2> /dev/null; rm -rf $RELEASE_DIR
mkdir -p $RELEASE_DIR/bin $RELEASE_DIR/doc/pydocs $RELEASE_DIR/ZDStack
cp bin/zdstack bin/zs... | Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
RELEASE_DIR="ZDStack-$1"
rm -f $RELEASE_DIR.tar.bz2
rm -f *.tar.bz2
chmod 777 $RELEASE_DIR -R 2> /dev/null; rm -rf $RELEASE_DIR
mkdir -p $RELEASE_DIR/bin $RELEASE_DIR/doc/pydocs $RELEASE_DIR/ZDStack
cp bin/zdstack bin/zs... | Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
RELEASE_DIR="ZDStack-$1"
rm -f $RELEASE_DIR.tar.bz2
rm -f *.tar.bz2
chmod 777 $RELEASE_DIR -R 2> /dev/null; rm -rf $RELEASE_DIR
mkdir -p $RELEASE_DIR/bin $RELEASE_DIR/doc/pydocs $RELEASE_DIR/ZDStack
cp bin/zdstack bin/zs... | Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
RELEASE_DIR="ZDStack-$1"
rm -f $RELEASE_DIR.tar.bz2
rm -f *.tar.bz2
chmod 777 $RELEASE_DIR -R 2> /dev/null; rm -rf $RELEASE_DIR
mkdir -p $RELEASE_DIR/bin $RELEASE_DIR/doc/pydocs $RELEASE_DIR/ZDStack
cp bin/zdstack bin/zs... | Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/sh
HOMEDIR='/home/cagunyon/Desktop/Code/ZDStack/trunk'
RELEASE_NAME="ZDStack-$1"
RELEASE_DIR="$HOMEDIR/$RELEASE_NAME"
echo "=== Generating documentation"
# cd $HOMEDIR/doc/pydocs
# rm -rf .doctrees/ _static/ _sources/ searchindex.js search.html objects.inv index.html genindex.html .buildinfo
# cd $HOMEDIR
echo... | Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
rm -rf ZDStack/*.pyc
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
HOMEDIR='/home/cagunyon/Desktop/Code/ZDStack/trunk'
RELEASE_NAME="ZDStack-$1"
RELEASE_DIR="$RELEASE_NAME"
echo "=== Creating Windows installer"
python setup.py bdist_wininst && mv dist/* ./
echo "=== Initializing releas... | Shell |
#!/bin/sh
HOMEDIR='/home/cagunyon/Desktop/Code/ZDStack/trunk'
RELEASE_NAME="ZDStack-$1"
RELEASE_DIR="$HOMEDIR/$RELEASE_NAME"
echo "=== Generating documentation"
# cd $HOMEDIR/doc/pydocs
# rm -rf .doctrees/ _static/ _sources/ searchindex.js search.html objects.inv index.html genindex.html .buildinfo
# cd $HOMEDIR
echo... | Shell |
#!/bin/sh
if [ ! $1 ]; then
echo
echo "Usage: `basename $0` [ version ]"
echo
exit 1
fi
HOMEDIR='/home/cagunyon/Desktop/Code/ZDStack/trunk'
RELEASE_NAME="ZDStack-$1"
RELEASE_DIR="$RELEASE_NAME"
echo "=== Creating Windows installer"
python setup.py bdist_wininst && mv dist/* ./
echo "=== Initializing releas... | Shell |
#!/bin/sh
rm -rf ~/ZDStack/lib ~/ZDStack/bin/zdstack ~/ZDStack/zservctl ~/ZDStack/zdrpc
rm -rf ~/ZDStack/fakezserv build
rm -rf ZDStack/*.pyc
./setup.py install --prefix=~/ZDStack
| Shell |
#!/bin/bash
### This script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
## Purpose: crawl the sitemaps of the website to find all the ar... | Shell |
#!/bin/bash
### This shell script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
# To use after a succesful crawl.
# Function: creates a com... | Shell |
#!/bin/bash
### This shell script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
# To use after a succesful crawl.
# Function: creates a com... | Shell |
#!/bin/bash
### This script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
## WORK IN PROGRESS ! This is not a mature script.
## Please chec... | Shell |
#!/bin/bash
### This script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
## Purpose: crawl the sitemaps of the website to find all the ar... | Shell |
#!/bin/bash
### This script is part of the Zeitcrawler v1.3 (http://code.google.com/p/zeitcrawler/).
### Copyright (C) Adrien Barbaresi 2011-2013.
### This is free software, released under the GNU GPL v3 license (http://www.gnu.org/licenses/gpl.html).
## WORK IN PROGRESS ! This is not a mature script.
## Please chec... | Shell |
PYTHONPATH=../lib python nigori-client.py $@
| Shell |
#!/bin/bash
#--------------------------------------
# fcitx-config
#
# from xdg-open
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop... | Shell |
#! /bin/sh
package=@package@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
libdir=@libdir@
addondir=@addondir@
configdescdir=@configdescdir@
addonconfigdir=@addonconfigdir@
usage()
{
cat <<EOF
Usage: fcitx4-config [OPTION]
Known values for OPTION are:
--package Fcitx Package Na... | Shell |
#!/bin/sh
filename=desc.po
indir=$1
outdir=$2
cd "$outdir"
rm -f "$outdir/$filename"; touch "$outdir/$filename"
cat > "$outdir/$filename" <<EOF
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAI... | Shell |
#!/bin/bash
rm resultsPars.txt
touch resultsPars.txt
echo "typing good\n\n" >> resultsPars.txt
for i in $(find ~/Desktop/Cours1A/zebigyiska/tests/typing/good -name '*.java' | sort)
do
echo "Processing $i ...";
echo "$i :" >> resultsPars.txt;
./pjava -type-only $i >> resultsPars.txt;
echo "">> resul... | Shell |
#!/bin/bash
rm results.txt
touch results.txt
echo "syntax bad\n\n" >> results.txt
for i in $(find ~/Desktop/Cours1A/zebigyiska/tests/syntax/bad -name '*.java' | sort)
do
echo "Processing $i ...";
echo "$i :" >> results.txt;
./pjava -type-only $i >> results.txt;
echo "">> results.txt;
done
echo "... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/bash
function dumplib()
{
LIB=$1
for arch in armeabi-v7a armeabi; do
VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4)
mkdir -p symbols/$LIB/$VER
dump_syms obj/local/armeabi-v7a/$LIB > symbols/$LIB/$VER/$LIB.sym
done
}
dumplib libopenvpn.so
| Shell |
#!/bin/bash
#NDK_DEBUG=1 ndk-build -j8
# Quick and dirty from ndk-gdb
. ${ANDROID_NDK_HOME}/build/tools/ndk-common.sh
ANDROID_NDK_ROOT=${ANDROID_NDK_HOME}
PROJECT=.
APP_ABI=armeabi-v7a
AWK_SCRIPTS=${ANDROID_NDK_ROOT}/build/awk
PACKAGE_NAME=de.blinkt.openvpn
DEBUG_PORT=5039
JDB_PORT=65534
ADB_CMD=adb
AWK_CMD=awk
ge... | Shell |
#! /bin/zsh
set -o shwordsplit
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
# Chinese lang... | Shell |
#!/bin/bash
# Exit on errors
set -e
# Generate git config if the openvpn directory is checked out from git
if [ -d openvpn/.git ]; then
GIT=git
cd openvpn
CONFIGURE_GIT_CHFILES=$($GIT diff-files --name-status -r --ignore-submodules --quiet -- || echo "+")
CONFIGURE_GIT_UNCOMMITTED=$($GIT diff-index --cached... | Shell |
export O3=$PWD/openvpn3
mkdir -p src/ovpn3/java/net/openvpn/ovpn3
swig -outdir src/ovpn3/java/net/openvpn/ovpn3/ -c++ -java -package net.openvpn.ovpn3 -I$O3/client -I$O3 $O3/javacli/ovpncli.i | 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=2013-05-30.07; # UTC
# Copyright (C) 1999-2014 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
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2014 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#! /bin/sh
# libtool (GNU libtool) 2.4.2.418
# Provide generalized library-building support services.
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even fo... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2013-12-25.23; # 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-2014 Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you can redistribute it and/or modify
# it under ... | Shell |
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2013-10-28.13; # UTC
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it und... | 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=2012-10-14.11; # UTC
# Copyright (C) 1999-2014 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 ... | Shell |
#!/bin/sh
# py-compile - Compile a Python program
scriptversion=2011-06-08.12; # UTC
# Copyright (C) 2000-2014 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
# the Free Software Foundation; e... | Shell |
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2013-01-12.17; # UTC
# Copyright (C) 1996-2014 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 Lic... | 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-2014 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-2014 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-2014 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST=... | Shell |
#! /bin/sh
# vi:ts=4:et
# Copyright (C) 1996-2014 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-2014 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 |
#!/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.