Skip to content

Instantly share code, notes, and snippets.

View arielferdman's full-sized avatar
😀
Focusing

Ariel Ferdman arielferdman

😀
Focusing
View GitHub Profile
Editor
Init
document load -> Edit
Edit
meta keypress -> Meta
Meta
meta keypress -> Edit
Suggester
Shortcut to meta
@arielferdman
arielferdman / machine.js
Last active October 26, 2020 12:26
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@arielferdman
arielferdman / index.html
Created February 26, 2021 01:44
Resize, Drag, Snap
<div id="pane">
<div id="title">Resize, Drag or Snap Me!</div>
</div>
<div id="ghostpane"></div>

Keybase proof

I hereby claim:

  • I am arielferdman on github.
  • I am metalearning (https://keybase.io/metalearning) on keybase.
  • I have a public key ASD338g3J8ntiS6BMQmxBmeswfJ7N3fEvoAeVuGK1byIiAo

To claim this, I am signing this object:

@arielferdman
arielferdman / index.html
Created May 15, 2021 12:30
lightning storm with rain - canvas
<body class="thunder">
<canvas id="canvas1"></canvas>
<canvas id="canvas2"></canvas>
<canvas id="canvas3"></canvas>
</body>
@arielferdman
arielferdman / machine.js
Created October 30, 2021 12:01
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
const remote = require('electron');
const sqlite3 = require('sqlite3');
const knex = require('knex');
const path = require('path');
const {app} = remote;
const database = knex({
client: 'sqlite3',
connection: {
@arielferdman
arielferdman / database.js
Created December 14, 2021 05:43
TestAppUpdated
const remote = require('electron');
const sqlite3 = require('sqlite3');
const knex = require('knex');
const path = require('path');
const {app} = remote;
const database = knex({
client: 'sqlite3',
connection: {