Skip to content

Instantly share code, notes, and snippets.

View zanthrash's full-sized avatar
🏠
Working from home

Zan Thrash zanthrash

🏠
Working from home
View GitHub Profile
@zanthrash
zanthrash / my_git_workflow.md
Created February 14, 2021 15:45
My Git Workflow

My Git Workflow

Setup

Git aliases

Add these to your ~/.gitconfig under the [alias] block:

[alias]
@zanthrash
zanthrash / machine.js
Last active November 21, 2020 16:07
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'covid',
initial: 'disclaimer',
states: {
disclaimer: {
on: {
AGREE: "scenerio",
DISAGREE: "exit"
}
@zanthrash
zanthrash / machine.js
Last active June 23, 2020 21:18
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@zanthrash
zanthrash / .block
Last active November 8, 2017 00:58
Collapsible tree diagram in v4
license: mit
@zanthrash
zanthrash / .block
Last active November 5, 2017 02:43
Tree diagram with styling in v4
license: mit
require('./serverGroupLoadBalancersDirective.html');
describe('GCE: ServerGroupLoadBalancerSelector: Directive', function () {
beforeEach(
window.module(
require('./serverGroupLoadBalancersSelector.directive.js'),
require('exports?"ui.select"!ui-select'),
require('utils/timeFormatters.js'),
require('../../../caches/infrastructureCaches.js')

#2/14/15

Here is what we got done this week 2/14/15

  • typed some {
  • and some tags
  • big data
  • HA
  • web scale

Keybase proof

I hereby claim:

  • I am zanthrash on github.
  • I am zanthrash (https://keybase.io/zanthrash) on keybase.
  • I have a public key whose fingerprint is 9514 CE89 C9A5 DAA3 3D16 4C9C C1E5 5958 FEC1 970F

To claim this, I am signing this object:

@zanthrash
zanthrash / JsonBuilderExample.groovy
Created February 12, 2012 02:36
Grails JsonBuilder Example
import groovy.json.*
class Person {
String name
List addresses = []
}
class Address {
String address
String state