This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
exec scala "$0" "$@" | |
!# | |
import java.io.{ File, FilenameFilter, FileNotFoundException } | |
import scala.util.control.Exception._ | |
if (List("-h", "-?", "-help", "--help") exists argv.contains) { | |
Console.println(""" | |
|Print swap usage per process. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this gist has been superseded by | |
# https://github.com/idiv-biodiversity/archive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ------------------------------------------------------------------------------ | |
# Grid Engine Submit Parameters | |
# ------------------------------------------------------------------------------ | |
#$ -N extract-split-tar-gz | |
#$ -S /bin/bash | |
#$ -pe smp 2- | |
#$ -l h_rt=120:00:00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KT_HOST=${KT_HOST:-$1} | |
KT_PORT=${KT_PORT:-${2:-443}} | |
KT_ALIAS=$KT_HOST:$KT_PORT | |
KT_STORE=${KT_STORE:-$3} | |
[[ -z $KT_HOST ]] && { | |
echo "usage: $(basename $0) host [port] [store]" > /dev/stderr | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
declare -a watches | |
while [[ -n $1 && $1 != "--" ]] | |
do | |
watches+=("$1") | |
shift | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this gist has been superseded by | |
// https://github.com/idiv-biodiversity/grid-engine-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this gist has been superseded by | |
// https://github.com/idiv-biodiversity/grid-engine-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this gist has been superseded by | |
// https://github.com/idiv-biodiversity/grid-engine-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd "$(dirname "$0")" | |
[[ ! -d lib ]] && | |
mkdir lib | |
[[ ! -e lib/java-mail.jar ]] && | |
wget -q -O lib/java-mail.jar http://search.maven.org/remotecontent?filepath=com/sun/mail/javax.mail/1.5.1/javax.mail-1.5.1.jar |
OlderNewer