code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
die()
{
message=$1
echo "$message"
test -n "$MYDEV" && hdiutil eject $MYDEV
/bin/rm -f $TMPDMG
exit 1
}
version=${1:-snapshot-`date +%Y%m%d`}
top_dir=${2:-.}
output_dir=${3:-.}
package=${4:-shakespeer}
TMPDMG=$top_dir/shakespeer-tmp$$.dmg
/bin/rm -f $TMPDMG
test -x "$top_dir/sphubd/sph... | Shell |
#!/bin/sh
# Fetches the list of 2-letter country codes from ISO's webpage and
# formats them suitable to insert in a linked list.
cat <<HEADER
/* This is a generated file by gen_country_map.sh. Don't edit, edit the source instead. */
#include "sys_queue.h"
#include <string.h>
#include <stdlib.h>
struct country
{
... | Shell |
#!/bin/sh
# Fetches the list of 2-letter country codes from ISO's webpage and
# formats them suitable to insert in a linked list.
cat <<HEADER
/* This is a generated file by gen_country_map.sh. Don't edit, edit the source instead. */
#include "sys_queue.h"
#include <string.h>
#include <stdlib.h>
struct country
{
... | Shell |
#!/bin/sh
diff /tmp/share_save_test_2/MyList - <<EOF
tmp
folder
prout
this_file_should_be_in_folder_prout_folder|30517
folder 1
this_file_should_be_in_folder_1_folder|8847
EOF
if test "$?" != "0"; then
exit 1
else
echo "generated /tmp/share_save_test_2/MyList is correct"
fi
diff /tmp/share_save... | Shell |
#!/bin/sh
# verify the download request commands sent in client_test.c
# extra newline needed for diff
echo >> /tmp/client_test.log
diff -u /tmp/client_test.log - <<EOF
\$Get share\foo-file.zip\$1|\$ADCGET file TTH/ABCDEFGHIJKLMNOPQRSTUVWXYZ234 0 17|\$ADCGET file files.xml.bz2 0 -1|
EOF
rc=$?
if test "$rc" != "0";... | Shell |
#!/bin/sh
diff /tmp/MyList - <<EOF
tmp
test1
test2
test2sub1
test2sub1file1|12345
test2sub1file2|876334232
test2sub2
test2sub3
test3
test3file3|342345
test3file4|743334232
test3sub1
test3sub2
test3sub3
test4sub2
test4sub3
test4sub1
EOF
if test "$?" != "0"; then
ex... | Shell |
#!/bin/sh
# verify the download request commands sent in client_test.c
# extra newline needed for diff
echo >> /tmp/client_test.log
diff -u /tmp/client_test.log - <<EOF
\$Get share\foo-file.zip\$1|\$ADCGET file TTH/ABCDEFGHIJKLMNOPQRSTUVWXYZ234 0 17|\$ADCGET file files.xml.bz2 0 -1|
EOF
rc=$?
if test "$rc" != "0";... | Shell |
#!/bin/sh
diff /tmp/share_save_test_2/MyList - <<EOF
tmp
folder
prout
this_file_should_be_in_folder_prout_folder|30517
folder 1
this_file_should_be_in_folder_1_folder|8847
EOF
if test "$?" != "0"; then
exit 1
else
echo "generated /tmp/share_save_test_2/MyList is correct"
fi
diff /tmp/share_save... | Shell |
#!/bin/sh
diff /tmp/MyList - <<EOF
tmp
test1
test2
test2sub1
test2sub1file1|12345
test2sub1file2|876334232
test2sub2
test2sub3
test3
test3file3|342345
test3file4|743334232
test3sub1
test3sub2
test3sub3
test4sub2
test4sub3
test4sub1
EOF
if test "$?" != "0"; then
ex... | Shell |
#!/bin/sh
. ./version.mk
echo "Generating automatic update check plist for version ${VERSION}"
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > sp.plist
echo "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" >> sp.plist
echo "<plist version=\"1.0... | Shell |
#!/bin/sh
. ./version.mk
echo "Generating automatic update check plist for version ${VERSION}"
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > sp.plist
echo "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" >> sp.plist
echo "<plist version=\"1.0... | Shell |
#!/bin/sh
# this script must be executed with an absolute path
dir=`dirname $0`
sphubd=$dir/sphubd
args=""
while test -n "$1"; do
args=$args" '"$1"'"
shift
done
cat >/tmp/gdb-sphubd.tmp <<EOF
echo launching sphubd:\n
echo executable: "$sphubd"\n
echo arguments: -f $args -d debug\n
echo ============================... | Shell |
#!/bin/sh
# this script must be executed with an absolute path
dir=`dirname $0`
sphubd=$dir/sphubd
args=""
while test -n "$1"; do
args=$args" '"$1"'"
shift
done
cat >/tmp/gdb-sphubd.tmp <<EOF
echo launching sphubd:\n
echo executable: "$sphubd"\n
echo arguments: -f $args -d debug\n
echo ============================... | Shell |
#!/bin/sh
# this script must be executed with an absolute path
dir=`dirname $0`
sphubd=$dir/sphubd
args=""
while test -n "$1"; do
args=$args" '"$1"'"
shift
done
cat >/tmp/gdb-sphubd.tmp <<EOF
echo launching sphubd:\n
echo executable: "$sphubd"\n
echo arguments: -f $args -d debug\n
echo ============================... | Shell |
#!/bin/sh
# this script must be executed with an absolute path
dir=`dirname $0`
sphubd=$dir/sphubd
args=""
while test -n "$1"; do
args=$args" '"$1"'"
shift
done
cat >/tmp/gdb-sphubd.tmp <<EOF
echo launching sphubd:\n
echo executable: "$sphubd"\n
echo arguments: -f $args -d debug\n
echo ============================... | Shell |
#!/bin/bash
curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz
tar -zxvf tesseract-ocr-3.02.02.tar.gz
tar -zxvf leptonica-1.69.tar.gz
rm -f tesseract-ocr-3.02.02.tar.gz
rm -f leptonica-1.69.tar.gz
mv tesseract-ocr jni/com_g... | Shell |
#!/bin/bash
curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz
tar -zxvf tesseract-ocr-3.02.eng.tar.gz
rm -f tesseract-ocr-3.02.eng.tar.gz
mkdir data
mv tesseract-ocr data/tesseract
adb push data/ /sdcard/
adb shell sync
| Shell |
#!/bin/bash
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell |
#
# afkap
#
set -o vi
if test -r $HOME/.afkaprc; then
. $HOME/.afkaprc
fi
AFKAP_REPO="https://afkap.googlecode.com/svn"
# afkap() - function to provide help, svn subcmds and such
#
afkap() {
case "$1" in
"help")
grep '^#..*()' $HOME/afkap
;;
"svn")
case "$2" in
"ls") svn ls $AFKAP_REPO;;... | Shell |
diff -rupN sleuthkit-3.0.1/configure.ac sleuthkit-3.0.1_aff4/configure.ac
diff -rupN sleuthkit-3.0.1/tsk3/img/img_open.c sleuthkit-3.0.1_aff4/tsk3/img/img_open.c
diff -rupN sleuthkit-3.0.1/tsk3/img/img_types.c sleuthkit-3.0.1_aff4/tsk3/img/img_types.c
diff -rupN sleuthkit-3.0.1/tsk3/img/Makefile.am sleuthkit-3.0.1_aff4... | Shell |
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script,... | Shell |
#!/bin/sh
rm -rf autom4te.cache
rm -f configure config.h.in
autoheader || exit 1
autoconf || exit 1
rm -rf autom4te.cache
echo "Now run ./configure and then make."
exit 0
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/usr/bin/env bash
shopt -s -o nounset
#
# HonSSH management script.
#
# Date: 2014, March 1
# Version: 1.2.3
#
# Copyright (c) 2014, Are Hansen - Honeypot Development.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are
# permi... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
#if distribute_mode=0 , uncomment next lines to allocate single or multiple processors dedicated to this app.
#/usr/sbin/psrset -d 0
#/usr/sbin/psrset -d 1
#/us... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
#if distribute_mode=0 , uncomment next lines to allocate single or multiple processors dedicated to this app.
#/usr/sbin/psrset -d 0
#/usr/sbin/psrset -d 1
#/us... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
rm -f results
rm -f tblResults
#isviewary="0 64 128 192 256 320 384"
isviewary="0"
#number of time throughput experiment is conducted
seconds="3"
#if dedicat... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
#if distribute_mode=0 , uncomment next lines to allocate single or multiple processors dedicated to this app.
#/usr/sbin/psrset -d 0
#/usr/sbin/psrset -d 1
#/us... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
rm -f results
rm -f tblResults
#isviewary="0 64 128 192 256 320 384"
isviewary="0"
#number of time throughput experiment is conducted
seconds="3"
#if dedicat... | Shell |
#!/bin/bash
# software distribution of enqueuers to one processor and dequeuers to the other (available only for SPARC CC compiler!!!)
distributed_mode="0"
#if distribute_mode=0 , uncomment next lines to allocate single or multiple processors dedicated to this app.
#/usr/sbin/psrset -d 0
#/usr/sbin/psrset -d 1
#/us... | Shell |
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
gomake hello fib chain
echo '*' hello >run.out
./hello >>run.out
echo '*' fib >>run.out
./fib >>run.out
echo '*' chain >>run.out
./chain >>run.ou... | Shell |
#!/bin/sh
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
gomake life
echo '*' life >run.out
./life >>run.out
diff run.out golden.out
gomake clean
| Shell |
#!/usr/bin/env bash
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This is a small script for executing go binaries on the android platform.
#
# example:
# ./a 5.out foo bar baz
#
# The script exports the l... | Shell |
#!/bin/sh
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Run nacl binary in debug mode (allow file access)
# and then grep away the chatter.
# See ../../src/pkg/exp/nacl/README for more on
# how to configure... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
. ./env.bash
case "`uname`" in
Darwin)
;;
*)
exit 0
esac
for i in prof cov
do
sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i
... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
if [ ! -f make.bash ]; then
echo 'all.bash must be run from $GOROOT/src' 1>&2
exit 1
fi
. ./make.bash
bash run.bash --no-env --no-rebu... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# The master for this file is $GOROOT/src/quietgcc.bash
# Changes made to $GOBIN/quietgcc will be overwritten.
# Gcc output that we don't care... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
if [ ! -f env.bash ]; then
echo 'make.bash must be run from $GOROOT/src' 1>&2
exit 1
fi
. ./env.bash
if ld --version 2>&1 | grep 'gol... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
eval $(gomake --no-print-directory -f ../Make.inc go-env)
OUT="Make.deps"
TMP="Make.deps.tmp"
if [ -f $OUT ] && ! [ -w $OUT ]; then
echo "$0... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Run the interpreter against all the Go test programs
# that begin with the magic
# // $G $D/$F.go && $L $F.$A && ./$A.out
# line and do not ... | Shell |
#!/usr/bin/env bash
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Check that we can use 'hg'
if ! hg version > /dev/null 2>&1; then
echo 'hg not installed' 1>&2
exit 2
fi
# Get numerical revision
VERSION=... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# If set to a Windows-style path convert to an MSYS-Unix
# one using the built-in shell commands.
if [[ "$GOROOT" == *:* ]]; then
GOROOT=$... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
if [ "$1" = "--no-env" ]; then
# caller has already run env.bash
shift
else
. ./env.bash
fi
unset MAKEFLAGS # single-threaded make
... | Shell |
#!/usr/bin/env bash
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Using all the non-test *.go files in the named directory, write
# out a file /tmp/$USER.try.go to evaluate the expressions on the
# command l... | Shell |
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate builtin.c and builtin.c.boot from $* (runtime.go and unsafe.go).
# Run this after changing runtime.go and unsafe.go
# or after changing the ex... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
eval $(gomake --no-print-directory -f ../../Make.inc go-env)
if [ -z "$O" ]; then
echo 'missing $O - maybe no Make.$GOARCH?' 1>&2
exit 1
fi
... | Shell |
#!/usr/bin/env bash
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Run all.bash but exclude tests that depend on functionality
# missing in QEMU's system call emulation.
export NOTEST=""
NOTEST="$NOTEST bi... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
if [ ! -f env.bash ]; then
echo 'clean.bash must be run from $GOROOT/src' 1>&2
exit 1
fi
. ./env.bash
if [ ! -f Make.inc ] ; then
... | Shell |
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
TXT=${1:-go_tutorial.txt} # input file
HTML=$(basename $TXT .txt).html # output file (basename)
TMP=TEMP.txt # input to htmlgen
if ! test -... | Shell |
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# generate HTML for a program excerpt.
# first arg is file name
# second arg is awk pattern to match start line
# third arg is awk pattern to stop proces... | Shell |
#!/usr/bin/env bash
set -e
wiki_pid=
cleanup() {
kill $wiki_pid
rm -f test_*.out Test.txt final-test.bin final-test.go
}
trap cleanup 0 INT
gomake get.bin
addr=$(./get.bin -addr)
sed s/:8080/$addr/ < final.go > final-test.go
gomake final-test.bin
(./final-test.bin) &
wiki_pid=$!
sleep 1
./get.bin http://$addr/edi... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
eval $(gomake --no-print-directory -f ../../src/Make.inc go-env)
if [ -z "$O" ]; then
echo 'missing $O - maybe no Make.$GOARCH?' 1>&2... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
eval $(gomake --no-print-directory -f ../src/Make.inc go-env)
export E=
case X"$GOARCH" in
Xamd64)
export A=6
;;
X386)
export A=8
;;
Xarm... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
eval $(gomake --no-print-directory -f ../../src/Make.inc go-env)
PATH=.:$PATH
havegccgo=false
if which gccgo >/dev/null 2>&1
then
ha... | Shell |
#!/bin/sh
#
### $Id: run.sh abhayani@redhat.com $ ###
#
# Mobicents Media Server Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents Media Server Bootstrap Script ##
## ... | Shell |
#!/bin/sh
#
### $Id: run.sh abhayani@redhat.com $ ###
#
# Mobicents Media Server Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents Media Server Bootstrap Script ##
## ... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SS7 CLI Bootstrap Script ##
## ##... | Shell |
#!/bin/bash
#
# Align probes from affymetrix porcine chip na30 against pig genome using tophat
#
#----------------------[ Add bowtie and tophat to PATH ]-----------------------
# Uncomment as necessary
PATH=$PATH:/exports/work/vet_roslin_nextgen/dario/bowtie/current/
PATH=$PATH:/exports/work/vet_roslin_nex... | Shell |
#!/bin/bash
#
# Align probes from affymetrix porcine chip na30 against pig genome using tophat
#
#----------------------[ Add bowtie and tophat to PATH ]-----------------------
# Uncomment as necessary
PATH=$PATH:/exports/work/vet_roslin_nextgen/dario/bowtie/current/
PATH=$PATH:/exports/work/vet_roslin_nex... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from shadows of superkaramba theme a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identi... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# Trebol-A 2005 (info@trebol-a.com)
# http://www.trebol-a.com
#
# This script cropped your picture and create eight new images from a new decoration theme of a-foto
# Use: ./recorte.sh file.png border_top border_left border_right border_bottom
# Example: ./recorte.sh wood.png 10 10 10 20
ancho=`identify -... | Shell |
#! /bin/sh
# this script uses ImageMagic to cut the needed portions out of png
# upper left
convert frame.png -gravity NorthWest -crop 20x15+0+0 +repage t_aa.png
# upper right
convert frame.png -gravity NorthEast -crop 20x15+0+0 +repage t_ac.png
# lower left
convert frame.png -gravity SouthWest -crop 20x25+0+0 +repag... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.