Skip to content

Instantly share code, notes, and snippets.

Marotte*
Today*
Start Job -> Select Job
Stop Job -> Confirm
Schedule -> Choose Date
Job
active -> stopped
active -> paused
stopped -> active
paused -> active
Marotte
Today*
Start Job -> Select Job
Stop Job -> Confirm Stop
Schedule -> Choose Date
Select Job
Confirm Stop
Choose Date
@unsay
unsay / SketchSystems.spec
Created June 20, 2023 13:48
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
Green*
tick -> Yellow
power failed -> Blbiknicn
@unsay
unsay / machine.js
Created November 22, 2019 21:46
Generated by XState Viz: https://xstate.js.org/viz
const Archiver = Decryptor = Unzipper = bcp = Copier = Intell = Cleanup = {}
const guards = {
isArchived: (context, event) => context._archive != undefined && fs.existsSync(context._archive),
isMoved: (context, event) => context._moved != undefined && fs.existsSync(context._moved),
achExtracted: (context, event) => (context._origin.includes(context.bankDirectories.incomingACH)),
cardExtracted: (context, event) => (context._origin.includes(context.bankDirectories.incomingCard)),
isTransformed: (context, event) => context._transformed != undefined,
fileIsZipped: (context, event) => path.extname(context.working) === '.zip',
@unsay
unsay / keybase.md
Created February 6, 2016 17:41
keybase.md

Keybase proof

I hereby claim:

  • I am unsay on github.
  • I am unsay (https://keybase.io/unsay) on keybase.
  • I have a public key ASBya9lhBHC70lRKlr6dnlGslIUHwuWp233_q-Zd86SMzwo

To claim this, I am signing this object:

@unsay
unsay / ansible-examples.yml
Created November 2, 2015 00:25 — forked from bcomnes/ansible-examples.yml
Ansible Yaml Syntax Exampls
---
# Thanks halberom!
# http://blog.halberom.co.uk/ansible_yaml_syntax.html
- hosts: foo
tasks:
- name: single line plain style
file: path=/tmp/foo state=touch
- name: multi line plain style
file: path=/tmp/foo
@unsay
unsay / README.md
Last active August 29, 2015 14:19 — forked from JoelBesada/README.md

OmniFocus & Backtick

This command opens a Quick Entry dialog for OmniFocus.

@unsay
unsay / bcrypt.rb
Last active December 17, 2015 08:09
Use minimal bcrypt cost for faster specs.
# Use minimal bcrypt cost for faster specs.
# place this in the spec/support/bcrypt.rb file¬
require 'bcrypt'
module BCrypt
class Engine
class << self
alias :_generate_salt :generate_salt

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2: