code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # bayfiles.com module # Copyright (c) 2012 Plowshare team # # This file is part of Plowshare. # # Plowshare 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 3 of the License, or # (...
Shell
#!/bin/bash # # hotfile.com module # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare 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 3 of the License, or...
Shell
#!/bin/bash # # uploaded.to module # Copyright (c) 2011 Krompo@speed.1s.fr # Copyright (c) 2012 Plowshare team # # This file is part of Plowshare. # # Plowshare 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, ...
Shell
#!/bin/bash -e # # Retrieve list of links from a shared-folder (sharing site) url # Copyright (c) 2010-2012 Plowshare team # # Output links (one per line) on standard output. # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General...
Shell
#!/bin/bash # # Common set of functions used by modules # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare 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...
Shell
#!/bin/bash -e # # Delete a file from file sharing servers # Copyright (c) 2010-2012 Plowshare team # # This file is part of Plowshare. # # Plowshare 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 vers...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
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
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/bin/sh # $Id: run 3151 2010-02-27 14:56:01Z eldering $ # Run wrapper-script called from 'testcase_run.sh'. # See that script for more info. # # Usage: $0 <program> <testin> <output> <error> <exitfile> # # <program> Executable of the program to be run. # <testin> File containing test-input. # <output> File w...
Shell
#!/usr/bin/env bash # Script to test (run and compare) submissions with a single testcase # # $Id: testcase_run.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <testdata.in> <testdata.out> <timelimit> <workdir> # [<special-run> [<special-compare>]] # # <testdata.in> File containing test-input. # <te...
Shell
#!/bin/sh # Generated shell-script to execute java interpreter on source. exec java -Xrs -Xss8m -Xmx224288k A
Shell
#!/bin/sh # $Id: run 3151 2010-02-27 14:56:01Z eldering $ # Run wrapper-script called from 'testcase_run.sh'. # See that script for more info. # # Usage: $0 <program> <testin> <output> <error> <exitfile> # # <program> Executable of the program to be run. # <testin> File containing test-input. # <output> File w...
Shell
#!/bin/sh # Generated shell-script to execute java interpreter on source. exec java -Xrs -Xss8m -Xmx224288k A
Shell
#!/usr/bin/env bash # Script to compile submissions. # # $Id: compile.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <ext> <lang> <workdir> # # <ext> Extension of the source: <workdir>/compile/source.<ext> # <lang> Language of the source, see config-file for details. # <workdir> Ba...
Shell
#!/bin/sh # $Id: gendbpasswords 2916 2009-10-16 18:21:19Z eldering $ # Script to generate database passwords. Passwords will be written to stdout, # you can redirect stdout to etc/dbpasswords.secret # Exit on any error: set -e echo "# Format: '<role>:<db_host>:<db_name>:<user>:<password>'" for group in team jury pub...
Shell
#!/bin/sh # $Id: dj_make_chroot 3302 2010-08-09 18:39:20Z eldering $ # # Script to generate a minimal chroot environment with Sun Java # support to allow for Java programs to run in a chroot. # # This script downloads and installs a Debian base system. # Minimum requirements: a Linux system with glibc >= 2.3, wget, ar ...
Shell
# $Id: test-hello.sh 3302 2010-08-09 18:39:20Z eldering $ # # This should give CORRECT on the default problem 'hello'. # # @EXPECTED_RESULTS@: CORRECT echo "Hello world!" exit 0
Shell
#!/bin/sh # Run some Syntax checking tests on PHP and Shell scripts if [ -x /usr/bin/php ]; then for i in `find .. -name *.php`; do php -l $i | grep -v "^No syntax errors detected in " done for i in `grep -rsl "#\!.*php" ..|egrep -v '/\.(svn|git)/'|grep -v \.php`; do php -l $i | grep -v "^No syntax errors det...
Shell
#!/bin/sh # $Id: submit_wrapper.sh 3302 2010-08-09 18:39:20Z eldering $ # # Wrapper script for the submit client binary to pass submit server # address, url and possibly other information. # # Use it e.g. by renaming the 'submit' client binary to 'submit-main' # and install this script as 'submit' on the teams' worksta...
Shell
#!/bin/sh # $Id: submit_copy.sh 2665 2009-05-01 23:18:14Z eldering $ # Script to copy a submission file from a team to judge account. # Usage: $0 <team> <fromfile> <tofile> # # Where <team> is the account of the team and <fromfile> and <tofile> # are including full absolute path. # # This script will depend very much ...
Shell
#!/bin/sh # Generated from 'dj-setup-database.in' on mié jun 15 11:00:03 COT 2011. # $Id: dj-setup-database.in 3302 2010-08-09 18:39:20Z eldering $ # This script allows one to perform DOMjudge database setup actions. # See usage below for possible commands and options. set -e ETCDIR="/usr/local/domjudge/domserver/et...
Shell
#!/bin/sh # @configure_input@ # $Id: dj-setup-database.in 3302 2010-08-09 18:39:20Z eldering $ # This script allows one to perform DOMjudge database setup actions. # See usage below for possible commands and options. set -e ETCDIR="@domserver_etcdir@" SQLDIR="@domserver_sqldir@" PASSWDFILE="$ETCDIR/dbpasswords.secr...
Shell
#!/bin/sh # $Id: genteammanuals 3302 2010-08-09 18:39:20Z eldering $ # # Script to generate team manual including actual configuration # settings. Also allows one to pass a WEBBASEURI setting with the # option '-w'. # # Part of the DOMjudge Programming Contest Jury System and licenced # under the GNU GPL. See README an...
Shell
#!/bin/sh # $Id: user_callback.sh 2770 2009-07-11 10:47:47Z eldering $ # Script to check for a file on a team account. # Usage: $0 <team> <filename> # # Where <team> is the account of the team and <filename> the file to # check for with path relative to the user's homedirectory. # # This script will depend very much o...
Shell
#!/bin/sh set -e DJPATH=http://localhost/domjudge/team/identify.php DJDIR=$HOME/.domjudge # Create if not exists yet mkdir -p $DJDIR # Unconditionally enforce correct permissions chown $USER $DJDIR chmod 0700 $DJDIR # Clean up any leftovers rm -f $DJDIR/identify.* # Create TMPFILE=`basename mktemp $DJDIR/identify....
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/bin/sh # Perl compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing ...
Shell
#!/bin/sh # Bash compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing ...
Shell
#!/bin/sh # C++ compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: Use pipes for communication between stages of compilation g++ -W...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script compiles a statically linked binary with gcj. In # addition, it removes some warnings that gcj generates by default # with static compilation. These warnings have confused teams in the # past. SOURCE=...
Shell
#!/bin/sh # C compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: Use pipes for communication between stages of compilation # -lm: ...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script compiles a statically linked binary with gcj. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: U...
Shell
#!/bin/sh # $Id: check_diff.sh 1908 2007-11-25 11:11:20Z sdrongel $ # Simple program for compare_program.sh script: this just runs a diff # comparison between the program and expected output. Should give same # results as the default compare.sh script. # # Additional options to diff can be passed here, like: # -i ...
Shell
#!/bin/sh # $Id: run 3151 2010-02-27 14:56:01Z eldering $ # Run wrapper-script called from 'testcase_run.sh'. # See that script for more info. # # Usage: $0 <program> <testin> <output> <error> <exitfile> # # <program> Executable of the program to be run. # <testin> File containing test-input. # <output> File w...
Shell
#!/bin/sh # $Id: compare_program.sh 3216 2010-06-20 03:58:23Z eldering $ # Compare wrapper-script to be called from 'testcase_run.sh'. # # This script is written to comply with the ICPC Validator Interface Standard # as described in http://www.ecs.csus.edu/pc2/doc/valistandard.html. # # Usage: $0 <testdata.in> <progra...
Shell
#!/usr/bin/env bash # Script to test (run and compare) submissions with a single testcase # # $Id: testcase_run.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <testdata.in> <testdata.out> <timelimit> <workdir> # [<special-run> [<special-compare>]] # # <testdata.in> File containing test-input. # <te...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/bin/sh # Haskell compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O: Optimize # -static: Static link Haskell libraries # -optl-static: Pass '-static' option to the linker ghc -Wall -O -static -optl-static -o $DEST $SOURCE e...
Shell
#!/bin/sh # Awk compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing t...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Sun javac compiler and generates # a shell script to run it with the java interpreter later. # # NOTICE: this compiler script cannot be used with the USE_CHROOT # configuration o...
Shell
#!/usr/bin/env bash # Script to compile submissions. # # $Id: compile.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <ext> <lang> <workdir> # # <ext> Extension of the source: <workdir>/compile/source.<ext> # <lang> Language of the source, see config-file for details. # <workdir> Ba...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" MAINCLASS="" TMPFILE=`mktemp /tmp/domjudge_gcj_output.XXXXXX` || exit 1 # Byte-compile: # -Wall: Report all warnings gcj -d . -Wall -C "$SOURCE" 2> "$TMPFILE" EXITCODE=$? if [ "$EXITCODE" -...
Shell
#!/bin/sh # C# compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the GNU mono compiler and generates # a shell script to run it with the mono CLI code generator later. # # NOTICE: this compiler script cannot be used with the USE_CHROOT # configurati...
Shell
#!/bin/sh # $Id: chroot-startstop.sh 3209 2010-06-12 00:13:43Z eldering $ # Script to setup chroot environment extras needed for Sun Java. # # Configure the use of this script in 'etc/judgehost-config.php' when # using the chroot environment and Sun Java compiler/interpreter and # adapt this script to your environment...
Shell
#!/bin/sh # Psacal compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -viwn: Verbose warnings, notes and informational messages # -02: Level 2 optimizations (default for speed) # -Sg: Support label and goto commands (for those who need it ;-) # -XS: Static...
Shell
#!/bin/sh # Python compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowin...
Shell
echo "Running aclocal..." ; aclocal -I m4 || exit 1 echo "Running autoheader..." ; autoheader || exit 1 echo "Running autoconf..." ; autoconf || exit 1 ./configure "$@"
Shell
# Error handling and logging functions # # $Id: lib.error.sh 2649 2009-04-10 15:17:02Z eldering $ # Loglevels (as defined in syslog.h) LOG_EMERG=0 LOG_ALERT=1 LOG_CRIT=2 LOG_ERR=3 LOG_WARNING=4 LOG_NOTICE=5 LOG_INFO=6 LOG_DEBUG=7 # Default verbosity and loglevels: VERBOSE=$LOG_NOTICE LOGLEVEL=$LOG_DEBUG logmsg () { ...
Shell
#!/bin/sh # $Id: alert 3302 2010-08-09 18:39:20Z eldering $ # This script will be called by different parts of the DOMjudge system # and allows the administrator to flexibly configure a way to get # notified of important messages. By default this script calls 'beep' # if available. # Calling syntax: $0 <msgtype> [<de...
Shell
#!/bin/sh # $Id: dj_make_chroot 3302 2010-08-09 18:39:20Z eldering $ # # Script to generate a minimal chroot environment with Sun Java # support to allow for Java programs to run in a chroot. # # This script downloads and installs a Debian base system. # Minimum requirements: a Linux system with glibc >= 2.3, wget, ar ...
Shell
#!/bin/sh # n1 -eq n2 Check to see if n1 equals n2. # n1 -ne n2 Check to see if n1 is not equal to n2. # n1 -lt n2 Check to see if n1 < n2. # n1 -le n2 Check to see if n1 <= n2. # n1 -gt n2 Check to see if n1 > n2. # n1 -ge n2 Check to see if n1 >= n2. #file=../doc/movies.xml file=...
Shell
#!/bin/sh # n1 -eq n2 Check to see if n1 equals n2. # n1 -ne n2 Check to see if n1 is not equal to n2. # n1 -lt n2 Check to see if n1 < n2. # n1 -le n2 Check to see if n1 <= n2. # n1 -gt n2 Check to see if n1 > n2. # n1 -ge n2 Check to see if n1 >= n2. #file=../doc/movies.xml file=...
Shell
#!/bin/sh # # $Id: autogen.sh 75 2005-11-11 09:12:34Z jiez $ # # Copyright (C) 2002, 2003 ETC s.r.o. # # 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 y...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-02-09.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-02-02.21 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-02-02.21 # 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=2005-02-09.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-02-08.22 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-02-10' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file sug...
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 Free Software Foundation, Inc. timestamp='2005-02-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU Gene...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-02-02.21 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-02-08.22 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-02-02.21 # 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 # # $Id: autogen.sh 75 2005-11-11 09:12:34Z jiez $ # # Copyright (C) 2002, 2003 ETC s.r.o. # # 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 y...
Shell
#!/bin/sh # # $Id: autogen.sh 75 2005-11-11 09:12:34Z jiez $ # # Copyright (C) 2002, 2003 ETC s.r.o. # # 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 y...
Shell
#!/bin/sh # # $Id: autogen.sh 75 2005-11-11 09:12:34Z jiez $ # # Copyright (C) 2002, 2003 ETC s.r.o. # # 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 y...
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_FILE=mupdf-snapshot-20111207.tar.gz MUPDF=mupdf #MUPDF_FILE=mupdf-0.9-source.tar.gz #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/../de...
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 # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
Shell
#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distri...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997 Free Software Foundation, Inc. # Franc,ois 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 Public License as publis...
Shell
#! /bin/sh # Configuration validation subroutine script, version 1.1. # Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GN...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. # # 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 Free Software Foundation; either versi...
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 (C) 1996, 1997 Free Software Foundation, Inc. # Franc,ois 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 Public License as publis...
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.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
Shell
cd /opt/install wget http://acalnmp52.googlecode.com/svn/proftpd-1.3.4d.tar.gz tar xzf proftpd-1.3.4d.tar.gz cd proftpd-1.3.4d ./configure '--prefix=/usr/local/proftpd' '--with-modules=mod_sql:mod_sql_mysql:mod_tls' --enable-ssl make -j 4 make install sed -i "s/nogroup/nobody/" /usr/local/proftpd/etc/proftpd.con...
Shell
cd /opt wget "http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.2/zabbix-2.2.2.tar.gz?r=http%3A%2F%2Fwww.zabbix.com%2Fdownload.php&ts=1395217586&use_mirror=jaist" tar xzf zabbix-2.2.2.tar.gz cd zabbix-2.2.2 ./configure --enable-agent --prefix=/usr/local/zabbix make -j 4 make install ...
Shell
cd /opt/ wget -O master.zip https://github.com/mongodb/mongo-php-driver/archive/master.zip unzip master.zip cd mongo-php-driver-master /usr/local/php5/bin/phpize ./configure --with-php-config=/usr/local/php5/bin/php-configmake -j 8 make install cd /opt wget http://pecl.php.net/get/memcache-2.2.7.tgz tar xzf ...
Shell
cd /opt wget http://acalnmp52.googlecode.com/svn/nload-0.7.4.tar.gz tar xzf nload-0.7.4.tar.gz cd nload-0.7.4 ./configure make -j 8 make install
Shell
mkdir -pv /opt/install cd /opt/install wget http://download.redis.io/releases/redis-2.8.7.tar.gz tar xzf redis-2.8.7.tar.gz cd redis-2.8.7 make -j 4 make install bash utils/install_server.sh echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf sysctl -p
Shell
yum install -y libtool patch make gcc gcc-c++ flex bison file libtool libtool-libs autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel gd gd-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel ...
Shell
yum install -y yum* vim wget gcc sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux setenforce 0 iptables -F yum install yum* -y yum install -y mysql-devel mysql-server /etc/init.d/mysqld start rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.n...
Shell
#!/bin/sh -e ./test_bitstream ./test_estimatebit ./test_qrencode ./test_qrinput ./test_qrspec ./test_rs ./test_split ./test_mask ./test_mqrspec ./test_mmask ./test_monkey
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-10-06.20; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 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 t...
Shell
# libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; 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