code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
###############################################################################
#
# File: cscope-indexer
# RCS: $Header: /cvsroot/cscope/cscope/contrib/xcscope/cscope-indexer,v 1.2 2001/06/28 04:39:47 darrylo Exp $
# Description: Script to index files for cscope
#
# This script generates a... | Shell |
export TERM=xterm-256color
shopt -s histappend
export PROMPT_COMMAND="history -a; history -n"
export HISTFILESIZE=10000
export HISTCONTROL=ignoredups
alias ls='ls --color=auto'
alias mv='mv -i'
alias cp='cp -i'
alias df='df -h'
alias grep='grep --color=auto'
if [ -f /usr/bin/ack-grep ]; then
alias ack='ack-grep... | Shell |
#!/bin/bash -x
ls | xargs -t -I{} ln {} ~/.{}
| Shell |
#!/bin/sh
EMACS=${EMACS:-emacs};
STYLE=$1;
if [ -z $1 ]; then
STYLE=Make
fi
rm -r /tmp/CEDET_INTEG*
if $EMACS -q -l ../common/cedet.el -l cit-load.el -f toggle-debug-on-error -f toggle-debug-on-quit -f cedet-integ-test-${STYLE}; then
# Reverse the meaning of a 0 exit status, as the user had to quit Emacs
... | Shell |
#!/bin/sh
# semanticdb.sh --- Build a semantic cache for input arguments
#
# Copyright (C) 2002, 2004 Eric M. Ludlam
#
# Author: Eric M. Ludlam <zappo@gnu.org>
# Keywords: tags
# X-RCS: $Id: semanticdb.sh,v 1.3 2005/09/30 20:19:32 zappo Exp $
#
# This file is not part of GNU Emacs.
#
# Semanticdb is free software; you ... | Shell |
#!/bin/sh
#
# Author: Michael Olson <http://www.mwolson.org>
#
# License: This file may be used, distributed, and modified without
# restriction.
#
# This is a sample script that shows how to update the timestamps
# file. Note that you have to run the getstamps.py program in your
# source directory, and then move the ... | Shell |
#!/usr/bin/env zsh
# desc:
#
# Output an org compatible structure representing the filesystem from
# the point passed on the command line (or . by default).
#
# options:
# none
#
# usage:
# dir2org.zsh [DIR]...
#
# author:
# Phil Jackson (phil@shellarchive.co.uk)
set -e
function headline {
local dept... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/sh
EMACS=${EMACS:-emacs};
rm -r /tmp/CEDET_INTEG*
$EMACS -q -l ../common/cedet.el -l cit-load.el -f toggle-debug-on-error -f cedet-integ-test
| Shell |
#!/bin/sh
EMACS=${EMACS:-emacs};
rm -r /tmp/CEDET_INTEG*
$EMACS -q -l ../common/cedet.el -l cit-load.el -f toggle-debug-on-error -f cedet-integ-test
| Shell |
#!/bin/sh
# semanticdb.sh --- Build a semantic cache for input arguments
#
# Copyright (C) 2002, 2004 Eric M. Ludlam
#
# Author: Eric M. Ludlam <zappo@gnu.org>
# Keywords: tags
# X-RCS: $Id: semanticdb.sh,v 1.3 2005/09/30 20:19:32 zappo Exp $
#
# This file is not part of GNU Emacs.
#
# Semanticdb is free software; you ... | Shell |
#!/bin/sh
# semanticdb.sh --- Build a semantic cache for input arguments
#
# Copyright (C) 2002, 2004 Eric M. Ludlam
#
# Author: Eric M. Ludlam <zappo@gnu.org>
# Keywords: tags
# X-RCS: $Id: semanticdb.sh,v 1.3 2005/09/30 20:19:32 zappo Exp $
#
# This file is not part of GNU Emacs.
#
# Semanticdb is free software; you ... | Shell |
#!/bin/sh
rm -rf /tmp/.emacs
rm -rf /tmp/.emacs.d
mv ~/.emacs /tmp
mv ~/.emacs.d /tmp
cp .emacs ~/
cp -r .emacs.d ~/
| Shell |
#!/bin/sh
rm -rf /tmp/.emacs
rm -rf /tmp/.emacs.d
mv ~/.emacs /tmp
mv ~/.emacs.d /tmp
cp .emacs ~/
cp -r .emacs.d ~/
| Shell |
#!/bin/sh
#
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
#
# build_config.mk will set the following variables:
# PLATFORM_LDFLAGS Linker flags
# PLATFORM_CCFLAGS C compiler flags
# PLATFORM_CXXFLAGS C++ compiler... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the F... | 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=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
# 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
# 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
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (polo) 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, 2001,... | Shell |
#!/bin/sh
# Before using, you should figure out all the .m4 macros that your
# configure.m4 script needs and make sure they exist in the m4/
# directory.
#
# These are the files that this script might edit:
# aclocal.m4 configure Makefile.in src/config.h.in \
# depcomp config.guess config.sub install-sh missing ... | Shell |
#!/bin/bash
# This script goes through all the python files and tidies them
cd ../;
for dir in doc mingus mingus_examples unittest; do
for file in `find ${dir} -iname "*.py"`; do
echo $file;
./PythonTidy-1.19.python $file > tmp;
chmod --reference=$file tmp;
mv tmp $file;
done;
d... | Shell |
#!/bin/bash
# This script goes through all the python files and tidies them
cd ../;
for dir in doc mingus mingus_examples unittest; do
for file in `find ${dir} -iname "*.py"`; do
echo $file;
./PythonTidy-1.19.python $file > tmp;
chmod --reference=$file tmp;
mv tmp $file;
done;
d... | Shell |
#!/bin/bash
#
# mingus build script
# Builds mingus, registers at PyPi, generates documentation and uploads to Google code
VERSION=`cat ~/mingus/setup.py | grep version | awk -F = '{print $2}' | awk -F \" '{print $2}'`
echo "*******************************************************************************"
echo "***** ... | Shell |
#! /bin/bash
# mingus 0.2
# This little scripts checks the wiki documentation into google
echo mingus 0.2 - Generate wiki documentation and upload to googlecode
echo
echo
echo =========================Generating wiki documentation=========================
echo
~/mingus/doc/generate_wiki_docs.py &&
mv ~/mingus/doc/*.... | Shell |
#! /bin/bash
# mingus 0.2
# This little scripts checks the wiki documentation into google
echo mingus 0.2 - Generate wiki documentation and upload to googlecode
echo
echo
echo =========================Generating wiki documentation=========================
echo
~/mingus/doc/generate_wiki_docs.py &&
mv ~/mingus/doc/*.... | Shell |
#!/bin/bash
#
# mingus build script
# Builds mingus, registers at PyPi, generates documentation and uploads to Google code
VERSION=`cat ~/mingus/setup.py | grep version | awk -F = '{print $2}' | awk -F \" '{print $2}'`
echo "*******************************************************************************"
echo "***** ... | Shell |
prefix=[Package]
echo "$prefix Start packaging ZenS Console"
rm -rf dist
echo "$prefix Running play dist "
play dist
cd dist
for f in *.zip
do
package_filename=$f
package_basename="${package_filename%.*}"
done
unzip $package_filename
echo "$prefix Modifying package for Zens Console "
cp -r ../conf $package_ba... | Shell |
#!/bin/bash
#
# env.conf - configure the robot environment
ROBOT_BASE=/opt/robot/main
export PATH=$PATH:$ROBOT_BASE/bin
cd $ROBOT_BASE/bin
| Shell |
#!/bin/bash
#
# env.conf - configure the robot environment
ROBOT_BASE=/opt/robot/main
export PATH=$PATH:$ROBOT_BASE/bin
cd $ROBOT_BASE/bin
| Shell |
#!/system/bin/sh
#DIR=/data/data/org.gaeproxy
case $1 in
add)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cat /etc/hosts > $DIR/hosts
echo "127.0.0.1 localhost" > /etc/hosts
echo "$2 $3" >> /etc/hosts
echo "" >> /etc/hosts
mount -o ro,remount -t yaffs2... | 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;
}
" >$DIR/redsocks.conf
echo "
redsocks {
local_ip = 127.0.0.1;
local_port = 8123;
ip = 127.0.0.1;
port = $2;
type = http-rel... | Shell |
#!/system/bin/sh
export PYTHONPATH=/data/data/org.gaeproxy/python:/data/data/org.gaeproxy/python/lib/python2.6:/data/data/org.gaeproxy/python/lib/python2.6/lib-dynload:/data/data/org.gaeproxy/python/lib:/sdcard/python-extras
export LD_LIBRARY_PATH=/data/data/org.gaeproxy/python/lib
export PYTHONHOME=$PYTHONHOME:/data/... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU zenom 0.1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.... | 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
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is free... | Shell |
#! /bin/sh
#
###
# $Id: install-sh 5870 2007-06-03 18:36:44Z dejan $
###
#
# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# ve... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}" in
-h | ... | Shell |
#! /bin/sh
# @configure_input@
# libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gary V. Vaughan <gary@gnu.org>, 2003
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MER... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU zenom 0.1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois 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 ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp='2001-09-07'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU soft... | Shell |
#! /bin/sh
# bootstrap -- Helps bootstrapping libtool, when checked out from CVS.
#
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc,
# Mritten by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
# modify it under the ... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp='2001-09-04'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as pu... | Shell |
#! /bin/sh
#
###
# $Id: install-sh 5870 2007-06-03 18:36:44Z dejan $
###
#
# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# ve... | Shell |
#! /bin/sh
# $Id: autogen.sh,v 1.4 2002/12/02 01:39:49 murrayc Exp $
#
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License VERSION 2 as
# published by the Free Software Foundation.... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois 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 ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}" in
-h | ... | Shell |
#! /bin/sh
# bootstrap -- Helps bootstrapping libtool, when checked out from CVS.
#
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc,
# Mritten by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
# modify it under the ... | Shell |
#!/bin/sh
echo "==========================================="
echo " QMath install script "
echo "==========================================="
echo
OS=$(uname)
if [ $OS == 'QNX' ]; then
if(test -z "$QRTS") then
echo " ERROR: Please set the QRTS environment variable before proceeding."
echo " F... | Shell |
#!/bin/sh
echo "==========================================="
echo " QMath install script "
echo "==========================================="
echo
OS=$(uname)
if [ $OS == 'QNX' ]; then
if(test -z "$QRTS") then
echo " ERROR: Please set the QRTS environment variable before proceeding."
echo " F... | Shell |
#! /bin/sh
# $Id: autogen.sh,v 1.4 2002/12/02 01:39:49 murrayc Exp $
#
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License VERSION 2 as
# published by the Free Software Foundation.... | Shell |
#! /bin/sh
# @configure_input@
# libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gary V. Vaughan <gary@gnu.org>, 2003
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MER... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU zenom 0.1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.... | 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
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is free... | Shell |
#! /bin/sh
#
###
# $Id: install-sh 5870 2007-06-03 18:36:44Z dejan $
###
#
# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# ve... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}" in
-h | ... | Shell |
#! /bin/sh
# @configure_input@
# libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gary V. Vaughan <gary@gnu.org>, 2003
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MER... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU zenom 0.1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois 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 ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp='2001-09-07'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU soft... | Shell |
#! /bin/sh
# bootstrap -- Helps bootstrapping libtool, when checked out from CVS.
#
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc,
# Mritten by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
# modify it under the ... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
timestamp='2001-09-04'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as pu... | Shell |
#! /bin/sh
#
###
# $Id: install-sh 5870 2007-06-03 18:36:44Z dejan $
###
#
# Copyright 1998-2007 by Bill Spitzak and others.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# ve... | Shell |
#! /bin/sh
# $Id: autogen.sh,v 1.4 2002/12/02 01:39:49 murrayc Exp $
#
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License VERSION 2 as
# published by the Free Software Foundation.... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois 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 ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}" in
-h | ... | Shell |
#! /bin/sh
# bootstrap -- Helps bootstrapping libtool, when checked out from CVS.
#
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc,
# Mritten by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
# modify it under the ... | Shell |
#!/bin/sh
echo "==========================================="
echo " QMath install script "
echo "==========================================="
echo
OS=$(uname)
if [ $OS == 'QNX' ]; then
if(test -z "$QRTS") then
echo " ERROR: Please set the QRTS environment variable before proceeding."
echo " F... | Shell |
#!/bin/sh
echo "==========================================="
echo " QMath install script "
echo "==========================================="
echo
OS=$(uname)
if [ $OS == 'QNX' ]; then
if(test -z "$QRTS") then
echo " ERROR: Please set the QRTS environment variable before proceeding."
echo " F... | Shell |
#! /bin/sh
# $Id: autogen.sh,v 1.4 2002/12/02 01:39:49 murrayc Exp $
#
# Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License VERSION 2 as
# published by the Free Software Foundation.... | Shell |
#! /bin/sh
# @configure_input@
# libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gary V. Vaughan <gary@gnu.org>, 2003
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MER... | Shell |
#!/bin/bash
BASEDIR=$(dirname $0)
source ~/.bash_profile
cd $BASEDIR
rm -rf ../src
svn update ..
make build_pydoc
make publish_pydoc | Shell |
#!/bin/bash
BASEDIR=$(dirname $0)
source ~/.bash_profile
cd $BASEDIR
rm -rf ../src
svn update ..
make build_pydoc
make publish_pydoc | Shell |
#!/bin/sh
java -d32 -classpath ./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar zephyropen.swing.gui.BluetoothGUI &
# java -classpath "./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar" zephyropen.swing.gui.viewer.DeviceViewer brad & | Shell |
#!/bin/sh
java -d32 -classpath ./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar zephyropen.swing.gui.BluetoothGUI &
# java -classpath "./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar" zephyropen.swing.gui.viewer.DeviceViewer brad & | Shell |
#!/bin/sh
java -classpath ./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar zephyropen.device.DeviceTester brad | Shell |
#!/bin/sh
java -classpath ./bin:./lib/bluecove.jar:./lib/charts4j.jar:./lib/BrowserLauncher.jar zephyropen.device.DeviceTester brad | 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 |
#!/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 |
#!/bin/bash
#
# Script to install the dependencies necessary to make ZenMP3 work in a Mac.
# We assume that the environment already has Python 2.7 installed.
#
# Copyright Vitor Sonoki 2012 - 2015 all rights reserved.
#
# This file is part of ZenMP3
#
# ZenMP3 is free software: you can redistribute it and/or mo... | Shell |
#!/bin/bash
#
# Script to install the dependencies necessary to make ZenMP3 work in a Mac.
# We assume that the environment already has Python 2.7 installed.
#
# Copyright Vitor Sonoki 2012 - 2015 all rights reserved.
#
# This file is part of ZenMP3
#
# ZenMP3 is free software: you can redistribute it and/or mo... | 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
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 |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF=mupdf-0.9
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.tar.gz
tar xvf $OPENJPE... | Shell |
#!/bin/sh
if [ `uname` = "Darwin" ]; then
rm -rf gpuakf.app gpuakf.dmg
qmake -spec macx-g++ -config release
make
macdeployqt gpuakf.app -dmg
else
qmake -config release
make
fi
| Shell |
#!/bin/sh
cd SinglePassTests
./createTestData.sh
cd .. | Shell |
#!/bin/sh
echo "WARNING: this script will create around 4.2GB of random data on your drive, and"
echo " it will take quite a while to do so."
read -p "Press any key to continue or Ctrl+C to quit..."
echo "Creating small (KB) files..."
touch zeroByte.bin
dd if=/dev/urandom of=oneKilobyte.bin bs=1024 count=1
dd... | Shell |
#!/bin/sh
echo "WARNING: this script will fail in unpleasant ways on non-Unicode filesystems."
echo "Creating test files with spaces and long names..."
echo "This file has space characters in its name." > "file with spaces in the name.txt"
echo "This file has an exceptionally long name (longer than 128 characters). It... | Shell |
#!/bin/bash
# Validation
if [ -z $1 ]; then
echo "Please specify the number of files to create as the first command line parameter." >&2
exit 1
fi
if [ -z $2 ]; then
echo "Please specify the target directory in which to write the files as the second command line parameter." >&2
exit 1
fi
if [ $1 -ge 0 ]; the... | Shell |
#!/bin/sh
echo "WARNING: this script will create 111,100 small files on your drive, and"
echo " it will take quite a while to do so."
read -p "Press any key to continue or Ctrl+C to quit..."
echo "Creating 100 files..."
mkdir -p 100files
./createFiles.sh 100 ./100files/
echo "Creating 1000 files..."
mkdir -p... | Shell |
#!/bin/sh
mkdir -p sub1/1.1
mkdir -p sub1/1.2
mkdir -p sub1/1.3
mkdir -p sub1/1.4
mkdir -p sub1/1.5
mkdir -p sub1/1.6
mkdir -p sub1/1.7
mkdir -p sub1/1.8
mkdir -p sub1/1.9
mkdir -p sub1/1.10
mkdir -p sub2/sub2.1/sub2.1.1/sub2.1.1.1/sub2.1.1.1.1/sub2.1.1.1.1.1/sub2.1.1.1.1.1.1/sub2.1.1.1.1.1.1.1
mkdir -p sub3
mkdir -p d... | Shell |
#!/bin/sh
rm -rf readable*
chmod u+rwx unreadable*
rm -rf unreadable*
| Shell |
#!/bin/sh
echo "Creating permissioned and non-permissioned files..."
echo "The quick brown fox jumps over the lazy dogs." > readable.txt
mkdir -p readableDirectory
echo "The quick brown fox jumps over the lazy dogs." > unreadable.txt
mkdir -p unreadableDirectory
chmod ugo-rwx unreadable*
| Shell |
#!/bin/sh
cd DirectoryStructureTests
./createTestData.sh
cd ../FileNameTests
./createTestData.sh
cd ../PermissionTests
./createTestData.sh
cd ../FileVolumeTests
./createTestData.sh
cd ../FileSizeTests
./createTestData.sh
cd .. | Shell |
#!/bin/bash
INDIR=$1
OUTDIR=$2
ERRORS=0
for fn in $INDIR/*.cg
do
name=`basename $fn .cg`
echo "Converting $fn -> $OUTDIR/$name.glsl"
cgc -ogles -C -profile glslf -profileopts version=120,userTexCoord=v_texCoord -o "$OUTDIR/$name.glsl" -entry main_fragment "$fn"
if [ $? != 0 ]; then
echo "Fail"
ERRORS=`expr $E... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.