A Pen by Kasper De Bruyne on CodePen.
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 https = require("https"); | |
async function getPosts() { | |
return new Promise((resolve, reject) => { | |
const query = ` | |
query { | |
microblogCollection { | |
items { | |
sys { | |
firstPublishedAt |
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
/* Work in progress. | |
A Basecamp 3 dark theme for Stylus | |
(https://addons.mozilla.org/en-US/firefox/addon/styl-us/) | |
based on https://userstyles.org/styles/177262/basecamp-insomnia */ | |
:root { | |
--bg-md: #2f2f2f; | |
--bg-md-2: #454545; | |
--bg-lt: #1c1c1e; | |
--bg-dk: #232527; | |
--bg-primary: #272727; |
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
const saveOrder = assign({ | |
order: (context, event) => { | |
console.log('ev', event); | |
return event.data; | |
}, | |
}); | |
function hasCustomer(context, event) { | |
console.log('event', event); |
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
// 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
Based on https://dribbble.com/shots/4895590-Nav-Interaction-Idea. Best viewed in fullscreen.
A Pen by Kasper De Bruyne on CodePen.
Based upon Nathan Riley's dribbble shot https://dribbble.com/shots/5321013-Habital-Showcase-Alternative
A Pen by jesper landberg on CodePen.
NewerOlder