Skip to content

Instantly share code, notes, and snippets.

View aidanheerdegen's full-sized avatar

Aidan Heerdegen aidanheerdegen

  • Australian Earth-System Simulator National Research Infrastructure (ACCESS-NRI)
  • ACCESS-NRI, Australian National University
View GitHub Profile
@ccarouge
ccarouge / gist:c5401a281ff2894202ef
Last active September 18, 2015 04:56
Using HERE documents with qsub
#!/bin/bash
module load intel-fc/15.0.3.187
module load intel-cc/15.0.3.187
module load openmpi/1.8.8
module load netcdf/4.3.3.1
export WRFIO_NCD_LARGE_FILE_SUPPORT=1
./configure
@JustusAdam
JustusAdam / bulk_mail.py
Last active March 1, 2022 12:24
Send a bunch of formatted emails using python templates and YAML/JSON data.
#!/usr/bin/env python3
"""
If you, like me, often have to send a bunch of very similer emails to a bunch of
people you may have got tired of copy pasting and resending as well.
This is my proposed solution:
This script reads a template file, using the simple python templating language
that substitutes vaules like $this with data from a dictionary.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
once upon a time
a long time ago
there was a little boy and girl
their names were Tim and Rose
Tim was six years old and Rose was five
Tim had black hair and blue eyes
Rose had red hair that hung down to her waist
tickle tickle tickle
and green eyes like the sea