code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# Parameters passed:
# $1: full path to the installation package (xxx.pkg)
# $2: full path to destination (/)
# $3: mountpoint of destination volume (/)
# $4: root directory for current system folder (/)
# Uninstall previous null driver
if [ -d /System/Library/Extensions/ez430rf2500.kext ]
then
rm -rf /Sys... | Shell |
#!/bin/sh
set -e
# Force root
if [ $EUID -ne 0 ]; then
echo "You must be root"
exit 1
fi
TOOLCHAIN_VERSION=20110716
PREFIX=/usr/local/msp430-uniarch-$TOOLCHAIN_VERSION
PACKAGE_ROOT=package/PackageRoot
# Add new gcc to path
export PATH=$PREFIX/bin:$PATH
: <<ENDREM
Use these to wrap around code you want to comme... | 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
################################
# jlGui Un*x Launch Script #
# #
# http://www.javazoom.net #
################################
# Modify JAVA_HOME according to your J2SE installation.
JAVA_HOME=/usr/java/jdk1.5.0
JLGUI_HOME=.
# Uncomment line below to enable DEBUG level f... | Shell |
#!/bin/sh
################################
# jlGui Un*x Launch Script #
# #
# http://www.javazoom.net #
################################
# Modify JAVA_HOME according to your J2SE installation.
JAVA_HOME=/usr/java/jdk1.5.0
JLGUI_HOME=.
# Uncomment line below to enable DEBUG level f... | Shell |
#!/bin/sh
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
#http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
set -o verbose #echo onset +o verbose #echo off
# Note: this must ... | Shell |
#!/bin/sh
# 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
# 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
# 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 |
#!/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 |
#!/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
# 打开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 |
ssh $1 "netstat -anpt | grep LIST | awk '{print \$7}' | awk -F / '{print \$1}' | sort -u | while read line; do sudo ls -l /proc/\$line/exe; done " | awk -F / '{print $NF}' | sort -u | egrep -v "cupsd|sshd|portmap|rpc.statd|sendmail|xinetd|python"
| Shell |
rfcomm -i hci0 bind /dev/rfcomm26 08:00:17:2D:4F:9A
| 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 |
#!/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/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
# run "./runTests.sh" for verbose output
# for short output, run
# ./runTests.sh | grep FAILED
# ./runTests.sh | grep PASSED
#master branch
SERVER_CLASS="org.ws4d.coap.test.PlugtestServer"
CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient"
CLASSPATH="bin/:../ws4d-jcoap/bin"
LOG_DIR="log"
REF_LOG_DIR="logref"
... | Shell |
msgfmt --output ja.mo ja.po
| Shell |
xgettext --from-code=UTF-8 --keyword=_e --language php --output languages/aspthemes.pot `find $PWD -name \*.php -type f`
| Shell |
msgmerge ja.po message.pot --output ja.po
| Shell |
msginit --locale=ja --input=aspthemes.pot
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/system/bin/sh
DIR=/data/data/org.sshtunnel
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
echo "
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = http-re... | Shell |
#!/system/bin/sh
DIR=/data/data/org.sshtunnel
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
echo "
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = socks5;... | Shell |
#!/bin/bash
BASEIMGDIR=../data/base
TESTINDIR=../data/test-in
sizes=(800x600 16x30000 17x28234 10x48000 11x43636 18x26666 19x25263 1442x333 1443x333 1440x333 1441x333)
#sizes=(640x480 16x19200 17x1871 1871x17 19200x16 19200x1 1871x1 19200x2 1871x2)
#sizes=(1454x1 1454x50 1454x100 1454x200 1454x400 1454x800 1454x1400... | Shell |
#!/bin/sh
#. ./$1
IMGINFILE=$1/imagenes.in
FUNCINFILE=$1/funciones.in
IMGINDIR=../data/test-in
MEDOUTFILE=./mediciones.csv
BINFILE=../bin/tp2
ITER=1000
#echo 'Realizando mediciones...'
while read func
do
echo $func
echo $func >> $MEDOUTFILE
echo '#pixels,ciclosC,ciclosASM'
echo '#pixels,ciclos... | Shell |
#!/bin/sh
#. ./$1
IMGINFILE=$1/imagenes.in
FUNCINFILE=$1/funciones.in
IMGINDIR=../data/test-in
MEDOUTFILE=./mediciones.csv
BINFILE=../bin/tp2
ITER=1000
#echo 'Realizando mediciones...'
while read func
do
echo $func
echo $func >> $MEDOUTFILE
echo '#pixels,ciclosC,ciclosASM'
echo '#pixels,ciclos... | Shell |
#!/bin/bash
rm mediciones.csv
rm -rf ../data/test-in/*
./medgen.sh
./medir.sh casoBase
./medir.sh casoByN-alto
./medir.sh casoColor-alto
./medir.sh casoAncho
./medir.sh predictorSaltos
| Shell |
#!/bin/bash
BASEIMGDIR=../data/base
TESTINDIR=../data/test-in
sizes=(800x600 16x30000 17x28234 10x48000 11x43636 18x26666 19x25263 1442x333 1443x333 1440x333 1441x333)
#sizes=(640x480 16x19200 17x1871 1871x17 19200x16 19200x1 1871x1 19200x2 1871x2)
#sizes=(1454x1 1454x50 1454x100 1454x200 1454x400 1454x800 1454x1400... | Shell |
#!/bin/bash
rm mediciones.csv
rm -rf ../data/test-in/*
./medgen.sh
./medir.sh casoBase
./medir.sh casoByN-alto
./medir.sh casoColor-alto
./medir.sh casoAncho
./medir.sh predictorSaltos
| Shell |
#!/bin/sh
VALGRIND=valgrind
TESTINFILE=../data/test-in/test.in
TESTINDIR=../data/test-in
TESTOUTDIR=../data/test-out
BINFILE=../bin/tp2
OKDIFF=1
OKVALGRIND=1
echo 'Iniciando test de memoria...'
while read f;
do
file=$TESTINDIR/$f
echo '\nProcesando archivo: ' $file '\n'
# Invertir
$VALGRIND --leak-check=yes ... | Shell |
#!/bin/bash
BASEIMGDIR=../data/base
TESTINDIR=../data/test-in
sizes=(200x200 201x201 202x202 203x203 204x204 205x205 206x206 207x207 208x208 256x256 512x512 513x513 1023x767)
rm -rf ../data/test-in/test.in
touch ../data/test-in/test.in
for f in $( ls $BASEIMGDIR );
do
echo $f
for s in ${sizes[*]}
do
echo " *... | Shell |
#!/bin/sh
VALGRIND=valgrind
TESTINFILE=../data/test-in/test.in
TESTINDIR=../data/test-in
TESTOUTDIR=../data/test-out
BINFILE=../bin/tp2
OKDIFF=1
OKVALGRIND=1
echo 'Iniciando test de memoria...'
while read f;
do
file=$TESTINDIR/$f
echo '\nProcesando archivo: ' $file '\n'
# Invertir
$VALGRIND --leak-check=yes ... | Shell |
#!/bin/bash
BASEIMGDIR=../data/base
TESTINDIR=../data/test-in
sizes=(200x200 201x201 202x202 203x203 204x204 205x205 206x206 207x207 208x208 256x256 512x512 513x513 1023x767)
rm -rf ../data/test-in/test.in
touch ../data/test-in/test.in
for f in $( ls $BASEIMGDIR );
do
echo $f
for s in ${sizes[*]}
do
echo " *... | Shell |
#!/bin/bash
# (C) Copyright 2014, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in wr... | Shell |
#-*- mode: shell-script;-*-
#
# bash completion support for tesseract
#
# Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com>
# Distributed under the Apache License, Version 2.0.
#
_tesseract_languages()
{
local TESSDATA="/usr/share/tesseract-ocr/tessdata/"
local langs="$(ls $TESSDATA | grep traineddata | cut -... | Shell |
#!/bin/bash
#
# File: generate_manpages.sh
# Description: Converts .asc files into man pages, etc. for Tesseract.
# Author: eger@google.com (David Eger)
# Created: 9 Feb 2012
#
# (C) Copyright 2012 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this f... | Shell |
#!/bin/bash
# File: runalltests.sh
# Description: Script to run a set of UNLV test sets.
# Author: Ray Smith
# Created: Thu Jun 14 08:21:01 PDT 2007
#
# (C) Copyright 2007, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with... | Shell |
#!/bin/bash
# File: counttestset.sh
# Description: Script to count the errors on a single UNLV set.
# Author: Ray Smith
# Created: Wed Jun 13 11:58:01 PDT 2007
#
# (C) Copyright 2007, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in comp... | Shell |
#!/bin/bash
# File: runtestset.sh
# Description: Script to run tesseract on a single UNLV set.
# Author: Ray Smith
# Created: Wed Jun 13 10:13:01 PDT 2007
#
# (C) Copyright 2007, Google Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in complianc... | Shell |
#!/bin/bash
if [ $# -ne 1 ]
then
echo "Usage:$0 scantype"
echo "UNLV data comes in several scan types:"
echo "3B=300 dpi binary"
echo "3A=adaptive thresholded 300 dpi"
echo "3G=300 dpi grey"
echo "4B=400dpi binary"
echo "2B=200dpi binary"
echo "For now we only use 3B"
exit 1
fi
ext=... | Shell |
#!/bin/sh
# This is a simple script which is meant to help developers
# better deal with the GNU autotools, specifically:
#
# aclocal
# autoheader
# autoconf
# automake
#
# The whole thing is quite complex...
#
# The idea is to run this collection of tools on a single platform,
# typically the main development... | Shell |
#!/bin/sh
mkdir dist
mkdir dist/graphchi_v$1
cd dist/graphchi_v$1
hg clone https://code.google.com/p/graphchi/
#rm -rf src/Eigen
find . -name '*.hg' -exec rm -rf {} \;
find . -name '*.dSYM' -exec rm -fr {} \;
cd ..
tar -czf graphchi_src_v$1.tar.gz graphchi_v$1
| Shell |
./toolkits/collaborative_filtering/gensgd --training=rec_log_train.txt --val_pos=2 --rehash=1 --limit_rating=1000000 --max_iter=10 --gensgd_mult_dec=0.999999 --minval=-1 --maxval=1 --quiet=1 --calc_error=1 --file_columns=4
./toolkits/collaborative_filtering/gensgd --training=rec_log_train.txt --val_pos=2 --rehash=1 --... | Shell |
#!/bin/bash
#script for installing graphchi cf toolbox
#written by Danny Bickson, CMU
EIGEN_FILE=3.1.3.tar.bz2
EIGEN_DIST=http://bitbucket.org/eigen/eigen/get/$EIGEN_FILE
test -z `which wget`
if [ $? -eq 1 ]; then
rm -fR $EIGEN_DIST
wget --max-redirect 20 $EIGEN_DIST
if [ $? -ne 0 ]; then
echo "Failed to d... | Shell |
# Following command makes the unittest.sh fail if any of the
# commands fail.
set -e
function display_name {
echo "****************************************************************************"
echo -n "*******************"
echo -n $1
echo "**********************"
echo "**************************************... | Shell |
#!/bin/bash
export GRAPHCHI_ROOT=$PWD/../../
stdoutfname=$PWD/stdout.log
rm -f $stdoutfname
echo | tee -a $stdoutfname
echo "Running application tests"| tee -a $stdoutfname
echo "========================="| tee -a $stdoutfname
echo "GraphChi collaborative filtering library"| tee -a $stdoutfname
somefailed=0
echo "--... | Shell |
#!/bin/sh
# script for merging the output of the rating application into a single sorted file
# Written By Danny Bickson, CMU
if [ $# -ne 1 ]; then
echo "Usage: $0 <training file name>"
exit 1
fi
TRAINING=$1
pwd
FOUND=0
rm -f *.sorted
for i in `ls ${TRAINING}.out[0-9]*`
do
FOUND=1
echo "Sorting output file $i"... | Shell |
#!/bin/sh
if [ ! -d "../../src/Eigen/" ]; then
echo "********************************************************************************"
echo "Failed to find Eigen linear algebra package!"
echo "Please follow step 3 of the instructions here: "
echo "http://bickson.blogspot.co.il/2012/08/collaborative-filterin... | Shell |
#!/bin/bash
# script for visualizing a subgraph
# Written by Danny Bickson, CMU
cd ../../
GRAPHCHI_ROOT=`pwd`
cd -
CURPATH=`pwd`
NUM_EDGES=0
FILENAME=""
SEEDS=""
HOPS=2
NODES=0;
EDGES=0;
PROGRAM_OPTIONS="f:h:n:o:r:s:"
HELP_STRING="-f Graph_file [-h hops] [-n edge_num] [-o nodes] [-s seeds] [-r multiple files regexp]\... | Shell |
#!/bin/sh
#change the website path to point to your website dir, and then run "sh refresh_website.sh" when you
#want to view your graph
cp index.html *.css *.js graph*.csv logo.gif settingA file.txt *csv.txt /afs/cs.cmu.edu/user/bickson/www/graphchi/
| Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ma... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ma... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ma... | Shell |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ma... | Shell |
#!/bin/sh
# Copyright 2001-2005 The Apache Software Foundation or its licensors, as
# applicable.
#
# 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/LICENS... | Shell |
#!/bin/sh
#
# Copyright 1999-2005 The Apache Software Foundation or its licensors, as
# applicable.
#
# 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/LICE... | Shell |
#!/bin/sh
#
# Copyright 1999-2005 The Apache Software Foundation or its licensors, as
# applicable.
#
# 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/LICE... | Shell |
#!/bin/sh
# Copyright 2001-2005 The Apache Software Foundation or its licensors, as
# applicable.
#
# 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/LICENS... | Shell |
#! /bin/sh
#
# Find libtoolize
#
libtoolize=`conftools/PrintPath glibtoolize libtoolize libtoolize15 libtoolize14`
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
fi
#
# Create the libtool helper files
#
# Note: we copy (rather than link) the files.
#
# Note: This bundled version ... | Shell |
#! /bin/sh
#
# Find libtoolize
#
libtoolize=`conftools/PrintPath glibtoolize libtoolize libtoolize15 libtoolize14`
if [ "x$libtoolize" = "x" ]; then
echo "libtoolize not found in path"
exit 1
fi
#
# Create the libtool helper files
#
# Note: we copy (rather than link) the files.
#
# Note: This bundled version ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs 106501 2004-11-24 23:41:24Z nd $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pat... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-03-07'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GN... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publis... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs 106501 2004-11-24 23:41:24Z nd $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pat... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-03-20'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | 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
# Look for program[s] somewhere in $PATH.
#
# Options:
# -s
# Do not print out full pathname. (silent)
# -pPATHNAME
# Look in PATHNAME instead of $PATH
#
# Usage:
# PrintPath [-s] [-pPATHNAME] program [program ...]
#
# Initially written by Jim Jagielski for the Apache configuration mechanism
# (with... | 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
# Look for program[s] somewhere in $PATH.
#
# Options:
# -s
# Do not print out full pathname. (silent)
# -pPATHNAME
# Look in PATHNAME instead of $PATH
#
# Usage:
# PrintPath [-s] [-pPATHNAME] program [program ...]
#
# Initially written by Jim Jagielski for the Apache configuration mechanism
# (with... | Shell |
#
# export_vars.sh
#
# This shell script is used to export vars to the application using the
# APRUTIL library. This script should be "sourced" to ensure the variable
# values are set within the calling script's context. For example:
#
# $ . path/to/apr-util/export_vars.sh
#
APRUTIL_EXPORT_INCLUDES="@APRUTIL_INCLUDE... | Shell |
#!/bin/sh
#
# Script for starting @doc.name@ version @doc.version@ with jetty webserver under Unix
# Set either JAVA_HOME to point at your Java Development Kit installation.
# or PATH to point at the java command
usage()
{
echo "Usage: $0 {run|start|stop|restart|supervise} "
echo "run : starts rapla-serve... | Shell |
#!/bin/sh
#
# Script for starting @doc.name@ version @doc.version@ under Unix
# Set either JAVA_HOME to point at your Java Development Kit installation.
# or PATH to point at the java command
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\... | Shell |
#!/bin/sh
#
# Usage:
#
# for a list of all available build-targets type
# ./build.sh -projecthelp
#
chmod u+x ./bin/antRun
chmod u+x ./bin/ant
export ANT_HOME=.
$PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@
| Shell |
#!/bin/sh
cd .git/hooks
ln -sf ../../git_hooks/* .
| Shell |
#!/bin/sh
RIGHT_PKG_NAME=com.example.android.trivialdrivesample
# Check that there isn't a NOCOMMIT flag
if find . -name CONFIDENTIAL | grep -q CONFIDENTIAL; then
echo "*** The working directory is marked as CONFIDENTIAL"
echo "If you're really ready to commit, remove the CONFIDENTIAL files and try again:"
fi... | Shell |
#!/bin/sh
# Copyright (c) 2012 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/bash
cd ../src
make > /dev/null
cp -a ./tp0 ../tests
cd ../tests/
ARCHIVOENTRADA="archivoBase64.txt"
SALIDATP0="salidaTp0"
SALIDABASE64="salidaBase64"
#Mostrar archivos de prueba
echo "Archivo de prueba:"
cat $ARCHIVOENTRADA
if [ "$?" = "0" ]; then
#Se ingresa por stdin el archivo y se utiliza tp0 para guarda... | Shell |
#!/bin/bash
cd ../src
make > /dev/null
cp -a ./tp0 ../tests
cd ../tests/
SALIDATP0="pruebaRandomTp0"
SALIDABASE64="pruebaRandomBase64"
RANDOMDUMP="randomBin.txt"
RANDOMSIZE="100"
if [ "$?" = "0" ]; then
head -c $RANDOMSIZE /dev/urandom > $RANDOMDUMP
./tp0 -e -i $RANDOMDUMP -o $SALIDATP0
#Codifica e... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.