code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
export PATH = $PATH:/usr/lib/doris
exec python /usr/share/adore-doris/gui/agooey
| Shell |
#!/bin/bash
OIFS=${IFS}
IFS=$'\n'
for p in `cat ${1}`
do
obj=${p%%.*}
prp=${p##*.}
echo "@property"
echo "def ${prp}(self):"
echo " return self.${obj}.${prp}"
echo "@${prp}.setter"
echo "def ${prp}(self, value):"
echo " self.${obj}.${prp}= value"
echo ""
done
IFS=${OIFS}
# @property
# ... | Shell |
#!/bin/bash
OIFS=${IFS}
IFS=$'\n'
for p in `cat ${1}`
do
obj=${p%%.*}
prp=${p##*.}
echo "@property"
echo "def ${prp}(self):"
echo " return self.${obj}.${prp}"
echo "@${prp}.setter"
echo "def ${prp}(self, value):"
echo " self.${obj}.${prp}= value"
echo ""
done
IFS=${OIFS}
# @property
# ... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | 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 |
#! /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-2003 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is ... | Shell |
#!/bin/bash
recode latin1..utf-8 </usr/share/i2e/i2e.dict >i2e.dict.utf
gcc -g `pkg-config --cflags --libs glib-2.0` i2e2dict.c -o i2e2dict
./i2e2dict
rm i2e.dict.utf
echo "Restart StarDict now!"
| Shell |
#!/bin/sh
# Create images for StarDict, like application icon, tray icons, Acrobat plugin icons
# StarDict icons may be created from a single multilayer image.
# Most layers are used only for specific icon types, but images of two books are present
# on all icons. This script deletes layers, resize image and change co... | Shell |
#!/bin/bash
gcc `pkg-config --cflags --libs glib-2.0` ooo2dict.c -o ooo2dict
echo |./ooo2dict 2>/dev/null
recode latin1..utf-8 </usr/share/myspell/dicts/th_de_DE_v2.dat >th_de_DE_v2.dat.utf
echo "OpenThesaurus.de_German" |./ooo2dict th_de_DE_v2.dat.utf 2>/dev/null
recode latin1..utf-8 </usr/share/myspell/dicts/th_it_... | Shell |
#!/bin/bash
# dictd2dic conversion script
#
# Usage: dictd2dic.sh mueller7
#
cd /usr/share/dictd
if test -e $1.dict.dz; then dictunzip $1.dict.dz; fi
if test -e $1.dict; then
echo "Please wait..."
touch $1.idxhead
echo "StarDict's dict ifo file" >dictd_www.mova.org_$1.ifo
echo version=2.4.2 >>dictd_www.mova.org_$1.ifo... | Shell |
#!/bin/bash
gcc exc2i2e.c -o exc2i2e
rename /usr/share/stardict/dic/i2e /usr/share/stardict/dic/temp /usr/share/stardict/dic/i2e.* 2>/dev/null
rename /usr/share/stardict/dic/e2i /usr/share/stardict/dic/temp2 /usr/share/stardict/dic/e2i.* 2>/dev/null
./exc2i2e >t
/usr/lib/stardict/i2e2dict t
rm t
rename /usr/share/sta... | Shell |
#!/bin/bash
gcc `pkg-config --cflags --libs glib-2.0` myspell2dic.c -o myspell2dic
echo "Please wait..."
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.dic >es_ES.dic.utf
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.aff >es_ES.aff.utf
echo |./myspell2dic es_ES.dic.utf es_ES.aff.utf 2>/dev/null
recode ko... | Shell |
#!/bin/sh
echo "Boostrapping StarDict tools..."
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have libtool installed to compile Stardict";
echo;
exit;
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile Stardict";
ech... | 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-2003 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is ... | Shell |
#!/bin/sh
# postrm script for stardict
set -e
case "$1" in
remove)
# if [ -x /usr/bin/scrollkeeper-update ]; then
# /usr/bin/scrollkeeper-update -q
# fi
;;
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'"... | Shell |
#!/bin/sh
# postinst script for stardict
set -e
case "$1" in
configure)
# if [ -e /etc/gconf/schemas/stardict.schemas ]; then
# HOME=/root \
# GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
# /usr/bin/gconftool-2 \
# --makefile-install-rule /etc/gconf/schemas/stardict.schemas ... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
echo "Boostrapping StarDict dictionary..."
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="stardict"
REQUIRED_AUTOMAKE_VERSION=1.9
(test -f $srcdir/configure.ac \
&& test -f $srcdir/ChangeLog \
&& test -d $srcdir/src) || {
echo -n ... | Shell |
#!/bin/sh
echo "Bootstrapping StarDict root..."
# (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
# echo;
# echo "You must have libtool installed to compile StarDict";
# echo;
# exit;
# }
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile Sta... | Shell |
#!/bin/sh
echo "Boostrapping common lib..."
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have libtool installed to compile common lib";
echo;
exit;
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
echo "You must have automake installed to compile common lib";
ech... | Shell |
#!/bin/bash
#
# Copyright (c) 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 t... | Shell |
#!/bin/bash
### BEGIN INIT INFO
# Provides: adnsonde
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start ADN SONDE daemon
# Description: Enable service provided by ADN SONDE daemon.
### END INIT INFO
# chkconfig: 2345 71 31
INITSCRIPT="... | Shell |
#!/bin/bash
### BEGIN INIT INFO
# Provides: adnsonde
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start ADN SONDE daemon
# Description: Enable service provided by ADN SONDE daemon.
### END INIT INFO
# chkconfig: 2345 71 31
INITSCRIPT="... | 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 |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licensed unde... | 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-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-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-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
# 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-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
# 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
# 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-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
# 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
# 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-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-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-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
# 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 |
usage(){
echo "tdmctl init: initialize the config directory."
echo "tdmctl list: list available X sessions."
echo "tdmctl cache: list cached files."
echo "tdmctl check <session>: see what <session> is."
echo "tdmctl default [session]: show/set default X session."
echo "tdmctl add <name> <path> [X(default)/extra]:... | Shell |
#!/bin/bash
# TDM, tbk display manager, or tiny display manager,
# is a session selector after login.
# It links the starting script to default and start
# the startx script.
VERSION=0.4.0
# directory settings
CONFDIR="$HOME/.tdm"
SESSIONS=${CONFDIR}/sessions
EXTRA=${CONFDIR}/extra
SAVELAST=1
TIMEOUT=0
nulltype(){
... | Shell |
init(){
[[ "$1" = "-f" || "$1" = "--force" ]]&&rm -rf "${CONFDIR}"
# build the directory tree if not exist
if [[ ! -d "${CONFDIR}" ]]; then
cp -Rv "${PREFIX}/share/tdm" "${CONFDIR}"
else
echo "Nothing done."
fi
}
| Shell |
#!/bin/sh
#Example TDM starting script
# It requires twm,urxvt,xmessage
# needs: twm urxvt xmessage
twm &
urxvt &
xmessage "Exit"
| Shell |
#!/bin/sh
#Example TDM starting script
#It requires systemctl
#needs: systemctl
exec systemctl hibernate
| Shell |
#!/bin/bash
#Example TDM starting script
# It requires weston
# needs: weston
weston-launch -- --modules=xwayland.so
| Shell |
#!/bin/bash
#tdmctl: a tool to configure tdm
CONFDIR="$HOME/.tdm"
CACHEDIR="${CONFDIR}/cache"
| Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ... | Shell |
#!/bin/bash -e
# If you want to track the status of the project in Subversion, run this script
# instead of relying on "svn update". The script makes sure you end up with a
# working copy of the source tree that is customized to the version of GNU
# "autotools" that are installed on your machine.
#
# Alternatively, yo... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2006-05-10.23
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redi... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2006-12-25.00
# 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 -e
PORT=4201
PIDFILE=stresstest.pid
rm -f "${PIDFILE}"
trap '[ -r "${PIDFILE}" ] && kill "$(cat "${PIDFILE}")"; rm -f "${PIDFILE}"' \
EXIT INT TERM QUIT HUP
./shellinaboxd -p "${PORT}" -s "/:$(id -u):$(id -g):${PWD}:/bin/bash -c \
'while read i; do [ -z "${i}" ] && break; echo ... | Shell |
#!/bin/bash -e
tmp=/tmp/make-chained-cert.$$
trap 'echo; tput bel; echo FAILURE; rm -rf "${tmp}"; exit 1' EXIT INT TERM QUIT
mkdir -p "${tmp}/demoCA/newcerts"
printf '%08x' $$ >"${tmp}/demoCA/serial"
touch "${tmp}/demoCA/index.txt"
cd "${tmp}"
openssl req -nodes -new -x509 -keyout "${tmp}/ca-key.pem" ... | Shell |
#!/bin/bash -e
# The script ensures that all commands succeed unless an error occurred. If it
# does though, the shell terminates the script and our exit handler runs.
trap 'tput bel || :; echo Failed! >&2' EXIT
# Ask the user a yes/no question. This function does not require the user to
# press ENTER after making a ... | Shell |
#!/bin/bash
# This is a simple demo CGI script that illustrates how to use ShellInABox in
# CGI mode.
case "${REQUEST_METHOD}" in
POST)
# Retrieve CGI parameter, then start shellinabox with this command
read parms
parms="$(printf "$(echo "${parms}"|sed -e 's/%\(..\)/\\x\1/g;s/%/%%/g')")"
parms="... | 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/bash
#
# Copyright 2010 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Creates the documentation set for the library by
# running pydoc on all the files in apiclient.
#
# Notes: You may have to update the location of the
# App Engine library for your local system.
exp... | Shell |
#!/bin/ksh
# ##################################################################
#
# created by tianlesoftware
# 2010-7-7
# Email: tianlesoftware@vip.qq.com
# ##################################################################
# Oracle Environment settings
... | Shell |
#!/bin/ksh
# ##################################################################
#
# created by tianlesoftware
# 2010-7-7
# Email: tianlesoftware@vip.qq.com
# ##################################################################
# Oracle Environment settings
... | Shell |
#!/bin/bash
/sw/bin/dot -Nfontname=Courier -Gfontpath=/System/Library/Fonts $@
| Shell |
#!/bin/bash
/sw/bin/dot -Nfontname=Courier -Gfontpath=/System/Library/Fonts $@
| Shell |
#!/bin/bash
FILE=$1
## Exec Time
DATA=`cat $FILE | grep inferences | cut -d ' ' -f 7`
EXECTIME='='
for i in $DATA
do
EXECTIME="$EXECTIME $i +"
done
## Inferences
DATA=`cat $FILE | grep inferences | cut -d ' ' -f 2 | tr -d ','`
INFERENCES='='
for i in $DATA
do
INFERENCES="$INFERENCES $i +"
done
## Actions
DA... | Shell |
#!/bin/bash
FILE=$1
## Exec Time
DATA=`cat $FILE | grep inferences | cut -d ' ' -f 7`
EXECTIME='='
for i in $DATA
do
EXECTIME="$EXECTIME $i +"
done
## Inferences
DATA=`cat $FILE | grep inferences | cut -d ' ' -f 2 | tr -d ','`
INFERENCES='='
for i in $DATA
do
INFERENCES="$INFERENCES $i +"
done
## Actions
DA... | Shell |
#!/bin/sh
find . -name "*.class" -exec rm -vf {} \;
find . -name "*~" -exec rm -vf {} \;
rm -v *.data
| Shell |
#!/bin/sh
ajc foo/*.aj picweb/*.java Main.java
| Shell |
#!/bin/sh
ajc extensions/*.aj picweb/*.java Main.java
| Shell |
#!/bin/sh
find . -name "*.class" -exec rm -vf {} \;
find . -name "*~" -exec rm -vf {} \;
rm -v *.data
| Shell |
#!/bin/sh
ajc extensions/*.aj picweb/*.java Main.java
| Shell |
#!/bin/sh
javac picweb/*.java Main.java
| Shell |
#!/bin/sh
ajc foo/*.aj picweb/*.java Main.java
| Shell |
#!/bin/sh
javac picweb/*.java Main.java
| Shell |
#!/bin/bash
java -jar jars/antlrworks.jar &
| Shell |
#!/bin/sh
find . -name *~ -exec rm -vf '{}' \;
rm -rvf bin/fr
find . -name *.class -exec rm -vf '{}' \;
find . -name *.tokens -exec rm -vf '{}' \;
rm -vf ./*.jar
| Shell |
#!/bin/sh
if [ -z $ADORE_HOME ]
then
echo "You need to define the ADORE_HOME env. variable"
exit 1
fi
OLD=`pwd`
cd $ADORE_HOME/antlr
CP='fr/unice/i3s/modalis/adore/language/'
echo "####"
echo "## Generating Java Source file"
java -jar jars/antlr-3.1.3.jar -o bin/$CP Adore*.g
echo "## Compiling generate... | Shell |
#!/bin/sh
find . -name *~ -exec rm -vf '{}' \;
rm -rvf bin/fr
find . -name *.class -exec rm -vf '{}' \;
find . -name *.tokens -exec rm -vf '{}' \;
rm -vf ./*.jar
| Shell |
#!/bin/bash
java -jar jars/antlrworks.jar &
| Shell |
#!/bin/sh
if [ -z $ADORE_HOME ]
then
echo "You need to define the ADORE_HOME env. variable"
exit 1
fi
OLD=`pwd`
cd $ADORE_HOME/antlr
CP='fr/unice/i3s/modalis/adore/language/'
echo "####"
echo "## Generating Java Source file"
java -jar jars/antlr-3.1.3.jar -o bin/$CP Adore*.g
echo "## Compiling generate... | Shell |
java -jar 236700-hw4.jar | Shell |
#!/bin/bash
# Copyright 2012 Google, Inc. All rights reserved.
# This script provides a simple way to run benchmarks against previous code and
# keep a log of how benchmarks change over time. When used with the --benchmark
# flag, it runs benchmarks from the current code and from the last commit run
# with --benchmar... | 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/bash
if [[ $1 ]]; then
target=$1
else
target="./data"
fi
read -p "Lowercase all files in $target directory? [y/N] " confirm
if [[ `echo $confirm | tr '[:upper:]' '[:lower:]'` == 'y' ]]; then
for f in $target/*; do
g=`basename "$f" | tr '[:upper:]' '[:lower:]'`
mv -fv "$f" "$target/$g" 2> /dev/null
don... | Shell |
#!/bin/sh
# $Id: cron-lynx.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
# $Id: cron-curl.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
# $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | gre... | Shell |
#!/bin/sh
# $Id: cron-lynx.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
# $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | gre... | Shell |
#!/bin/sh
# $Id: cron-curl.sh,v 1.3 2006/08/22 07:38:24 dries Exp $
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/bash
# build script for pycrypto for Py4a
VERSION=2.3
NAME=pycrypto
URL=http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto
if [ ! -f ${NAME}-${VERSION}.tar.gz ]; then
wget -O ${NAME}-${VERSION}.tar.gz ${URL}/${NAME}-${VERSION}.tar.gz
fi
if [ ! -d ${NAME}-${VERSION} ]; then
rm -rf ${NAME}-${VERSION}
tar -xv... | Shell |
#!/bin/bash
VERSION="r1"
ndk-build
rm -rf out
mkdir out
cp -r twisted out
cp libs/armeabi/_epoll.so _initgroups.so out/twisted/python
cp libs/armeabi/_sigchld.so out/twisted/internet
cp libs/armeabi/_c_urlarg.so out/twisted/protocols
cp libs/armeabi/raiser.so out/twisted/test
pushd out
rm ../twisted-${VERSION}.zip
zi... | Shell |
#!/bin/bash
VERSION="r1"
ndk-build
rm -rf out
mkdir out
cp -r zope out
cp libs/armeabi/*.so out/zope/interface
pushd out
rm ../zope-${VERSION}.zip
zip -r ../zope-${VERSION}.zip .
popd
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (anymote) 0.1
# Libtool was configured on host timberline.bld.corp.google.com:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 20... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.