Skip to content

Instantly share code, notes, and snippets.

View chrisdamba's full-sized avatar

Christopher Dambamuromo chrisdamba

View GitHub Profile
@chrisdamba
chrisdamba / .block
Created April 2, 2017 13:27
Horserace tool
license: mit
@chrisdamba
chrisdamba / rxjs_operators_by_example.md
Created January 5, 2018 22:25 — forked from btroncone/rxjs_operators_by_example.md
RxJS 5 Operators By Example

Keybase proof

I hereby claim:

  • I am chrisdamba on github.
  • I am christopherda (https://keybase.io/christopherda) on keybase.
  • I have a public key ASDNXglfLuVao3fvuHUzQj9QNnMuWXb2Cls0U-jryg542Ao

To claim this, I am signing this object:

const isLoggedIn = (context, event) => context.isAuthenticated
const canChooseDate = (context, event) => context.lessonType && context.subject
const canConfirm = (context, event) => context.date && context.subject
const scheduleMachine = Machine(
{
id: 'schedule',
initial: 'start',
context: {
isAuthenticated: true,