code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
function del_bom
{
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
}
function add_bom
{
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
}
for L in *.lang ; do
LM=`basename $L .lang`_miss.lang
echo $L $LM
del_bom < $L | msgattrib --untranslated | add_bom > $LM
done
| Shell |
#!/bin/sh
POT=$1
if [ -z "$POT" ]; then
echo "usage: $0 langXX.pot"
exit
fi
function del_bom
{
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
}
function add_bom
{
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
}
for L in *.lang ; do
echo $L
del_bom < $L | msgmerge.exe --sort-output --... | Shell |
#!/bin/sh
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
| Shell |
#!/bin/sh
for L in *.lang ; do
echo $L
./msgreplace.pl "Press " "\b[AB12]\b" "%s" < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "[-+] " "%s " < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "Home" "%s" < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "LEFT/RIGHT" "%s/%s" < $L > $L.new
mv $L.new $L... | Shell |
#!/bin/sh
if [ $# != 3 ]; then
echo "usage: $0 msgid_text search replace"
exit
fi
for L in *.lang ; do
echo $L
./msgreplace.pl "$@" < $L > $L.new
mv $L.new $L
done
| Shell |
#!/bin/sh
if [ -n "$1" ]; then
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);' < "$1" > "$1".tmp
mv "$1".tmp "$1"
else
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
fi
| Shell |
#!/bin/sh
POT=$1
if [ -z "$POT" ]; then
echo "usage: $0 langXX.pot"
exit
fi
function del_bom
{
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
}
function add_bom
{
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
}
for L in *.lang ; do
echo $L
del_bom < $L | msgmerge.exe --sort-output --... | Shell |
#!/bin/sh
for L in *.lang ; do
echo $L
./msgreplace.pl "Press " "\b[AB12]\b" "%s" < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "[-+] " "%s " < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "Home" "%s" < $L > $L.new
mv $L.new $L
./msgreplace.pl "Press " "LEFT/RIGHT" "%s/%s" < $L > $L.new
mv $L.new $L... | Shell |
#!/bin/sh
if [ $# != 3 ]; then
echo "usage: $0 msgid_text search replace"
exit
fi
for L in *.lang ; do
echo $L
./msgreplace.pl "$@" < $L > $L.new
mv $L.new $L
done
| Shell |
#!/bin/sh
if [ -n "$1" ]; then
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);' < "$1" > "$1".tmp
mv "$1".tmp "$1"
else
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
fi
| Shell |
#!/bin/sh
function del_bom
{
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
}
function add_bom
{
perl -e '@file=<>;print "\xEF\xBB\xBF";print(@file);'
}
for L in *.lang ; do
LM=`basename $L .lang`_miss.lang
echo $L $LM
del_bom < $L | msgattrib --untranslated | add_bom > $LM
done
| Shell |
#!/bin/sh
perl -e '@file=<>;$file[0] =~ s/^\xEF\xBB\xBF//;print(@file);'
| Shell |
#!/bin/bash
if [ ! -z "$1" ];
then
if [ ! -s source/buildtype.h ];
then
echo "#define $1" > source/buildtype.h
fi
else
if [[ ! -f source/buildtype.h || -s source/buildtype.h ]];
then
cp /dev/null source/buildtype.h
fi
fi
| Shell |
#!/bin/bash
if [ ! -z "$1" ];
then
if [ ! -s source/buildtype.h ];
then
echo "#define $1" > source/buildtype.h
fi
else
if [[ ! -f source/buildtype.h || -s source/buildtype.h ]];
then
cp /dev/null source/buildtype.h
fi
fi
| Shell |
#!/usr/bin/env bash
mv initial_data.json initial_data.json.bk
python manage.py test wdsched
mv initial_data.json.bk initial_data.json
| Shell |
#!/usr/bin/env bash
mv initial_data.json initial_data.json.bk
python manage.py test wdsched
mv initial_data.json.bk initial_data.json
| Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript format';
... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; export PA... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript format';
... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; export PA... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are passed
#... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are passed
#... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
... | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.DownloadDemo $* | Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.UploadDemo $*
| Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.FolderSettingsDemo $*
| Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.CreateFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.PreviewLinkDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseRecycleBeanDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.SignupDemo $* | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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 version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin
#
# 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 version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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 version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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 version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2012 gelin, 2011 mihovilic
#
# 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 version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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 version 2 of the License, or
# (at... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# 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 version 2 of the License, or
# ... | Shell |
#!/bin/sh
TARGETS=$*
buildin() {
BASE_DIR=$(pwd)
cd $1
ant $TARGETS
cd $BASE_DIR
}
buildin core
buildin skins/black-text
buildin skins/white-text
buildin skins/black-text-plus
buildin skins/white-text-plus
buildin skins/bigger-text
| Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2014 gelin
#
# 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 version 2 of the License, or
# (at your option) an... | Shell |
#!/bin/bash
#
# VIMRC install script
# By Wolfhead Mei
#
# 2011-3-12
#
# get current directory
baseDir=$(cd "$(dirname "$0")"; pwd)
# backup directory
backupDir=$baseDir/backup
function install_vim()
{
echo "You are going to install Wolfhead's VIMRC"
echo "Your current ~/.vim and ~/.vimrc will be ... | Shell |
#!/bin/bash
#
# VIMRC install script
# By Wolfhead Mei
#
# 2011-3-12
#
# get current directory
baseDir=$(cd "$(dirname "$0")"; pwd)
# backup directory
backupDir=$baseDir/backup
function install_vim()
{
echo "You are going to install Wolfhead's VIMRC"
echo "Your current ~/.vim and ~/.vimrc will be ... | Shell |
configure_path="/home/flood/worktemp/bin/configure.xml"
root_dir="/home/flood/worktemp"
cmd="screen /home/flood/worktemp/bin/oj_server --root_dir=\"$root_dir\" --logtostderr=true --log_level=5 --configure_path=\"$configure_path\""
echo $cmd
echo `After the server start up, press Ctrl_a then press d to quit screen moni... | Shell |
./oj_server --root_dir="/home/flood/worktemp" --logtostderr=true --log_level=5 --configure_path="/home/flood/floodprj/server/eg_configure.xml"
| Shell |
configure_path="/home/flood/worktemp/bin/configure.xml"
root_dir="/home/flood/worktemp"
cmd="screen /home/flood/worktemp/bin/oj_server --root_dir=\"$root_dir\" --logtostderr=false --log_level=4 --configure_path=\"$configure_path\""
echo $cmd
echo `After the server start up, press Ctrl_a then press d to quit screen mon... | Shell |
ids=`cat /etc/passwd | grep flood | awk -F ':' '{print "--uid=" $3, "--gid=" $4}'`
cmd="./$1 --root_dir=\"/tmp\" --logtostderr=true --log_level=5 --server_address=\"127.0.0.1\" --server_port=3241 $ids"
echo $cmd
eval $cmd
| Shell |
/home/flood/floodprj/tools/mdp --root_dir="/home/flood/worktemp" --type=30
| Shell |
#!/bin/bash
/home/flood/flood/tools/rejudge --server_ip="127.0.0.1" --server_port=3030 --start=$1 --end=$2 --root_dir="/home/flood/worktemp" --logtostderr=false --log_level=4
| Shell |
#!/bin/bash
/home/flood/flood/tools/rejudge --server_ip="127.0.0.1" --server_port=3030 --start=$1 --end=$2 --root_dir="/home/flood/worktemp" --logtostderr=false --log_level=4
| Shell |
/home/flood/floodprj/tools/mdp --root_dir="/home/flood/worktemp" --type=7
| Shell |
/home/flood/floodprj/tools/mdp --root_dir="/home/flood/worktemp" --type=1
| Shell |
#!/bin/sh
#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
#
# 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... | Shell |
#!/bin/sh
if [ "$#" != "1" ] ; then
echo "Incorrect parameter list"
exit
fi
SO="${1%.mp.ppc.so}"
if [ ! -f ${SO}.mp.ppc.so ] ; then
echo "Missing ${SO}.mp.ppc.so"
exit
fi
pushd build
rm -rf ${SO}_mac.bundle
mkdir ${SO}_mac.bundle
mkdir ${SO}_mac.bundle/Contents
mkdir ${SO}_mac.bundle/Contents/MacOS
cp ../... | Shell |
#!/bin/sh
# I've found that XCode's stripping capabilities are sorely lacking
# plus, it used to copy the game/cgame/ui to the Resource folder
# but it can't copy the right Deployment/Development depending on configuration type
# (or I couldn't get it to)
root=`pwd`
# so this script copies and strips.. (Deployment b... | Shell |
#!/bin/sh
# I've found that XCode's stripping capabilities are sorely lacking
# plus, it used to copy the game/cgame/ui to the Resource folder
# but it can't copy the right Deployment/Development depending on configuration type
# (or I couldn't get it to)
root=`pwd`
# so this script copies and strips.. (Deployment b... | Shell |
#!/bin/sh
if [ "$#" != "1" ] ; then
echo "Incorrect parameter list"
exit
fi
SO="${1%.mp.ppc.so}"
if [ ! -f ${SO}.mp.ppc.so ] ; then
echo "Missing ${SO}.mp.ppc.so"
exit
fi
pushd build
rm -rf ${SO}_mac.bundle
mkdir ${SO}_mac.bundle
mkdir ${SO}_mac.bundle/Contents
mkdir ${SO}_mac.bundle/Contents/MacOS
cp ../... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2003-11-08.23
# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#! /bin/sh
#
# The idea to this kind of setup info script was stolen from numerous
# other packages, such as neon, libxml and gnome.
#
# $Id: curl-config.in,v 1.18 2003/12/08 10:00:21 bagder Exp $
#
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
usage()
{
cat <<EOF
Usage: curl-config [OPTION]
A... | 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
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This pro... | 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
#
# $Id: reconf,v 1.4 2001/05/30 07:59:47 bagder Exp $
#
# re autoconf/automake shell script
#
die(){
echo "$@" ; exit
}
aclocal -I . || die "The command 'aclocal -I .' failed"
autoheader || die "The command 'autoheader' failed"
automake || die "The command 'automake' failed"
autoconf || die "The... | Shell |
#! /bin/sh
#
# The idea to this kind of setup info script was stolen from numerous
# other packages, such as neon, libxml and gnome.
#
# $Id: curl-config.in,v 1.18 2003/12/08 10:00:21 bagder Exp $
#
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
usage()
{
cat <<EOF
Usage: curl-config [OPTION]
A... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.2 2000/01/10 23:36:14 bagder Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#!/bin/sh
die(){
echo "$@"
exit
}
# this works as 'which' but we use a different name to make it more obvious we
# aren't using 'which'! ;-)
findtool(){
file="$1"
IFS=":"
for path in $PATH
do
if test -r "$path/$file"; then
echo "$path/$file"
return
fi
done
}
#------------------------... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2003-11-08.23
# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#!/bin/sh
#
# $Id: reconf,v 1.4 2001/05/30 07:59:47 bagder Exp $
#
# re autoconf/automake shell script
#
die(){
echo "$@" ; exit
}
aclocal -I . || die "The command 'aclocal -I .' failed"
autoheader || die "The command 'autoheader' failed"
automake || die "The command 'automake' failed"
autoconf || die "The... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright 1996, 1997, 1999, 2000 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 General Pu... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-03-12'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-03-12'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | Shell |
#! /bin/sh
# Script to build release-archives with
#
version=$1
if [ -z "$version" ]; then
echo "Specify a version number!"
exit
fi
libversion="$version"
# we make curl the same version as libcurl
curlversion=$libversion
major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"`
minor=`echo $libversion |cut ... | 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
# Common stub for a few missing GNU programs while installing.
# Copyright 1996, 1997, 1999, 2000 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 General Pu... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.2 2000/01/10 23:36:14 bagder Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#!/bin/sh
die(){
echo "$@"
exit
}
# this works as 'which' but we use a different name to make it more obvious we
# aren't using 'which'! ;-)
findtool(){
file="$1"
IFS=":"
for path in $PATH
do
if test -r "$path/$file"; then
echo "$path/$file"
return
fi
done
}
#------------------------... | Shell |
#! /bin/sh
# Script to build release-archives with
#
version=$1
if [ -z "$version" ]; then
echo "Specify a version number!"
exit
fi
libversion="$version"
# we make curl the same version as libcurl
curlversion=$libversion
major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"`
minor=`echo $libversion |cut ... | Shell |
#!/bin/sh
$CC "$@" -static-libgcc "$($CC --print-file-name='libstdc++.a')" -lm
| Shell |
#!/bin/sh
$CC "$@" -static-libgcc "$($CC --print-file-name='libstdc++.a')" -lm
| Shell |
#!/bin/sh
PYTHONPATH=./lib python -3 -W ignore pgn2ecodb.py
| Shell |
#!/bin/sh
PYTHONPATH=./lib python -3 -W ignore create_theme_preview.py
| Shell |
#!/bin/sh
PYTHONPATH=../lib python "$@"
| Shell |
#!/bin/sh
python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
| Shell |
#!/bin/sh
PYTHONPATH=/home/tamas/gbtami-database/lib python -m cProfile -o rep.prof PgnImport.py
python print_pstats.py
| Shell |
#!/bin/sh
xgettext --package-name=pychess -o lang/pychess.pot glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
sed -i '/#, fuzzy/d' lang/pychess.pot
line=""Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n""
sed -i "/${line}/ s/^/# /" lang/pychess.pot
| Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed u... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2011, Cake Software Foundation, Inc.
#
# Licensed u... | Shell |
#!/bin/bash
set -o errexit
set -o nounset
mkdir -p $1
PARAM_DIR=${1:-"/usr/local"}
mkdir -p ${PARAM_DIR}
# In this way we acquire the absolute path to the $PARAM_DIR.
TARGET_DIR=$(cd ${PARAM_DIR}; pwd)
#======================== Installing dependencies =============================
# Temporary directory where the Su... | 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 |
#! /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 |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2013-05-30.07; # UTC
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | Shell |
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2012-06-26.16; # UTC
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it und... | Shell |
#! /bin/sh -e
# Check if gmock is available in main directory,
# otherwise attempt to download it.
if test ! -e gmock; then
echo "Google Mock not present. Fetching gmock-1.6.0 from the web..."
echo "Google Test version 1.6.0 will be there too."
wget http://googlemock.googlecode.com/files/gmock-1.6.0.zip
unzip... | Shell |
#! /bin/sh
# Wrapper for Microsoft lib.exe
me=ar-lib
scriptversion=2012-01-30.22; # UTC
# Copyright (C) 2010, 2012 Free Software Foundation, Inc.
# Written by Peter Rosin <peda@lysator.liu.se>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Lice... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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, 2006,
# 2007, 2008 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mi... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-06-28'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-07-22'
# This file is free software; you can redistribute it and/or modify it
# under the terms of th... | Shell |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | Shell |
#!/bin/sh
python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.