Instantly share code, notes, and snippets.

View geoMachine.js
// Available variables:
// Machine (machine factory function)
// XState (all XState exports)
const {sendParent} = XState.actions
const geoMachine = Machine({
id: "geolocation",
initial: "check_geolocation_api",
View back-away-slowly.json
{
"info": {
"title": "back-away-slowly",
"author": "forresto",
"description": "not sure where i'm going with this, tho neat vid data urls can be stored in app json",
"url": "back-away-slowly",
"parents": [
"https://gist.github.com/efe2ea80b8944ea8f2849cddf252638b"
]
},
View ui-test.json
{
"info": {
"author": "meemoo",
"title": "test of new ui native elements",
"description": "Meemoo app description",
"parents": [],
"url": "ui-test"
},
"nodes": [
{
View cam2webm.meemoo.json
{
"info": {
"title": "cam to webm",
"author": "forresto",
"description": "webcam to webm file",
"url": "cam2webm"
},
"nodes": [
{
"id": 2,
View hexaflexagon.json
{
"info": {
"author": "@forresto",
"title": "photo hexaflexagon",
"description": "add photos, print, cut, fold, flex",
"parents": [
"https://gist.github.com/e47c24fd97bef2098c1207c792b0cb16"
],
"url": "hexaflexagon"
},
View dynamicland-vneck-tshirt.lua
-- Shirt (#softfab)
Claim (you) has state "waist" with initial value (30).
Claim (you) has state "arm" with initial value (5).
Claim (you) has state "armaround" with initial value (10).
Claim (you) has state "side" with initial value (20).
Claim (you) has state "neck" with initial value (15).
When (you) contains dots /dots/,
(you) has width /width/:
View gist:1cb0d95dbd807024c9db8a8277a9076c
~/Desktop πŸ‘½ scanimage --format tiff --mode Color --resolution 300 > fd-black.tiff
View bricks.md
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 
πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ πŸ™ 

View noflo.json
{
"properties": {
"name": "noflo-canvas line chart",
"id": "77f213fb32c9b22527e2",
"environment": {
"type": "noflo-browser",
"content": "<canvas id=\"mycanvas\" width=\"200\" height=\"200\"></canvas>\n"
},
"icon": ""
},
View noflo.json
{
"properties": {
"name": "main",
"environment": {
"type": "noflo-browser",
"content": "<video id=\"video\" autoplay loop style=\"max-width:100%;\"></video><br>\n<canvas id=\"colors\" width=\"640\" height=\"100\" style=\"max-width:100%;\"></canvas>\n<button id=\"start\">start camera</button>\n"
},
"icon": ""
},
"inports": {},