Hello world!
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vars are implied/provided globally | |
$font-size-1000: 10px; | |
/** before*/ | |
.node { | |
someProp: $font-size-1000 | |
} | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Inline Video Links in Buildkite | |
// @description Buildkite (really the markdown parser under the hood) doesn't support video annotations, so this will | |
// @namespace https://sgregson.dev | |
// @version 1.0 | |
// @author sgregson | |
// @match https://buildkite.com/* | |
// ==/UserScript== | |
(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { "theme": "stackoverflow" }, | |
"basics": { | |
"name": "Spencer Gregson", | |
"label": "Staff Engineer, Frontend", | |
"picture": "", | |
"email": "spencer.gregson@gmail.com", | |
"phone": "", | |
"website": "https://sgregson.dev", | |
"summary": "I enjoy creating usable objects both real and digital. Interested in engaging experiences and enabling my audience to learn about their world in the process. I believe each project gives me the opportunity to teach and to learn and work to foster that attitude in those around me.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetchMachine = Machine({ | |
id: 'Radio Group', | |
initial: 'unfocused', | |
context: { | |
// | |
insideToolbar: false, | |
checkedIndex: -1 | |
}, | |
states: { | |
unfocused: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ACTIVITY_INTERVAL = 500; | |
const a11yObj = Machine( | |
{ | |
id: "a11y-tool", | |
initial: "unloaded", | |
context: { | |
watching: false | |
}, | |
states: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
NewerOlder