This file contains 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 Rscript | |
suppressPackageStartupMessages({ | |
library(globals) | |
library(readr) | |
library(stringr) | |
library(rex) | |
library(magrittr) | |
library(rlang) | |
library(knitr) |
This file contains 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
zfs list -H -o name -r zmirror | while read -r line; do zfs list -t snapshot -o name -s creation -r "$line" | tail -1; done |
This file contains 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 | |
# -*- mode:R -*- | |
#PBS -l nodes=1:ppn=8,mem=30gb | |
'\' >/dev/null 2>&1 || true | |
# This is bash code to set up the environment | |
echo "Hello from bash!" | |
echo "Args are: $@" |
This file contains 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 | |
# -*- mode:python -*- | |
#PBS -l nodes=1:ppn=8,mem=30gb | |
''''/bin/true | |
# This is bash code to set up the environment | |
echo "Hello from bash!" | |
echo "Args are: $@" | |
# Bash setup code ends here | |
python - "$@" <<EOF | |
''' # Python starts here ''' |