Skip to content

Instantly share code, notes, and snippets.

View illusional's full-sized avatar

Michael Franklin illusional

View GitHub Profile

Keybase proof

I hereby claim:

  • I am illusional on github.
  • I am illusional (https://keybase.io/illusional) on keybase.
  • I have a public key ASAXjfm1zLiGXG9rlLmfgSPvKksr93a3bSgZKhmVSTenQgo

To claim this, I am signing this object:

@illusional
illusional / cromwell-slurm-singularity.conf
Last active April 12, 2024 16:56
Cromwell configuration for Slurm + Singularity
# Configure Cromwell to submit jobs to Slurm, including support for Singularity
#
# Author:
# - Michael Franklin <michael.franklin@unimelb.edu.au>
#
# History:
# - 2020-07-23 - Initial + minor fixes to generalise the script
# - 2024-04-11 - Use bash instead of sh (based on @oneillkza suggestion)
#
# Quickstart:
@illusional
illusional / urwidhelper.py
Last active February 2, 2020 20:47
Split `get_ansii_group_matches_for_text` + add doctests
"""
The MIT License (MIT)
Copyright © 2020 Michael Franklin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH T