Skip to content

Instantly share code, notes, and snippets.

View jefffriesen's full-sized avatar

Jeff Friesen jefffriesen

View GitHub Profile
@jefffriesen
jefffriesen / machine.js
Created September 16, 2021 14:09
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@jefffriesen
jefffriesen / ticket_hygiene.md
Created June 28, 2021 20:36
Write actionable, closable tickets
  1. Start with a verb
  2. Make ticket actionable. Title should complete the phrase “This ticket will….” (which means it starts with a verb). They need to have a closable finished state. “Make it better” isn’t actionable.
  3. Make small, specific tickets. If needed you can break it out into subtasks

Examples: Good: “Prevent Nav Bar From Bouncing on Scroll” Bad: “Navigation is Wonky”

Good: “Implement Home Page Right Rail Promo Block” Bad: “Homepage updates”

Keybase proof

I hereby claim:

  • I am jefffriesen on github.
  • I am jefffriesen (https://keybase.io/jefffriesen) on keybase.
  • I have a public key ASBgWtmXo3PHrqlt83GAVIzPL4ah-4jJN-zms7rxAKqxtAo

To claim this, I am signing this object:

@jefffriesen
jefffriesen / Functional Javascript Onboarding.md
Last active January 16, 2021 16:46
Functional style guidelines for developers at Snugg Home and Radiant Labs

Our Code Style

Function programming is a collection of approaches and tools. We aren't dogmatic about using all of them. For Javascript, we don't use these often:

  • Currying
  • Functors
  • Function composition
  • Recursion

We definitely use these a lot:

  • Higher order functions
  • Pure functions
@jefffriesen
jefffriesen / .block
Created February 28, 2020 19:43
Lorenz System
height: 600
license: MIT
@jefffriesen
jefffriesen / calva-keybindings.json
Created October 6, 2018 15:38
Keybindings override for using the calva clojure extension in vscode. The control-option-v was impossible...
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+v c",
"command": "calva.connect"
},
{
"key": "ctrl+alt+v c",
"command": "-calva.connect"
},
@jefffriesen
jefffriesen / webpack.config.base.js
Last active December 1, 2016 17:29
Webpack config for deck.gl (working for react-map-gl)
/* eslint strict: 0 */
'use strict';
const webpack = require('webpack')
const path = require('path')
// Attempt at getting deck.gl working with webpack. See https://github.com/uber/deck.gl/issues/247
// This works for react-map-gl but not deck.gl.
module.exports = {
module: {
@jefffriesen
jefffriesen / webpack.config.base.js
Created December 1, 2016 17:20
Webpack config for deck.gl (not working)
/* eslint strict: 0 */
'use strict';
const webpack = require('webpack')
const path = require('path')
// Attempt at getting deck.gl working with webpack. See https://github.com/uber/deck.gl/issues/247
// Based on https://gist.github.com/tehwalris/606dcc8d8974e4e48740ed204e166bac
module.exports = {
module: {
module.exports = {
env: {
browser: true,
es6: true,
node: true,
mocha: true
},
globals: {
React: true,
__DEV__: true,
@jefffriesen
jefffriesen / _.md
Created November 11, 2013 00:29
Simple word cloud