code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
set -e
SRC=$(ls gerrit-plugin-api/target/gerrit-plugin-api-*-sources.jar)
VER=${SRC#gerrit-plugin-api/target/gerrit-plugin-api-}
VER=${VER%-sources.jar}
type=release
case $VER in
*-SNAPSHOT)
echo >&2 "fatal: Cannot deploy $VER"
echo >&2 " Use ./tools/version.sh --release && mvn clean package"
e... | Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PYTHONPATH=${1}/python-extras
PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload
export PYTHONPATH
export TEMP=${1}/python-extras
export PYTHONHOME=${DIR}/python
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${DIR}/python/lib
case $2 in
goagent)
echo "
[l... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = http-relay;
}
redsocks {
local_ip = 12... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
PYTHONPATH=${1}/python-extras
PYTHONPATH=${PYTHONPATH}:${DIR}/python/lib/python2.6/lib-dynload
export PYTHONPATH
export TEMP=${1}/python-extras
export PYTHONHOME=${DIR}/python
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${DIR}/python/lib
case $2 in
goagent)
echo "
[l... | Shell |
#!/system/bin/sh
DIR=/data/data/org.proxydroid
type=$2
host=$3
port=$4
auth=$5
user=$6
pass=$7
PATH=$DIR:$PATH
case $1 in
start)
echo "
base {
log_debug = off;
log_info = off;
log = stderr;
daemon = on;
redirector = iptables;
}
" >$DIR/redsocks.conf
case $type in
http)
case $auth in
true)
echo "
reds... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF=mupdf-snapshot-20111122.tar.gz
FREETYPE=freetype-2.4.6
OPENJPEG=openjpeg_v1_4_sources_r697
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8a.tar.gz
JPEGDIR=jpeg-8a
cd $SCRIPTDIR/../deps
tar xvf $FREETYPE.tar.bz2
tar xvf $JPEGSRC
tar xvf $MUPDF-source.ta... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
javac ./build/classes/IRS/Main/Main
| Shell |
#!/bin/sh
JQUERY_VERSION="1.10.2"
STROPHE_VERSION="1.1.2"
BOOTSTRAP_VERSION="1.4.0"
ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
cd www_files/js
rm -f jquery-$JQUERY_VERSION.min.js
wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js || exit 1
rm -f adhoc.js
wget -O adhoc.js "http://git.babelmonke... | 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
#
# Merciless uninstall of munki.
if [ `id -u` -ne 0 ]; then
echo "Munki uninstallation must be run by root"
exit 1
fi
launchctl unload /Library/LaunchDaemons/com.googlecode.munki.*
rm -rf "/Applications/Utilities/Managed Software Update.app"
rm -f /Library/LaunchDaemons/com.googlecode.munki.*
rm... | Shell |
#!/bin/bash
#
# Check out Munki from git and build an mpkg distribution package.
# Defaults.
PKGTYPE="bundle"
PKGID="com.googlecode.munki"
OUTPUTDIR=`pwd`
CONFPKG=""
CHECKOUTREV="HEAD"
BRANCH="master"
usage() {
cat <<EOF
Usage: `basename $0` [-f] [-i id] [-o dir] [-c package] [-r revision]"
-f Bui... | Shell |
#!/bin/bash
#
# Build script for munki tools, builds an mpkg distribution package.
# Defaults.
PKGTYPE="bundle"
PKGID="com.googlecode.munki"
MUNKIROOT="."
# Convert to absolute path.
MUNKIROOT=`cd "$MUNKIROOT"; pwd`
OUTPUTDIR="."
# Convert to absolute path.
OUTPUTDIR=`cd "$OUTPUTDIR"; pwd`
CONFPKG=""
# add this numbe... | Shell |
#!/bin/sh
# this script simply sleeps a random number of seconds
# up to MAX_DELAY_MINUTES, then runs managedsoftwareupdate --auto.
# It's meant to spread the load on the munki server
# so all clients don't hit it simultaneously.
# If launchd had a way to randomize the StartInterval,
# we wouldn't need to do this.
# ... | Shell |
#!/bin/bash
#
# runtests.sh
#
# Invoke selected or all unit tests under the tests/ subdir structure.
# run with "-h" for help.
#
# Author: John Randolph (jrand@google.com)
#
TESTSDIR="tests"
PYTHON=""
TOPDIR=""
VERBOSE=""
declare -a TESTS
function die() {
echo error: "$@" >&2
exit 1
}
function printVerbose()... | Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh dataDir directoryStructure
# initializes the Adaptation fMRI experiment. This exp... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 4-RunBET.sh: Run the FSL Brain Extraction Tool
# be used for un-warping later on
#
# Usage:
# 3-B0_PrepareFieldmap.sh anatomyDirectory
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on th... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/sh
#
# Run FDR analysis
#
# by Marcelo G Mattar (08/19/2012)
# mattar@sas.upenn.edu
STATSDIR=$1
COPE=$2
FDRRATE=$3
echo
echo "Working on $STATSDIR; Contrast #$COPE"
# Convert T-values to P-values using the cope and variance cope images
ttologp -logpout $STATSDIR/logp${COPE} $STATSDIR/varcope${COPE} $STATSDIR... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh dataDir directoryStructure
# initializes the Adaptation fMRI experiment. This exp... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 4-RunBET.sh: Run the FSL Brain Extraction Tool
# be used for un-warping later on
#
# Usage:
# 3-B0_PrepareFieldmap.sh anatomyDirectory
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on th... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 3-B0_PrepareFieldmap.sh: Prepare B0 field map file, which will
# be used for un-warping later on
#
# Usage:
# 3-B0_PrepareFieldmap.sh B0_phase1 B0_phase2 B0_mag
# initializes the Adaptation fMRI experiment. This experiment
# effect... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/sh
#
# Run FDR analysis
#
# by Marcelo G Mattar (08/19/2012)
# mattar@sas.upenn.edu
STATSDIR=$1
COPE=$2
FDRRATE=$3
echo
echo "Working on $STATSDIR; Contrast #$COPE"
# Convert T-values to P-values using the cope and variance cope images
ttologp -logpout $STATSDIR/logp${COPE} $STATSDIR/varcope${COPE} $STATSDIR... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 5-RunFEAT.sh: Run the standard fMRI analysis pipeline
#
# Usage:
# 5-RunFEAT.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This experiment
# effect of stimulus history on the current evoked response,... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 1-CreateDirecotryStructure.sh: Create the directory structure
# and relocate each files to the right place
#
# Usage:
# 1-CreateDirectoryStructure.sh rawDataSrc projectDir subjID
# initializes the Adaptation fMRI experiment. This e... | Shell |
#!/bin/bash
# ----------------------------------------------------------------
# 3-B0_PrepareFieldmap.sh: Prepare B0 field map file, which will
# be used for un-warping later on
#
# Usage:
# 3-B0_PrepareFieldmap.sh B0_phase1 B0_phase2 B0_mag
# initializes the Adaptation fMRI experiment. This experiment
# effect... | Shell |
sed -e 's/background-color:#f99 !important; color:#900 !important; outline:1px solid #f33 !important/display: none !important;/g' -e 's/ debug//g' ../branches/adblock-debug.css > adblock.css
| Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 ... | Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 ... | Shell |
#!/bin/bash
# Copyright 2012 Roman Nurik
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#!/bin/sh
find . -iname \.DS_Store -exec rm {} \;
rm -rf extension.zip
cd extension/
zip -qr ../extension.zip .
cd ..
zipinfo -l extension.zip
| Shell |
#!/bin/bash
java -jar ../../tools/closure/compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE closure/goog/base.js adapt/*.js
#java -jar ../../tools/closure/compiler.jar --compilation_level WHITESPACE_ONLY --formatting PRETTY_PRINT --warning_level VERBOSE closure/goog/base.js adapt/base.js... | Shell |
#!/bin/bash
#closure_flags="--compilation_level WHITESPACE_ONLY --formatting PRETTY_PRINT --warning_level VERBOSE"
closure_flags="--compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE"
function compile() {
java -jar ../../tools/closure/compiler.jar $closure_flags \
closure/goog/base.js adapt... | Shell |
python playback.py &
python record.py | Shell |
#!/bin/sh
# This formats all the SQL files in the specified directory so that
# they can be executed by psql. There are two modes -- a 'testing'
# mode (the default mode -- this strips out all the "commit" statements)
# and a commit mode for deployment. You need to pipe the output of this
# script into sqlplus, for ex... | Shell |
#!/bin/sh
#############################################################################
# Installation
#
# Small installation script
#
#############################################################################
# Server data
echo "Permissions for ./data/"
chmod a+w ./data/cache/ && echo " ./cache/"
chmod a+w ./... | Shell |
#replace appName
source ./appConfig.sh;
sed "s/\[__appName__\]/${APP_NAME}/g" "${MAIN_FILE}" > "${MAIN_FILE}.tmp";
rm -f "${MAIN_FILE}";
mv "${MAIN_FILE}.tmp" "${MAIN_FILE}";
| Shell |
#!/bin/sh
gconftool-2 --set --type=string \
/desktop/gnome/url-handlers/magnet/command "add-remote-torrent --url '%s'"
gconftool-2 --set --type=bool \
/desktop/gnome/url-handlers/magnet/enabled true
gconftool-2 --set --type=bool \
/desktop/gnome/url-handlers/magnet/needs_terminal fa... | Shell |
#!/bin/sh
gconftool-2 --set --type=string \
/desktop/gnome/url-handlers/magnet/command "add-remote-torrent --url '%s'"
gconftool-2 --set --type=bool \
/desktop/gnome/url-handlers/magnet/enabled true
gconftool-2 --set --type=bool \
/desktop/gnome/url-handlers/magnet/needs_terminal fa... | Shell |
#!/bin/bash
# ADB Install.sh
#
# This script installs adb and fastboot into usr/bin/
# This may be run from anywhere and is compatible with Linux
echo "This will install ADB and Fastboot on your computer."
echo "Root Permissions required. Please type your password."
sudo cd ~ #Gives Superuser permissions
cd "`dir... | Shell |
#!/bin/bash
# ADB Install.sh
#
# This script installs adb and fastboot into usr/bin/
# This may be run from anywhere and is compatible with Linux
echo "This will install ADB and Fastboot on your computer."
echo "Root Permissions required. Please type your password."
sudo cd ~ #Gives Superuser permissions
cd "`dir... | Shell |
#!/bin/bash
# ADB Uninstall.sh
#
# This script works on Linux and Mac OS X.
# This script removed adb and fastboot from usr/bin/
echo "About to removed ADB and Fastboot"
echo "We're accessing protected directories, please type your password."
sudo rm /usr/bin/adb #Removes adb
echo "ADB removed"
sudo rm /usr/bin/... | Shell |
#!/bin/bash
# ADB Install.sh
#
# This script installs adb and fastboot into /usr/bin/
echo "This will install ADB and Fastboot on your computer."
echo "Root Permissions required. Please type your password."
sudo cd ~ #Gives Superuser permissions
cd "`dirname "$0"`" #CDs to script directory
echo "Changed directory... | Shell |
#!/bin/bash
# Linux Auto-Install Git
#
# Copyright (c) 2012 Danijel James http://danijelj.com
#
# Licensed under MIT
# version number
version="1.1.1"
# Check that running on Ubuntu or Debian
error(){
printf "\n\033[31m$*\033[00m"
return 0
}
# request `sudo` access
function reqSudo {
sudo -v
}
# keep-alive
fun... | Shell |
#!/bin/sh
#############################################################################
# Installation
#
# Small installation script
#
#############################################################################
# Server data
echo "Permissions for ./data/"
chmod a+w ./data/cache/ && echo " ./cache/"
chmod a+w ./... | Shell |
#!/bin/bash
# ADB Uninstall.sh
#
# This script works on Linux and Mac OS X.
# This script removed adb and fastboot from usr/bin/
#
# Created by kalaker on 4/21/12.
echo "About to removed ADB and Fastboot"
echo "We're accessing protected directories, please type your password."
sudo rm /usr/bin/adb #Removes adb
e... | Shell |
#!/bin/bash
# ADB Install.sh
#
# This script installs adb and fastboot into usr/local/bin/
# This may be run from anywhere and is compatible with Linux
# and Mac OS X. Hopefully a Windows batch file will be available
# very soon.
#
# Created by kalaker on 04/20/2012
# Updated by kalaker on 04/03/2014
# http:... | Shell |
#!/bin/bash
# ADB Install.sh
#
# This script installs adb and fastboot into usr/local/bin/
# This may be run from anywhere and is compatible with Linux
# and Mac OS X. Hopefully a Windows batch file will be available
# very soon.
#
# Created by kalaker on 04/20/2012
# Updated by kalaker on 04/03/2014
# http:... | Shell |
#!/bin/sh
JARDIR=/home/gravano/Classes/E6111_s10/Html/Proj2/jars
JAVACLASSPATH=$JARDIR/pirot.jar:$JARDIR/project2.jar
if [ $# -lt 4 -o $# -gt 4 -o "$1" = "-?" ]
then
echo
echo "Usage: "
echo "project2.sh <host> <t_es> <t_ec> <yahoo key>"
exit 1
fi
DATADIR=/home/gravano/Classes/E6111_s10/Html/Proj2/dat... | Shell |
#!/bin/sh
JARDIR=/home/gravano/Classes/E6111_s10/Html/Proj2/jars
JAVACLASSPATH=$JARDIR/pirot.jar:$JARDIR/project2.jar
if [ $# -lt 4 -o $# -gt 4 -o "$1" = "-?" ]
then
echo
echo "Usage: "
echo "project2.sh <host> <t_es> <t_ec> <yahoo key>"
exit 1
fi
DATADIR=/home/gravano/Classes/E6111_s10/Html/Proj2/dat... | Shell |
#!/bin/sh
set -x
#libtoolize --force --copy
aclocal -I ./m4
autoheader
automake --foreign --add-missing --copy
autoconf
| Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2005-05-14.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2005-06-29.22
# 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@gnu.org>... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# 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
# w... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-11-07.23
# 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 hereby ... | Shell |
#!/bin/bash
# $Id: usbmon.sh,v 1.2 2006/03/05 19:39:31 gaufille Exp $
cat /sys/kernel/debug/usbmon/2t
| Shell |
#/bin/sh
# $Id: init_host.sh,v 1.2 2006/03/05 19:39:31 gaufille Exp $
/etc/init.d/cupsys stop
modprobe -r lp
modprobe ppdev
TOOLSDIR=`dirname \`pwd\``/tools
#$TOOLSDIR/bin/odyssey init
chmod a+r /sys/kernel/debug/usbmon/2t
echo Initialization done.
| Shell |
#!/bin/bash
# $Id: usbmon.sh,v 1.2 2006/03/05 19:39:31 gaufille Exp $
cat /sys/kernel/debug/usbmon/2t
| Shell |
#!/bin/bash
# $Id: dump_ttyS0.sh,v 1.2 2006/03/05 19:39:31 gaufille Exp $
stty 115200 -cstopb cs8 < /dev/ttyS0
cat /dev/ttyS0
| Shell |
#!/bin/bash
# $Id: dump_ttyS0.sh,v 1.2 2006/03/05 19:39:31 gaufille Exp $
stty 115200 -cstopb cs8 < /dev/ttyS0
cat /dev/ttyS0
| Shell |
#!/usr/bin/sh
BASEDIR=$(dirname $0)
EXEC=lib/@JAR_FILE@
XLIB=xlib/linux32-x86
cd $BASEDIR
java -Djava.library.path=$XLIB -jar $EXEC $@ | Shell |
#!/usr/bin/sh
BASEDIR=$(dirname $0)
EXEC=lib/@JAR_FILE@
XLIB=xlib/linux32-x86
cd $BASEDIR
java -Djava.library.path=$XLIB -jar $EXEC $@ | Shell |
#!/usr/bin/sh
BASEDIR=$(dirname $0)
EXEC=lib/@JAR_FILE@
XLIB=xlib/linux32-x86
cd $BASEDIR
java -Djava.library.path=$XLIB -jar $EXEC $@ | Shell |
#!/usr/bin/sh
BASEDIR=$(dirname $0)
EXEC=lib/@JAR_FILE@
XLIB=xlib/linux32-x86
cd $BASEDIR
java -Djava.library.path=$XLIB -jar $EXEC $@ | Shell |
inkscape --export-pdf=tid.pdf tid.svg
| Shell |
#!/bin/bash
# burn_ape.sh - 转换 APE 到 WAV 并刻录成 CD
# 需要以下软件:
# mac: http://supermmx.org/linux/mac/
# cuetools & cdrdao
# 最好以 root 账号运行, 这样 cdrdao 就可以实时调度了
# 帮助
if [ -n $1 ] && [ "$1" = -h ]; then
echo -e "用法: ${0##*/} [文件名]\n参数可选,为不带后缀的 APE 和 CUE 文件名,假定它们文件名相同。"
exit 0
fi
# APE 和 CUE 不带后缀的文件名,缺省为 CDImage
NAME=$... | Shell |
#!/bin/bash
# burn_ape.sh - 转换 APE 到 WAV 并刻录成 CD
# 需要以下软件:
# mac: http://supermmx.org/linux/mac/
# cuetools & cdrdao
# 最好以 root 账号运行, 这样 cdrdao 就可以实时调度了
# 帮助
if [ -n $1 ] && [ "$1" = -h ]; then
echo -e "用法: ${0##*/} [文件名]\n参数可选,为不带后缀的 APE 和 CUE 文件名,假定它们文件名相同。"
exit 0
fi
# APE 和 CUE 不带后缀的文件名,缺省为 CDImage
NAME=$... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2004-05-31.23
# Copyright (C) 1999, 2000, 2003, 2004 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... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2004-09-10.20
# 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 hereby ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2004-05-31.23
# Copyright (C) 1999, 2000, 2003, 2004 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... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2004-09-07.08
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it ... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2004-09-10.20
# 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 hereby ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2004-09-07.08
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it ... | Shell |
opt -load ../../../Release/lib/AddrLeaks.so -mem2reg -instnamer -internalize -inline -globaldce -addrleaks < "$1" > /dev/null &&
dot -Tpng module.dot -o module.png &&
eog module.png
| Shell |
# There's an NPE bug that makes it necessary to split this up in the case of an empty project.
function update {
android update project --target "android-9" --path $1
android update project --target "android-9" --path $1 --library ../../library
}
update "RosCamera"
update "image_transport"
update "orientation_publ... | Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.SlaveApiTestNode $@
| Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
| Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.PassthroughTestNode $@
| Shell |
#!/bin/bash
export ASAN_OPTIONS=symbolize=1:strip_path_prefix=$(pwd)/
for source in example_*.cc; do
name=$(echo $source | sed 's/example_//g; s/\.cc$//g')
run=$(grep RUN: $source | sed "s/.*RUN: //g; s/%t/$source/g")
echo run: "$run"
echo $name
wiki="Example$name.wiki"
rm -f $wiki
printf "#summary Examp... | Shell |
#!/bin/bash
export ASAN_OPTIONS=symbolize=1:strip_path_prefix=$(pwd)/
for source in example_*.cc; do
name=$(echo $source | sed 's/example_//g; s/\.cc$//g')
run=$(grep RUN: $source | sed "s/.*RUN: //g; s/%t/$source/g")
echo run: "$run"
echo $name
wiki="Example$name.wiki"
rm -f $wiki
printf "#summary Examp... | Shell |
#!/bin/bash
set -o pipefail
set -eux
function get_gcc() {
svn checkout -r 212893 svn://gcc.gnu.org/svn/gcc/trunk gcc_kasan
cd gcc_kasan
patch -p0 -i /vagrant/gcc-r212893-kasan-stack.patch
}
function make_gcc() {
mkdir gcc_build
cd gcc_build
../gcc_kasan/configure --disable-multilib --disable-bootstrap -... | Shell |
#!/bin/bash
set -o pipefail
set -eux
function get_gcc() {
svn checkout -r 212893 svn://gcc.gnu.org/svn/gcc/trunk gcc_kasan
cd gcc_kasan
patch -p0 -i /vagrant/gcc-r212893-kasan-stack.patch
}
function make_gcc() {
mkdir gcc_build
cd gcc_build
../gcc_kasan/configure --disable-multilib --disable-bootstrap -... | Shell |
#!/bin/bash -e
echo "Installing build dependencies..."
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y g++ clang make buildbot subversion git vim zip libstdc++6:i386 binutils-dev binutils-gold
echo "Installing tmpreaper..."
sudo apt-get install tmpreaper -y
sudo sed -i "s/SHOWWARNING=tru... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.