code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
items=("" "Utils")
PYTHON_CFLAGS="-I/usr/include/python2.4/"
OSG_CFLAGS=`pkg-config openscenegraph --cflags`
PYTHON_LIBS="-lpython2.4"
OSG_LIBS=`pkg-config openscenegraph --libs`
CFLAGS="-fPIC ${PYTHON_CFLAGS} ${OSG_CFLAGS} ${CFLAGS}"
LIBS="${PYTHON_LIBS} ${OSG_LIBS}"
# looping through
for i in "${ite... | Shell |
#!/bin/sh
if [ $# -ge 1 ]; then
DEVICE_OPT="device=$1"
else
DEVICE_OPT=""
fi
gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
dvdspu name=spu ! deinterlace ! xvimagesink force-aspect-ratio=false \
dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
dvd. ! spu.subpicture \
dvd. ! audioconvert !... | Shell |
#!/bin/sh
if [ $# -ge 1 ]; then
DEVICE_OPT="device=$1"
else
DEVICE_OPT=""
fi
gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \
dvdspu name=spu ! ffmpegcolorspace ! videoscale ! ximagesink force-aspect-ratio=true \
dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \
dvd. ! spu.subpicture \
dvd. ... | Shell |
#!/bin/sh
version=`gnuindent --version 2>/dev/null`
if test "x$version" = "x"; then
version=`indent --version 2>/dev/null`
if test "x$version" = "x"; then
echo "GStreamer git pre-commit hook:"
echo "Did not find GNU indent, please install it before continuing."
exit 1
fi
INDENT=indent
else
INDENT... | Shell |
#!/bin/sh
LANG=C
export LANG
LC_COLLATE=C
export LC_COLLATE
Template=$1;
srcfile=$2;
if test x"$1" = x ; then
echo "$0 Objectname [srcfile]\n";
echo " creates gstobjectname.{c,h} implementing GstObjectname,\n";
echo " subclassing GstVideofilter.\n";
exit 1;
fi
if test x"$2" = x ; then
srcfile="gstvideotempla... | Shell |
#!/bin/sh
AUDIOSINK=`gconftool-2 -g /system/gstreamer/0.8/default/audiosink`
VIDEOSINK=`gconftool-2 -g /system/gstreamer/0.8/default/videosink`
gst-launch dvdreadsrc ! dvddemux name=demux .video_00 ! \
{ queue ! mpeg2dec ! ffmpegcolorspace ! videoscale ! $VIDEOSINK } \
{ demux.audio_00 ! queue ! a52dec ! audioconvert... | Shell |
#!/bin/bash
function delete {
find . -name $1 -exec rm -rvf {} +
}
function delete2 {
find . -name $1 -exec echo {} +
}
delete CMakeCache.txt
delete CMakeFiles
delete Makefile
delete *.cmake
delete CTestTestfile.cmake
delete dicom.i
delete *.rst
delete zconf.h
delete *.a
delete _*.so
rm -vf src/doc/html
... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun ltconfig.
#
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is free software; you can redistribute it and/or ... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#! /bin/sh
# ltconfig - Create a system-specific libtool.
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file 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 Soft... | Shell |
#!/bin/sh
opt=
# ON or OFF
opt="$opt -DPYTHON_BUILD_EXT=OFF"
# ON or OFF
opt="$opt -DPYTHON_INSTALL_EXT=OFF"
# ON or OFF
opt="$opt -DPYTHON_BUILD_EXT_INSTALLER=OFF"
# Release or Debug
opt="$opt -DCMAKE_BUILD_TYPE=Release"
# ON or OFF
opt="$opt -DUSE_IJG_CODEC=ON"
# ON or OFF
opt="$opt -DUSE_OPJ_CODEC=ON"
# ON o... | Shell |
#!/bin/sh
OUTPUT=$1
STATIC_LIB_NAME=$OUTPUT
MOVE_LOCATION=$2
BASEDIR=$3
LINKFILES=$4
LINKER_FLAGS= -shared -Wl,--version-script,/afs/cs.cmu.edu/misc/matlab/amd64_f7/7.9/lib/matlab7/extern/lib/glnxa64/mexFunction.map -Wl,--no-undefined
echo $OUTPUT
echo $STATIC_LIB_NAME
echo 'Running godawful mex linking hack...'
... | Shell |
#!/bin/bash
hosts=( $( cat ~/hosts ) )
numhosts=${#hosts[@]}
fileprefix=altavista
dest_path=/mnt/webgraph
echo $hosts
echo $numhosts
echo $files
echo $numfiles
echo $dest_path
for i in $(seq 0 511)
do
let "hostid= $i % $numhosts"
filename=$fileprefix.$i.dump
command="scp /mnt/external/webgraphs/full_gra... | Shell |
#!/bin/sh
doxygen
cp doc/images/* doc/doxygen/html/
| Shell |
#!/bin/bash
cd /mnt/graphlabapi/release/apps/dist2_apps/webgraph_bp
make -j8 webgraph_bp
cp /mnt/graphlabapi/release/apps/dist2_apps/webgraph_bp/webgraph_bp /mnt/bin
cd /mnt
mpiexec -n 64 -f ~/hosts -wdir /mnt /mnt/bin/dirdist -s bin -f 3
mpiexec -n 64 -f ~/hosts chmod +x /mnt/bin/*
| Shell |
#!/bin/bash
hosts=( $( cat $1 ) )
numhosts=${#hosts[@]}
fileprefix=atom
dest_path=/mnt/webgraph
echo $hosts
echo $numhosts
echo $files
echo $numfiles
echo $dest_path
for i in $(seq 0 511)
do
let "hostid= $i % $numhosts"
filename=$fileprefix$i
command="scp $filename ${hosts[$hostid]}:$dest_path/."
ec... | Shell |
#!/bin/sh
#script for auto test graphlab distribution, written by danny bickson
if [ $# -ne 1 ]; then
echo "Usage: $0 <release number>"
fi
rm -fR /tmp/graphlabapi*
cp dist/graphlabapi_v1_$1.tar.gz /tmp/
cd /tmp/
tar xvzf graphlabapi_v1_$1.tar.gz
cd /tmp/graphlabapi
./configure --bootstrap --yes
cd release
make -j8... | Shell |
# #!/bin/bash
# echo "This script completely erases the release, debug, and profile folders.";
# echo "Are you sure you want to continue? (yes or no)"
# read yesorno;
# if [ "$yesorno" == "yes" ]; then
# echo "Removing release debug and profile folders";
# rm -rf release debug profile
# else
# echo "Doi... | Shell |
#!/bin/bash
IN_BOOTSTRAP=1
DEPS_DIR=deps
mkdir -p $DEPS_DIR
source scripts/cmakecheck.sh
echo "CMAKE=$cmakecmd" >> configure.deps
source scripts/boostcheck.sh
# we add a boost root only if it is the deps directory
if [ ! -z $BOOST_ROOT ] && [ $BOOST_ROOT == $PWD/$DEPS_DIR ]; then
echo "BOOST_ROOT=$BOOST_ROOT" >> ... | Shell |
#!/bin/bash
function find_itpp_lib {
# if force itpp install is set, don't probe. assume failure
if [ ! -z $force_itpp_install ] ; then
return
fi
# look for itppconfig
itppconfig_pos=`which itpp-config`
# if not found and itpp root is defined. try the itpp_root/bin
if [ ! -z $ITPP_ROOT ] && [ -z $... | Shell |
#/bin/sh
cd /tmp/graphlabapi/release/demoapps/pmf
ln -s /mnt/bigbrofs/usr5/graphlab/testdata/netflix .
ln -s /mnt/bigbrofs/usr5/graphlab/testdata/netflixe .
echo "TESTING ALTENATING LEAST SQUARES"
./pmf netflix 0 --ncpus=8 --scheduler='round_robin(max_iterations=15,block_size=1)' --float=false --lambda=0.065
./pmf netf... | Shell |
#!/bin/bash
_Box () {
str="$@"
len=$((${#str}+4))
for (( i=1; i<=$len; i++ )); do echo -n '-'; done;
echo; echo "| "$str" |";
for (( i=1; i<=$len; i++ )); do echo -n '-'; done;
echo
}
function test_for_eigen {
echo "force install"
#if [ ! -d $1/deps/eigen-eigen-3.0.2/ ]; then
# eig... | Shell |
#!/bin/bash
pushd .
cd $DEPS_DIR
function download_file {
# detect wget
echo "Downloading $2 from $1 ..."
wgetcmd=`which wget`
if [ -z $wgetcmd ] ; then
curlcmd=`which curl`
if [ -z $curlcmd ] ; then
echo "Unable to find either curl or wget! Cannot proceed with automatic install."
exit 1
... | Shell |
#!/bin/bash
for f in `find src \( -name "*.cpp" -or -name "*.hpp" \)`; do
lastline=`tail -n 1 $f`
len=$((${#lastline}))
if [ $len -ne 0 ]; then
echo $f
echo -e "" >> $f
fi
done
| Shell |
#/bin/sh
cd /tmp/graphlabapi/release/demoapps/pmf
ln -s ~/www-graphl1ab/graphlab/datasets/movielens .
echo "Testing LDA+clusterdump"
./glcluster movielens 3 10 0 --float=true --pmfformat=true --max_iter=10 --clusterdump=true
echo "testing KMEANS"
./glcluster movielens 0 10 0 --float=true --pmfformat=true --max_iter=10 ... | Shell |
# pushd .
# cd deps
# if [ ! -d "kyotocabinet-1.2.53" ] ; then
# echo "The Kyoto Cabinet installation in deps/ is missing! unable to continue!"
# else
# cd kyotocabinet-1.2.53
# # install with the new prefix
# echo "Now installing Kyoto Cabinet... "
# ./configure --prefix=$installprefix
# make install
# fi... | Shell |
#!/bin/bash
pushd .
cd $DEPS_DIR
function test_for_kc {
# if force boost install is set, don't probe. assume failure
if [ ! -z $force_kc_install ] ; then
return
fi
# make a main which does nothing
echo -e "#include <kchashdb.h>\n" > kc_tester.cpp
echo -e "\nint main(int argc, char** argv){ return 0; }... | Shell |
#!/bin/bash
major_version=1
echo "THIS MUST BE RUN IN GRAPHLAB HOME"
## JOEY: WHY ARE WE REMOVING THE FOLDER AND THEN USING RSYNC?
rm -fR dist/graphlabapi
mkdir -p dist/graphlabapi
rsync -vv -al --delete --delete-excluded \
--exclude=/debug --exclude=/release --exclude=/profile --exclude=/apps \
--exclude=.h... | Shell |
#!/bin/bash
# hostfile="~/hosts"
hostfile="~/hosts32"
cd ~/graphlabapi/release/apps/dist2_apps/webgraph_bp
make -j8
cp * ~/bin
for i in `cat ~/hosts32`; do
echo "connecting to $i";
rsync -avz ~/bin $i:~/.;
done
| Shell |
# pushd .
# cd deps
# if [ ! -d "boost_1_46_1" ] ; then
# echo "The boost installation in deps/ is missing! unable to continue!"
# else
# cd boost_1_46_1
# # install with the new prefix
# echo "Now installing Boost... This could take a little while..."
# ./bjam --threading=multi --link=static --variant=releas... | Shell |
#!/bin/sh
cp dist/graphlabapi_v1_$1.tar.gz ~/www-graphlab/graphlab/release/
svn add ~/www-graphlab/graphlab/release/graphlabapi_v1_$1.tar.gz
vim ~/www-graphlab/graphlab/download.html
cd ~/www-graphlab/graphlab/
svn commit -m "new release graphlabapi_v1_$1.tar.gz"
| Shell |
#!/bin/sh
#script for auto test graphlab distribution, written by danny bickson
if [ $# -ne 1 ]; then
echo "Usage: $0 <release number>"
fi
rm -fR /tmp/graphlabapi*
cp dist/graphlabapi_v1_$1.tar.gz /tmp/
cd /tmp/
tar xvzf graphlabapi_v1_$1.tar.gz
cd /tmp/graphlabapi
./configure --bootstrap --yes --eigen
cd release
... | Shell |
#!/bin/bash
pushd .
cd $DEPS_DIR
function test_for_avro {
# if force avro install is set, don't probe. assume failure
if [ ! -z $force_avro_install ] ; then
return
fi
# list all the avro files we use
grep -h -r "include <avro/*" ../src | uniq > avro_tester.cpp
# make a main which does nothing
echo -... | Shell |
#!/bin/bash
echo "===== install deps"
echo $1
echo "is apple? $3"
source configure.deps
# see if BOOST_ROOT is the deps folder
# if it is, we may need to install it
if [ ! -z $BOOST_ROOT ] && [ $BOOST_ROOT == $PWD/deps ]; then
echo
echo "================================================================"
echo "T... | Shell |
#!/bin/bash
pushd .
cd $DEPS_DIR
function test_for_boost {
# if force boost install is set, don't probe. assume failure
if [ ! -z $force_boost_install ] ; then
return
fi
# list all the boost files we use
grep -h -r "include <boost/*" ../src | uniq > boost_tester.cpp
# make a main which does nothing
... | Shell |
tmpfile=`mktemp`
for f in `find src/graphlab/* \( \( -name "*.cpp" -or -name "*.hpp" \) -not -wholename "src/graphlab/extern/*" \)`
do
if ! grep -q "Lesser General Public License" $f
then
echo $f
cat LGPL_prepend.txt $f > $tmpfile
mv $tmpfile $f
fi
done | Shell |
#!/bin/sh
export CLASSPATH=$CLASSPATH:../build/:../lib/jython.jar
java -Xmx2000m -Djava.library.path=../native/ demo.scheduling.ColoredSchedulerDemo
| Shell |
#!/bin/sh
export CLASSPATH=$CLASSPATH:../build/:../lib/jython.jar
cd ../python
java -Xmx2000m -Djava.library.path=../native/ graphlab.wrapper.PythonGraphlab pagerank_load.py pagerank_config.py pagerank_update.py pagerank_post.py testdata/stoch30x.csv
| Shell |
#!/bin/sh
export CLASSPATH=$CLASSPATH:../build/:../lib/jython.jar
cd ../python
java -Xmx2000m -Djava.library.path=../native/ graphlab.wrapper.PythonGraphlab lasso_load.py lasso_config.py lasso_update.py lasso_post.py testdata/testphoto.txt
| Shell |
#!/bin/sh
export CLASSPATH=$CLASSPATH:../build/:../lib/jython.jar
java -Xmx2000m -Djava.library.path=../native/ demo.scheduling.PriorityDemo | Shell |
#!/bin/sh
export CLASSPATH=$CLASSPATH:../build/:../lib/jython.jar
java -Xmx2000m -Djava.library.path=../native/ demo.pagerank.PageRank ../python/testdata/stoch30x.csv
| Shell |
#!/bin/bash
#
# This file should not be called from anywhere else but the
# generate_mex_makefile.m matlab function
if [ $# -gt 0 ]
then
Arch=$ARCH
MAPFILE="mexFunction.map"
source $MATLAB/bin/mexopts.sh
extra_includes="-I\"${MATLAB}/extern/include\""
if [ -d $MATLAB/simulink ]; then
extra_includes="${e... | Shell |
#!/bin/bash
function quit_if_bad_retvalue {
if [ $? -eq 0 ]; then
echo "PASS"
else
echo "FAIL. Program returned with failure"
exit 1
fi
}
function test_rpc_prog {
echo "Testing $1 ..."
echo "---------$1-------------" >> $stdoutfname
echo "---------$1-------------" >> $stderrfname
mpiexec -n... | Shell |
#!/bin/bash
# Ukazka zpracovani jazyku symbolickych adres pro MIPS32 vcetne simulace
# na Linuxovem OS (32-bitovem)
# preklad asembleru do objektoveho souboru (prida 0 za koncovku obj)
./assembler2 -i mips.asm -o mips.obj
# spojeni objektoveho souboru do binarniho souboru
./linker mips.obj0 -o mips.xexe
# simulace bin... | Shell |
#!/bin/bash
# Ukazka zpracovani jazyku symbolickych adres pro MIPS32 vcetne simulace
# na Linuxovem OS (32-bitovem)
# preklad asembleru do objektoveho souboru (prida 0 za koncovku obj)
./assembler2 -i mips.asm -o mips.obj
# spojeni objektoveho souboru do binarniho souboru
./linker mips.obj0 -o mips.xexe
# simulace bin... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/usr/bin/sh
# for this to work you need to have the following installed:
# - Xcode: http://developer.apple.com/
# - git: http://help.github.com/mac-git-installation/
# - mercurial / hg: http://mercurial.berkwood.com/
# pull three20
cd ..
git clone git://github.com/facebook/three20.git
# pull mailcore - new URL
git... | Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/ping"
| Shell |
#!/bin/bash
#
set -ue
pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' )
set -x
data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }'
curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234... | Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/list-games'
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/start-game'
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:9100/debug'
| Shell |
#!/bin/bash
#
set -uex
dev_appserver.py --address 0.0.0.0 --skip_sdk_update_check --backends . $*
| Shell |
#!/bin/bash
#
set -ue
# make sure stuff is installed
[ ! -d 'node_modules' ] && npm install socket.io express
set -x
# run the game
node games-server/main.js $*
| Shell |
#!/bin/bash
#
set -ue
backend=""
# match dev_appserver oauth2 default user_id
userID="0"
while [ $# -ge 1 ]
do
arg="$1"
shift
if [ "$arg" == "-b" ]
then
backend=1
else
userID="$arg"
fi
done
if [ "$backend" ]
then
# matcher backend
set -x
curl --data-binary "{}" -H "Content-Type: applicatio... | Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/log"
| 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
# 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 |
# 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
# 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
# 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 |
# 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
# 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
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 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 t... | 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 |
# 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
# 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2012-03-27.16; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the t... | 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/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-03-05.13; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
# Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
#... | Shell |
#!/usr/bin/ksh
set -eau
ROOT_DIR=./world
DHT_EXE=/cygdrive/c/jlouis/sandbox/test/test_dht/test_dht.exe
create_agent() {
typeset agent_nbr="${1}"
echo "creating agent $1"
typeset agent_dir="${ROOT_DIR}/agent_${1}"
mkdir -p "${agent_dir}"
typeset agent_ping=''
if [ "${agent_nbr}" != 0 ]; then
agent_ping='agent_... | Shell |
#!/bin/usr/ksh
set -eau
FILENAME="${1}"
PATHNAME="${2}"
split_file "${FILENAME}" "${PATHNAME}"
| 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 |
ndk-build APP_API=all -j 8
if [ $? = 0 ]; then
rm -rf build/native-libs/
cd libs
mkdir -p ../assets
for i in *
do
cp -v $i/minivpn ../assets/minivpn.$i
done
# Removed compiled openssl libs, will use platform so libs
# Reduces size of apk
rm -v */libcrypto.so */libssl.so
for arch in *
do
build... | 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 |
#!/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.