Skip to content

Instantly share code, notes, and snippets.

View robinandeer's full-sized avatar

Robin Andeer robinandeer

View GitHub Profile
@robinandeer
robinandeer / machine.js
Last active May 8, 2020 07:49
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@robinandeer
robinandeer / now.json
Created August 2, 2019 21:55
Missing logs in Zeit Now
{
"name": "test-log",
"version": 2,
"builds": [{ "src": "server.js", "use": "@now/node" }],
"routes": [{ "src": "/api/users(.*)", "dest": "/server.js" }]
}
@robinandeer
robinandeer / README.md
Last active March 9, 2017 08:47
Sample submission API at Clinical Genomics

This is the API specification for submitting samples as a new project to Clinical Genomics.

The document uses JSON Schema.

Keybase proof

I hereby claim:

  • I am robinandeer on github.
  • I am robinandeer (https://keybase.io/robinandeer) on keybase.
  • I have a public key ASBw0V08qk_EiroVGs--77aFrBAQLLN-qOSerW8lldEvEAo

To claim this, I am signing this object:

@robinandeer
robinandeer / _basics.scss
Created October 25, 2014 14:25
SCSS Toolbox
// +-------------------------------------------------------------------+
// | Basics - stuff needed for every project
// +-------------------------------------------------------------------+
// FYI: should be run through "autoprefixer"
// FYI: "normalize" is loaded separately
// include padding & borders in the size of elements
*,
*:before,
*:after {
@robinandeer
robinandeer / requirements.txt
Last active August 29, 2015 14:05
Script to automatically populate a today.txt file. Read more: http://johnhenrymuller.com/today.
click

General config file

  • Format: [toml][toml]
  • Name: .clinicalgenomicsrc or clinicalgenomics.cfg
  • Location: $HOME/ (default)
  • Install: pip install toml (python)

Downside: it's not obvious how you would read a TOML file in Bash.

Solution 1