Skip to content

Instantly share code, notes, and snippets.

View mwvaughn's full-sized avatar
🎧

Matthew Vaughn mwvaughn

🎧
View GitHub Profile

Agave Apps: A Theory of Operations to Help with Debugging

Here are a few of the problems we're solving with Agave:

You have data. Either it's in your direct physical possession or you can access it via a URI. You have a specific process, analysis, or test you need to apply to that data (We're just going to say analysis from here on out). The analysis can be based on new code you will write, someone else's complete solution, or an integration of off-the-shelf parts. The analysis code can be of arbitrary complexity, ranging from a single-language binary to a script that calls other scripts and leverages UNIX userland (sed/awk/grep/etc). You need to collaborate of development and testing of the analysis code. You need to be able to run your analysis on the data reproducibly and retrieve information about those runs in the future.

@mwvaughn
mwvaughn / abaco-job.sh
Last active December 13, 2017 20:02
Simple Abaco Task Runner
ACTOR_ID=$1
MESSAGE='{"text":"Ma Loute", "icon_emoji": ":love_letter:", "channel": "notifications"}'
if [ -z "${ACTOR_ID}" ]
then
echo "Usage: $(basename $0) [ACTORID]"
exit 1
fi
MAX_ELAPSED=100 # Maximum duration for any async task
@mwvaughn
mwvaughn / ETH
Created October 6, 2017 22:28
ETH
0xd9B9578783Ab25Ee70E6909280eFaE5b3f08aD3A
@mwvaughn
mwvaughn / etl-proc-high-level.md
Last active September 7, 2017 16:17
SD2E ETL and Processing Pipelines

Packaging Code for SD2E (30,000 ft view)

  1. Containerize the application/script codebase using Docker -or- Work with TACC to install directly on a targeted HPC system
  2. Provide a small data set and example invocation of the code so we can validate it
  3. Document at least one protocol (command sequence) for running the application to accomplish a specific set of objectives.
    • Input file(s), any reference data files (genome sequences, structured database files, etc)
    • Output file(s)
    • Parameters, including types and validation rules
    • An example invocation of the application that combines inputs, parameters, and leads to specific outputs
  • Approximate resource requirements for running the code (CPU architecture, CPU cores, RAM, free disk, requires MPI, etc)
@mwvaughn
mwvaughn / .hyperterm.js
Created July 16, 2017 13:44 — forked from marcbachmann/.hyperterm.js
hyperterm config
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12.5,
// font family with optional fallbacks
fontFamily: '"Meslo LG S for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color (hex)
cursorColor: 'rgba(255,255,255,.4)',
@mwvaughn
mwvaughn / DockerInProduction.md
Created April 11, 2017 00:00
Docker In Production

Docker In Production

There was once an oral surgeon named Lytle S. Adams. He lived a long time ago, when America was fighting a war against Japan. Japan had attacked a military base in Hawaii, and—the day that happened—Adams was on vacation at Carlsbad Caverns. That’s a system of caves in New Mexico, where thousands and thousands of bats live. Adams was very impressed with the bats, and he came up with an idea: a swarm of weaponized bats, with miniature incendiary bombs strapped to their bodies—bats that would be dropped over Japanese cities to streak through the air, scatter far and wide, and then explode, sparking thousands of little fires all over the place, burning down buildings and frightening everyone.

Adams was friendly with Eleanor Roosevelt, the president’s wife, and he used his connections to send a brief to the president; the president gave it to a military commander with a note that said, ‘This man is not a nut.’ And so, by 1943, there was a top secret bat-bomb project up a

@mwvaughn
mwvaughn / Aframe-Takeaway.md
Created December 6, 2016 12:00
Exercises for working in the A-frame WebVR framework
@mwvaughn
mwvaughn / keybase.md
Created July 27, 2016 15:58
Keybase.io verification

Keybase proof

I hereby claim:

  • I am mwvaughn on github.
  • I am mattdotvaughn (https://keybase.io/mattdotvaughn) on keybase.
  • I have a public key whose fingerprint is B200 AE2D 5485 7CBB 0ADD 477A B2A7 52F3 2253 FF9E

To claim this, I am signing this object:

{
"message": "",
"result": {
"_links": {
"self": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Members/213847579"
},
"created_at": 1289344306,
"description": "The Texas Advanced Computing Center (TACC) at @UTAustin designs and deploys powerful computing technologies to power discoveries that change the world.",
"expires": 1465846803,
"favourites_count": 842,
{
"message": "",
"result": {
"_links": {
"members": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Members",
"self": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3",
"table": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Influenced"
},
"collection_id": "87ed787d-3951-4177-9156-ffff322430f3",
"expires": 1465846675,