code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash #alpine-backup installer #(C) Copyright 2009-2011 Nicholas Paun. All Rights Reserved. INSTALLDIR="/alpine-backup" #Directory to copy all files to (if set) BINDIR="/usr/sbin" #Directory to copy code LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc. CONFDIR="/etc/alpine-backup/" #Direc...
Shell
#!/bin/bash #alpine-backup installer #(C) Copyright 2009-2011 Nicholas Paun. All Rights Reserved. INSTALLDIR="/alpine-backup" #Directory to copy all files to (if set) BINDIR="/usr/sbin" #Directory to copy code LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc. CONFDIR="/etc/alpine-backup/" #Direc...
Shell
#!/bin/bash #(C) Copyright 2010-2011 Nicholas Paun. All Rights Reserved. echo -e "\n\n>>> Summary: <<<" grep "* Backup" /tmp/backup-out.$$ rm /tmp/backup-out.$$ #echo -e "\n(Backup finished at `date '+%F %R'`)"
Shell
#!/bin/bash # alp-dbrestore: restore incremental database backups # (C) Copyright 2011 Nicholas Paun. All Rights Reserved. # Syntax: alp-dbrestore: <database> <backup-directory> if [[ $1 = "-h" ]]; then echo "alp-dbrestore: restore incremental database backups" echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese...
Shell
#!/bin/bash # alp-dbrestore: restore incremental database backups # (C) Copyright 2011 Nicholas Paun. All Rights Reserved. # Syntax: alp-dbrestore: <database> <backup-directory> if [[ $1 = "-h" ]]; then echo "alp-dbrestore: restore incremental database backups" echo "(C) Copyright 2011 Nicholas Paun. All Rights Rese...
Shell
#!/bin/bash #(C) Copyright 2010 Nicholas Paun. All Rights Reserved. SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here echo -e "\e[00;32mYour System\e[00m" echo "Hostname: $HOST" echo "Date: `date`" echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1) echo -e "\n\e[00;32mYour Crontab\e[00m...
Shell
#!/bin/bash #(C) Copyright 2010-2011 Nicholas Paun. All Rights Reserved. echo -e "\n\n>>> Summary: <<<" grep "* Backup" /tmp/backup-out.$$ rm /tmp/backup-out.$$ #echo -e "\n(Backup finished at `date '+%F %R'`)"
Shell
#!/bin/bash #(C) Copyright 2010 Nicholas Paun. All Rights Reserved. SERVERS="foobackup1 foobackup2 foo-offsite" #Set your backup servers here echo -e "\e[00;32mYour System\e[00m" echo "Hostname: $HOST" echo "Date: `date`" echo "PHP Version: `php -v`" || (echo "No PHP"; exit 1) echo -e "\n\e[00;32mYour Crontab\e[00m...
Shell
#!/bin/bash #alpine-backup installer #(C) Copyright 2009-2012 Nicholas Paun. All Rights Reserved. INSTALLDIR="/alpine-backup" #Directory to copy all files to (if selected BINDIR="/usr/sbin" #Directory to copy code LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc. CONFDIR="/etc/alpine-backup/" #D...
Shell
#!/bin/bash #alpine-backup installer #(C) Copyright 2009-2012 Nicholas Paun. All Rights Reserved. INSTALLDIR="/alpine-backup" #Directory to copy all files to (if selected BINDIR="/usr/sbin" #Directory to copy code LIBDIR="/usr/lib/alpine-backup/" #Directory to copy mount drivers, etc. CONFDIR="/etc/alpine-backup/" #D...
Shell
#! /bin/sh # # This is an init script for openembedded # Copy it to /etc/init.d/callweaver and type # > update-rc.d asterisk defaults 60 # asterisk=/usr/sbin/asterisk pidfile=/var/run/asterisk/asterisk.pid logdir=/var/log/asterisk asterisk_args="-npqT -U asterisk -G asterisk" test -x "$asterisk" || exit 0 case "$1" ...
Shell
#! /bin/sh # # This is an init script for openembedded # Copy it to /etc/init.d/callweaver and type # > update-rc.d asterisk14 defaults 60 # asterisk=/usr/sbin/asterisk pidfile=/var/run/asterisk/asterisk.pid asterisk_args="-npqT -U asterisk -G asterisk" test -x "$asterisk" || exit 0 case "$1" in start) echo -n...
Shell
#!/bin/sh # Runs pylint on all python files in codereview/ # # Skips over 'cpplint' which is a third part in the chromium branch. # ROOT=$(dirname $(readlink -f $0))/.. GAE=$ROOT/../google_appengine FILES=$(find codereview -iname "*.py" | grep -v "cpplint") IMPORTS=$GAE:$GAE/lib/django_1_2 PYTHONPATH=$IMPORTS:$PYTHONPA...
Shell
#!/bin/bash curl -X POST -H 'Content-Type: application/json' -d '{"username":"lajug", "message":"Hello PJUG"}' "http://localhost:8080/presentation/tweets/binding" curl -X POST -H 'Content-Type: application/json' -d '{"username":"pjug", "message":"Hello LAJUG"}' "http://localhost:8080/presentation/tweets/binding" cur...
Shell
#!/bin/sh ############################################################################# # pturlreplace.sh # This file is part of PTurlmigration. # # PTurlmigration - http://code.google.com/p/alui-toolbox/ # Copyright (c) 2008-2009 # by Fabien Sanglier # # PTurlmigration is free software: you can redistribut...
Shell
#!/bin/sh ############################################################################# # pturlreplace.sh # This file is part of PTurlmigration. # # PTurlmigration - http://code.google.com/p/alui-toolbox/ # Copyright (c) 2008-2009 # by Fabien Sanglier # # PTurlmigration is free software: you can redistribut...
Shell
#!/system/bin/sh # Adapted from tether script from andTether application # Original Header: # ---------------- # @Version=6 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) adhoclog="$2"/var/adhoc.log mac_whitelist="$2"/conf/whitelist_mac.conf dnsmasq_pidfile="$2"/var/dnsmasq.pid dnsmasq_leasefile="...
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 # ----------------------------------------------------------------------------- # Copyright (c) 2011, MIPS Technologies, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redi...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_SKL_real:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 rc -gui
Shell
#!/bin/bash rm -f *.txt rm -f *.cmd* rm -f *.log* rm -f *.rpt* rm -f *.lef* rm -f *.tcf* cd .. svn cleanup cd alu/ svn cleanup
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_VHDL_FUNCT.vhd ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_COMPONENTS.vhd ...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_SKL:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim_VCD_RCA.tcl WORKLIB.testbecnch_ALU_RCA:behavioral ncsim -input ./ncsim_SAIF_RCA.tcl WORKLIB.testbecnch_ALU_RCA:behavioral ncsim -input ./ncsim_SAIF_RCA_real.tcl WORKLIB.testbecnch_ALU_RCA_real:behavioral ncsim -input ./nc...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug -v93 ./vhd/custom_types.vhd ncvhdl -messages -linedebug -v93 ./vhd/precalc.vhd ncvhdl -messages -linedebug -v93 ./vhd/RCA.vhd ncvhdl -messages -linedebug -v93 ./vhd/logic_unit.vhd ncvhdl -messages -linedebug -v93 ./...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_VHDL_FUNCT.vhd ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_COMPONENTS.vhd ...
Shell
#!/bin/bash rm -f *.txt rm -f *.cmd* rm -f *.log* rm -f *.rpt* rm -f *.lef* rm -f *.tcf* cd .. svn cleanup cd alu/ svn cleanup
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_RCA_real:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_SKL_real:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_VHDL_FUNCT.vhd ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_COMPONENTS.vhd ...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 encounter
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_RCA:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 rc -gui
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_VHDL_FUNCT.vhd ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_COMPONENTS.vhd ...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_RCA:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 encounter
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_SKL:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim.tcl WORKLIB.testbecnch_ALU_RCA_real:behavioral
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncvhdl -messages -linedebug -v93 ./vhd/custom_types.vhd ncvhdl -messages -linedebug -v93 ./vhd/precalc.vhd ncvhdl -messages -linedebug -v93 ./vhd/RCA.vhd ncvhdl -messages -linedebug -v93 ./vhd/logic_unit.vhd ncvhdl -messages -linedebug -v93 ./...
Shell
#!/bin/bash source /chalmers/sw/sup/cse/init/bash module add DAT110 ncsim -input ./ncsim_VCD_RCA.tcl WORKLIB.testbecnch_ALU_RCA:behavioral ncsim -input ./ncsim_SAIF_RCA.tcl WORKLIB.testbecnch_ALU_RCA:behavioral ncsim -input ./ncsim_SAIF_RCA_real.tcl WORKLIB.testbecnch_ALU_RCA_real:behavioral ncsim -input ./nc...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops 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 fi...
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 # 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 # 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-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 # 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 # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops 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 fi...
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 # 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-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-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-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-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/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
mkdir bin javac -d bin $(find src/ -type f -name '*.java')
Shell
cd bin jar cf ../../javax-net-ssl.jar * cd .. rm -rf bin
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
#!/bin/bash # smazeme obrazovku clear # cistime adresare? if [ "$1" == "clean" ]; then echo Cistim... rm -rf _tools/_compile/logs/* rm -rf tmp/* rm -rf output/files/* exit fi # spoustime v qemu? if [ "$1" == "qemu" ]; then echo Spoustim QEMU, emuluji... qemu -fda output/AltairOS.img exit fi # zjistim...
Shell
xsltproc --stringparam source $PWD/typesystem_core-qtscript.xml merge.xsl typesystem_core-common.xml > typesystem_core.xml xsltproc --stringparam source $PWD/typesystem_gui-qtscript.xml merge.xsl typesystem_gui-common.xml > typesystem_gui.xml xsltproc --stringparam source $PWD/typesystem_svg-qtscript.xml merge.xsl ty...
Shell
#!/bin/sh xsltproc -o typesystem_core.xml --stringparam source 'typesystem_core-qtscript.xml' merge.xsl typesystem_core-common.xml xsltproc -o typesystem_gui.xml --stringparam source 'typesystem_gui-qtscript.xml' merge.xsl typesystem_gui-common.xml xsltproc -o typesystem_opengl.xml --stringparam source 'typesystem_o...
Shell
#!/bin/sh if [ "x$QTDIR" = "x" ]; then echo "QTDIR variable is empty" exit 1 fi qmake -recursive PythonQt.pro cd generator make ./pythonqt_generator --include-paths=/usr/include/qt4 if [ $? -eq 0 ]; then cd .. qmake -recursive PythonQt.pro && make else echo "error occured while generating the code" f...
Shell
#!/bin/bash # # update_locales.sh # # Created on: 29.07.2010 # Author: Mike Shatohin (brunql) # Description: Updating translation files for Lightpack project # # Lightpack is very simple implementation of the backlight for a laptop # # Copyright (c) 2010 Mike Shatohin, mikeshatohin [at] gmail.com # # Ligh...
Shell
#!/bin/sh DESTDIR=$1 FROMDIR=$2 FWDIR=Prismatik.app/Contents/Frameworks APPDIR=Prismatik.app/Contents/MacOS cd $DESTDIR test ! -d $FWDIR && mkdir $FWDIR cp -fRL $FROMDIR/../PythonQt/lib/libPythonQt.1.dylib $FWDIR/ cp -fRL $FROMDIR/../PythonQt/lib/libPythonQt_QtAll.1.dylib $FWDIR/ install_name_tool -change libPyth...
Shell
#!/bin/sh test -z "$1" && echo "usage: $0 <version>" && exit 1 VOLUME_NAME="Prismatik $1" DMG_TEMP_NAME="temp.dmg" DMG_NAME="Prismatik.$1.dmg" SRC_FOLDER="contents" LAYOUT_FILE="dsstore" APP_PATH="$SRC_FOLDER/Prismatik.app/Contents/MacOS" if [ ! -L "$SRC_FOLDER/Applications" ]; then echo "Creating link to /Applicat...
Shell
#!/bin/bash mv LightpackDrivePB LightpackDrivePB.app && cp LightpackDrivePB.app '/media/68FF-68CE/applications/LightpackDrivePB.app'
Shell