code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # Compile ADVRP and create a user and group called 'advrp' for privilege # dropping. EXTRA_CFLAGS="" # Compile and link echo '/*' echo ' * Compiling advrp.' gcc $EXTRA_CFLAGS -o advrp advrp.c debug.c hash.c holddown.c init.c kroute.c receiver.c sender.c verify.c -lpthread -g # Check gcc's exit status r...
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
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 gelin # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) an...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 Denis Nelubin aka Gelin # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # ...
Shell
#!/bin/sh TARGETS=$* buildin() { BASE_DIR=$(pwd) cd $1 ant $TARGETS cd $BASE_DIR } buildin core buildin skins/black-text buildin skins/white-text buildin skins/black-text-plus buildin skins/white-text-plus buildin skins/bigger-text
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2014 gelin # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) an...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by (GNU autotrace 0.31.1) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=/usr/local exec_prefix=${prefix} ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L/-...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free...
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 errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=/usr/local exec_prefix=${prefix} ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L/-...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by (GNU autotrace 0.31.1) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=@prefix@ exec_prefix=@exec_prefix@ ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-09-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU soft...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-07-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
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, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=@prefix@ exec_prefix=@exec_prefix@ ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by (GNU autotrace 0.31.1) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=/usr/local exec_prefix=${prefix} ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L/-...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free...
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 errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=/usr/local exec_prefix=${prefix} ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L/-...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by (GNU autotrace 0.31.1) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996-2000 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=@prefix@ exec_prefix=@exec_prefix@ ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-09-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU soft...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-07-23' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
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, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
Shell
#!/bin/sh af_libs= af_cflags= prefix=@prefix@ exec_prefix=@exec_prefix@ ## ## Define usage() ## usage() { cat <<EOF Usage: autotrace-config [OPTIONS] [LIBRARIES] Options: --cflags print pre-processor and compiler flags --libs print library linking information --libs-dirs only print the -L...
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
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/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi if test -z "$BRANCH_IS_MODIFIED" then echo MERGE tr...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi if test -z "$BRANCH_IS_MODIFIED" then echo MERGE tr...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branches/rel...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi svnmerge avail -bd -S $TRUNK
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
export PATH=`dirname $0`:$PATH PWD_IS_TRUNK=`test -e .svn/entries && cat .svn/entries | egrep url | egrep 'trunk"$'` TRUNK_IS_MODIFIED="`svn status $TRUNK | egrep -v '^\?|^X|^\s+S\s|^Performing status on external|^$'`" BRANCH_IS_MODIFIED="`svn status $BRANCH | egrep -v '^\?|^X|^\s+S\s|^Performing status on external|^$'...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branches/rel...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi svnmerge avail -bd -S $TRUNK
Shell
FILES=`find . \( -name "*.erl" -o -name "*.hrl" -o -name Makefile \) -print` for i in $FILES ; do echo "Changing "$i cat $i | \ sed -e "s/sln_/adv_/g" \ > $i.tmp mv -v $i.tmp $i done
Shell
LICENSE_FIRST_LINE=`head -n 1 LICENSE_NOTICE_ERL.txt` FILES=`find .. \( -name "*.erl" -o -name "*.hrl" -o -name Emakefile \) -print` for i in $FILES ; do FirstLine=`head -n 1 $i` if [[ $FirstLine != $LICENSE_FIRST_LINE ]] ; then echo "Licensing "$i cat $i > $i.before_license.bak cat NOTICE > $i.tmp ...
Shell
erl -noshell -pa ebin/ -pa ../../ebin/ -s deli_keywords start
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi if test -z "$BRANCH_IS_MODIFIED" then echo MERGE tr...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi if test -z "$BRANCH_IS_MODIFIED" then echo MERGE tr...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branches/rel...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi svnmerge avail -bd -S $TRUNK
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
export PATH=`dirname $0`:$PATH PWD_IS_TRUNK=`test -e .svn/entries && cat .svn/entries | egrep url | egrep 'trunk"$'` TRUNK_IS_MODIFIED="`svn status $TRUNK | egrep -v '^\?|^X|^\s+S\s|^Performing status on external|^$'`" BRANCH_IS_MODIFIED="`svn status $BRANCH | egrep -v '^\?|^X|^\s+S\s|^Performing status on external|^$'...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branc...
Shell
#!/bin/bash TRUNK=`pwd` BRANCH=$TRUNK/$1 . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -z "$PWD_IS_TRUNK" then echo Please execute this in trunk directory exit 1 fi if test -z "$1" then echo "Usage: $0 [branch path]" echo "" echo " e.g. $0 ../branches/rel...
Shell
#!/bin/bash BRANCH=`pwd` TRUNK=../../trunk . `dirname $0`/svnmerge-setup.sh # sets up PWD_IS_TRUNK and TRUNK_IS_MODIFIED if test -n "$PWD_IS_TRUNK" then echo Please execute this in BRANCH directory exit 1 fi if test -n "$1" then TRUNK=$1 fi svnmerge avail -bd -S $TRUNK
Shell
FILES=`find . \( -name "*.erl" -o -name "*.hrl" -o -name Makefile \) -print` for i in $FILES ; do echo "Changing "$i cat $i | \ sed -e "s/sln_/adv_/g" \ > $i.tmp mv -v $i.tmp $i done
Shell
LICENSE_FIRST_LINE=`head -n 1 LICENSE_NOTICE_ERL.txt` FILES=`find .. \( -name "*.erl" -o -name "*.hrl" -o -name Emakefile \) -print` for i in $FILES ; do FirstLine=`head -n 1 $i` if [[ $FirstLine != $LICENSE_FIRST_LINE ]] ; then echo "Licensing "$i cat $i > $i.before_license.bak cat NOTICE > $i.tmp ...
Shell
erl -noshell -pa ebin/ -pa ../../ebin/ -s deli_keywords start
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
#Create or edit network address rule #Its number can be choosen arbitrary edit nat source rule 10 #Forward traffic of every incoming ip-address set source address 0.0.0.0/0 #Use network interface eth2 for outgoing traffic set outbound-interface eth2 #Use ip-masquerading for outgoing traffic set translation address m...
Shell
#Setting the network address set interface ethernet eth2 address 176.58.92.230/24 #Setting the system gateway set system gateway-address 176.58.92.1 #Setting the system nameserver set system name-server 8.8.8.8
Shell
#Define IPsec on network interface eth2 set vpn ipsec ipsec-interfaces interface eth2 #Enable network access translation set vpn ipsec nat-traversal enable #Allow every ip-address to initially try to use the IPsec service set vpn ipsec nat-networks allowed-network 0.0.0.0/0 #Define ip-address the service is listenin...
Shell