code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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
# 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-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-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 |
#!/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
rm *.prt
rm *.exp
rm *.lib
rm *.o
cd list
rm list_prt
rm *.exe
rm *.exe.*
rm CMakeCache.txt
rm -rf CMakeFiles
rm *.cmake
rm Makefile
cd ..
cd test
rm test_prt
rm *.exe
rm *.exe.*
rm *.prt
rm CMakeCache.txt
rm -rf CMakeFiles
rm *.cmake
rm Makefile
cd ..
| Shell |
#!/bin/sh
[ -z "$HFS" ] && echo "The HFS environment variable must be set" && exit 1
hcustom -lz -I $HFS/toolkit/include/zlib SOP_prt.cpp
cd test
cmake -G "Unix Makefiles"
make
cd ..
cd list
cmake -G "Unix Makefiles"
make
cd ..
| Shell |
#!/bin/sh
[ -z "$HFS" ] && echo "The HFS environment variable must be set" && exit 1
hcustom -I $HFS/toolkit/include/zlib SOP_prt.cpp
cd test
cmake -G "Unix Makefiles"
make
cd ..
cd list
cmake -G "Unix Makefiles"
make
cd ..
| Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#! /bin/bash
#
# Script to deploy from Github to WordPress.org Plugin Repository
# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn
# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo.
# Source: http... | Shell |
#!/bin/bash
#------------------------------------------------------------------------------------
# wpl2m3u.sh
# guion para convertir una lista de reproducción del
# formato wpl al formato m3u.
# http://en.wikipedia.org/wiki/Windows_Media_Player_Playlist
# http://es.wikipedia.org/wiki/M3U
#-----------------------------... | Shell |
#!/bin/bash
#------------------------------------------------------------------------------------
# wpl2m3u.sh
# guion para convertir una lista de reproducción del
# formato wpl al formato m3u.
# http://en.wikipedia.org/wiki/Windows_Media_Player_Playlist
# http://es.wikipedia.org/wiki/M3U
#-----------------------------... | Shell |
#!/bin/bash
#------------------------------------------------------------------------------------
# wpl2m3u.sh
# guion para convertir una lista de reproducción del
# formato wpl al formato m3u.
# http://en.wikipedia.org/wiki/Windows_Media_Player_Playlist
# http://es.wikipedia.org/wiki/M3U
#-----------------------------... | Shell |
#!/bin/bash
#------------------------------------------------------------------------------------
# wpl2m3u.sh
# guion para convertir una lista de reproducción del
# formato wpl al formato m3u.
# http://en.wikipedia.org/wiki/Windows_Media_Player_Playlist
# http://es.wikipedia.org/wiki/M3U
#-----------------------------... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
if [ "$1" != "" ]; then
OPTIONS="-S $1"
fi
if [ "$2" != "" ]; then
SENTS="-n $2"
else
SENTS="-n 20"
fi
cat S1.gr S1_Vocab.gr S2.gr S2_Vocab.gr Top.gr > GRAMMAR.gr
# add -t if you want to print out trees instead of sentences.
#./randsent -t -n 20 -s START -g S1_GRAMMAR.gr | ./prettyprint
./r... | Shell |
#!/bin/bash
# generate a grammar file containing only
# productions from S2 (all grammar)
#
cat S2.gr S2_Vocab.gr Top.gr | grep -v S1 > S2_GRAMMAR.gr
# parse all the sentences and pretty print the parse trees
cat examples.sen | ./parse -g S2_GRAMMAR.gr
#| ./prettyprint
# compute the cross entropy
cat examples.sen | ... | Shell |
#!/bin/bash
#
# generate a grammar file containing only
# productions from S1 (manually derived grammar)
#
cat S1.gr S1_Vocab.gr Top.gr | grep -v S2 > S1_GRAMMAR.gr
# parse all the sentences and pretty print the parse trees
cat examples.sen | ./parse -g S1_GRAMMAR.gr | ./prettyprint
# cat examples.sen | ./parse -g S1_... | Shell |
#!/bin/bash
# Generate random sentences from the falloff all sentences grammar (S2)
cat S2.gr S2_Vocab.gr Top.gr | grep -v S1 > S2_GRAMMAR.gr
# add -t if you want to print out trees instead of sentences.
#./randsent -t -n 17 -s START -g S2_GRAMMAR.gr | ./prettyprint
./randsent -n 17 -s START -g S2_GRAMMAR.gr
| Shell |
#!/bin/bash
# Generate random sentences only from the S1 Grammar (The English grammar)
cat S1.gr S1_Vocab.gr Top.gr | grep -v S2 > S1_GRAMMAR.gr
# add -t if you want to print out trees instead of sentences.
#./randsent -t -n 20 -s START -g S1_GRAMMAR.gr | ./prettyprint
./randsent -n 20 -s START -g S1_GRAMMAR.gr
| Shell |
#!/bin/bash
# Generate a full grammar from S1 and S2.
cat S1.gr S1_Vocab.gr S2.gr S2_Vocab.gr Top.gr > GRAMMAR.gr
# Run the full grammar through all the example sentences and pretty print them
cat examples.sen | ./parse -g GRAMMAR.gr | ./prettyprint
# compute the cross entropy.
cat examples.sen | ./parse -g GRAMMAR.... | Shell |
if [ -z $1 -a -z $2 ]; then
echo "Fuck you hacker!! :)";
else
(
cd /eval/
echo $1 $2 $3
./eval.sh - $1 $2 $3
)
fi
| Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
for group in aggregated brokendown brokendown-byuser; do
for metric in edit hour byte; do
echo "for $group, $metric: \c"
files=`find dat/paper/$group -print -type f | grep $metric | grep prop`
python src/python/graph_variation.py $files
done
echo
done
| Shell |
#!/bin/sh
for group in aggregated brokendown brokendown-byuser; do
for metric in edit hour byte; do
echo "for $group, $metric: \c"
files=`find dat/paper/$group -print -type f | grep $metric | grep prop`
python src/python/graph_variation.py $files
done
echo
done
| Shell |
in=/scratch/wikipedia/translations/paper
out=/scratch/wikipedia/statistics/paper
#python ./src/python/paper/user_props.py \
# $in/editbytes_preprocessed/post_datefix/ \
# $out/user_props/
#for metric in hours edits bytes; do
for metric in edits bytes; do
python ./src/paper/stratified_sample.py \
$out/... | Shell |
#!/bin/sh
# install.sh
# This script downloads the skeleton template and applies svn:externals
# to create a modular WordPress installation.
# Set the repository path we're working from:
skel_path='http://wp-core.googlecode.com/svn/trunk/skel'
# Make sure we're in a Subversion project directory.
if [ ! -d .svn ]; ... | Shell |
#!/bin/sh
# install.sh
# This script downloads the skeleton template and applies svn:externals
# to create a modular WordPress installation.
# Set the repository path we're working from:
skel_path='http://wp-core.googlecode.com/svn/trunk/skel'
# Make sure we're in a Subversion project directory.
if [ ! -d .svn ]; ... | Shell |
#!/bin/bash
/Applications/flexsdk/bin/mxmlc -debug=true -static-link-runtime-shared-libraries=true -optimize=true -o ../swf/soundmanager2_flash9_debug.swf -file-specs SoundManager2_AS3.as
| Shell |
#!/bin/bash
/Applications/mtasc/mtasc -swf ../swf/soundmanager2_debug.swf -main -header 16:16:30 SoundManager2.as -version 8
| Shell |
#!/bin/bash
/Applications/mtasc/mtasc -swf ../swf/soundmanager2_debug.swf -main -header 16:16:30 SoundManager2.as -version 8
| Shell |
#!/bin/bash
/Applications/flexsdk/bin/mxmlc -debug=true -static-link-runtime-shared-libraries=true -optimize=true -o ../swf/soundmanager2_flash9_debug.swf -file-specs SoundManager2_AS3.as
| Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 4: rewrite wp-config.php >>> BEGIN';
# ============================================================
# step 4: rewrite wp-config.php
# ============================================================
echo "rewriting wp-config.php with new information";
sed... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 2: import database and files >>> BEGIN';
# ============================================================
# step 2: import database and files
# ============================================================
echo "grabbing snapshot of source database from $... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 3: disable caching plugins, if any >>> BEGIN';
# ============================================================
# step 3: disable caching plugins, if any
# ============================================================
if [ -d ${DESTINATION_FOLDER}wp-content... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 1: clear destination folder and database >>> BEGIN';
# ============================================================
# step 1: clear destination folder and database
# ============================================================
echo "removing/recreating ${... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 5: update destination database to reflect new URL >>> BEGIN';
# ============================================================
# step 5: update destination database to reflect new URL
# ============================================================
echo "c... | Shell |
#!/bin/bash
IFS=$'\n';
./make_sandbox.step1.sh
./make_sandbox.step2.sh
./make_sandbox.step3.sh
./make_sandbox.step4.sh
./make_sandbox.step5.sh
| Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 3: disable caching plugins, if any >>> BEGIN';
# ============================================================
# step 3: disable caching plugins, if any
# ============================================================
if [ -d ${DESTINATION_FOLDER}wp-content... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 2: import database and files >>> BEGIN';
# ============================================================
# step 2: import database and files
# ============================================================
echo "grabbing snapshot of source database from $... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 4: rewrite wp-config.php >>> BEGIN';
# ============================================================
# step 4: rewrite wp-config.php
# ============================================================
echo "rewriting wp-config.php with new information";
sed... | Shell |
#!/bin/bash
IFS=$'\n';
./make_sandbox.step1.sh
./make_sandbox.step2.sh
./make_sandbox.step3.sh
./make_sandbox.step4.sh
./make_sandbox.step5.sh
| Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 5: update destination database to reflect new URL >>> BEGIN';
# ============================================================
# step 5: update destination database to reflect new URL
# ============================================================
echo "c... | Shell |
#!/bin/bash
source make_sandbox.cfg
IFS=$'\n';
echo '# step 1: clear destination folder and database >>> BEGIN';
# ============================================================
# step 1: clear destination folder and database
# ============================================================
echo "removing/recreating ${... | Shell |
#!/bin/bash
# Usage = ./wpsnitch -t 192.168.1.1-255 -s mysession
# Thanks TAPE for letting me use your colors, Thanks n1tr0 for testing the script in Kali!
STD=$(echo -e "\e[0;0;0m") #Revert fonts to standard colour/format
RED=$(echo -e "\e[1;31m") #Alter fonts to red bold
REDN=$(echo -e "\e[0;31m") #Alter fonts to... | Shell |
cd ..
rm -rf obj
cd jni
ndk-build
cd ..
cd service/project/SRPIrrlichtES2Engine/android
rm -rf libs
rm -rf obj
cd jni
ndk-build
cd ..
#------------
cp libs/armeabi/libSRPIrrlichtES2EngineBasicModule.so ../../../win32/SRPIrrlichtES2Engine/SRPIrrlichtES2EngineBasicModule_android.so
cd ../../../../android
| Shell |
#!/bin/sh
echo "
There is no \"configure\" script in this distribution of
libpng-1.2.39.
Instead, please copy the appropriate makefile for your system from the
\"scripts\" directory. Read the INSTALL file for more details.
Update, July 2004: you can get a \"configure\" based distribution
from th... | Shell |
#! /bin/sh
# libpng-config
# provides configuration info for libpng.
# Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# Modeled after libxml-config.
version... | Shell |
#! /bin/sh
# libpng-config
# provides configuration info for libpng.
# Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# Modeled after libxml-config.
version... | Shell |
#! /bin/sh
# libpng-config
# provides configuration info for libpng.
# Copyright (C) 2002 Glenn Randers-Pehrson
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# Modeled after libxml-config.
version=1.2.39
prefix=""... | Shell |
#! /bin/sh
# libpng-config
# provides configuration info for libpng.
# Copyright (C) 2002 Glenn Randers-Pehrson
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# Modeled after libxml-config.
version=1.2.39
prefix=""... | Shell |
#!/bin/sh
make -f makefile.std
sh png2pnm.sh
sh pnm2png.sh
| Shell |
#!/bin/sh
# -- grayscale
./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm
./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm
./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm
./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm
./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm
# -- full-col... | Shell |
#!/bin/sh
# -- grayscale
./pnm2png basn0g01.pgm basn0g01.png
./pnm2png basn0g02.pgm basn0g02.png
./pnm2png basn0g04.pgm basn0g04.png
./pnm2png basn0g08.pgm basn0g08.png
./pnm2png basn0g16.pgm basn0g16.png
# -- full-color
./pnm2png basn2c08.ppm basn2c08.png
./pnm2png basn2c16.ppm basn2c16.png
# -- palletted
.... | Shell |
#!/bin/sh
# -- grayscale
./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm
./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm
./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm
./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm
./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm
# -- full-col... | Shell |
#!/bin/sh
make -f makefile.std
sh png2pnm.sh
sh pnm2png.sh
| Shell |
#!/bin/sh
# -- grayscale
./pnm2png basn0g01.pgm basn0g01.png
./pnm2png basn0g02.pgm basn0g02.png
./pnm2png basn0g04.pgm basn0g04.png
./pnm2png basn0g08.pgm basn0g08.png
./pnm2png basn0g16.pgm basn0g16.png
# -- full-color
./pnm2png basn2c08.ppm basn2c08.png
./pnm2png basn2c16.ppm basn2c16.png
# -- palletted
.... | Shell |
cp ../../gregbook/rpng2-x.c ../../gregbook/readpng2.[ch] .
cp ../../gregbook/COPYING ../../gregbook/LICENSE .
cp ../../../*.h .
cp ../../../*.c .
rm example.c pnggccrd.c pngvcrd.c pngtest.c pngw*.c
# change the following 2 lines if zlib is somewhere else
cp ../../../../zlib/*.h .
cp ../../../../zlib/*.c .
rm mi... | Shell |
cp ../../pngminus/png2pnm.c pngm2pnm.c
cp ../../../*.h .
cp ../../../*.c .
rm example.c pnggccrd.c pngvcrd.c pngtest.c pngpread.c pngw*.c
# change the following 2 lines if zlib is somewhere else
cp ../../../../zlib/*.h .
cp ../../../../zlib/*.c .
rm minigzip.c example.c compress.c deflate.c
| Shell |
cp ../../pngminus/pnm2png.c pnm2pngm.c
cp ../../../*.h .
cp ../../../*.c .
rm example.c pnggccrd.c pngvcrd.c pngtest.c pngr*.c pngpread.c
# Change the next 2 lines if zlib is somewhere else.
cp ../../../../zlib/*.h .
cp ../../../../zlib/*.c .
rm inf*.[ch]
rm minigzip.c example.c
| Shell |
#!/bin/bash
# see the README file for usage etc.
#
# ------------------------------------------------------------------
# This file is part of bzip2/libbzip2, a program and library for
# lossless, block-sorting data compression.
#
# bzip2/libbzip2 version 1.0.5 of 10 December 2007
# Copyright (C) 1996-2007 Julian S... | 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 file for usage etc.
#
# ------------------------------------------------------------------
# This file is part of bzip2/libbzip2, a program and library for
# lossless, block-sorting data compression.
#
# bzip2/libbzip2 version 1.0.5 of 10 December 2007
# Copyright (C) 1996-2007 Julian S... | 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 |
# 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 ... | 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 t... | Shell |
#! /bin/sh
# ltconfig - Create a system-specific libtool.
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file 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
# 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 f... | Shell |
#! /bin/sh
# ltconfig - Create a system-specific libtool.
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file 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
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp='2009-04-17'
# This file is (in principle) common to ALL GNU software.
# The presenc... | 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, 2007, 2008
# Free Software Foundation, Inc.
timestamp='2009-04-27'
# This file is free software; you can redistribute it and/or modify it
# ... | 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 t... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.