Skip to content

Instantly share code, notes, and snippets.

View tomek-he-him's full-sized avatar

Tomek Wiszniewski tomek-he-him

View GitHub Profile
{"name":"Table parametric model","author":"new_user","version":"0.5.43","flowchart":{"id":"b7dce877-e1df-f5c4-f416-2030ce9e6d58","name":"Table parametric model","description":"Drag the sliders to change parameter values. Click ▶ above to see them take effect.","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_w4q1bysw0xn","position":{"x":5340,"y":5000},"enabled":true,"type":"start","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":10,"ID":"prod-xrq3iyqqsk8","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"height","jsValue":"height_"},{"name":"__input__","value":80,"step":"1","min":"70","max":"90"}]},{"type":10,"ID":"prod-oithcodhq5l","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","valu
{"name":"Table parametric model","author":"new_user","version":"0.5.43","flowchart":{"id":"b7dce877-e1df-f5c4-f416-2030ce9e6d58","name":"Table parametric model","description":"Drag the sliders to change parameter values. Click ▶️ above to see them take effect.","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_iguc4kmepur","position":{"x":5340,"y":5000},"enabled":true,"type":"start","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":10,"ID":"prod-xrq3iyqqsk8","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"height","jsValue":"height_"},{"name":"__input__","value":80,"step":"1","min":"70","max":"90"}]},{"type":10,"ID":"prod-oithcodhq5l","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","val
{"name":"Untitled (1)","author":"new_user","flowchart":{"id":"b7dce877-e1df-f5c4-f416-2030ce9e6d58","name":"Untitled","description":"","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_z5or9c9apjn","position":{"x":5340,"y":5000},"enabled":true,"type":"start","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":10,"ID":"prod-xrq3iyqqsk8","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"height","jsValue":"height_"},{"name":"__input__","value":80,"step":"1","min":"70","max":"90"}]},{"type":10,"ID":"prod-oithcodhq5l","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"width","jsValue":"width_"},{"name":"__input__","value":80,"step":"5","min":"60","max":"120"}]},{"type":10,"ID":"prod-ml7ny

You’ll hear this talk at Elm Europe in June 2017. Massive thanks to @chrisui, @stealthpig, @zsoobhan, @spryle, @dumbNickname and everyone else who helped shape this proposal. You guys are awesome!

 

how frontend microservices
help us stay flexible

Choosing the right technologies when starting a project is super important. It’s almost impossible to change the stack later on. Betting on Elm is therefore a bit risky. Right?

Not anymore! Now we can use frontend microservices to pick the right tool for every job!

@tomek-he-him
tomek-he-him / 0_reuse_code.js
Created July 1, 2016 13:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@tomek-he-him
tomek-he-him / index.js
Last active October 2, 2015 22:03
requirebin sketch
var _ = {};
var curry = require('curry-this')({Symbol: require('es6-symbol')}).curry;
var fn = function(a, b) { return a + b; };
fnCurried = curry.call(fn);
console.log(fnCurried(1, 2));
console.log(fnCurried(1)(2));
@tomek-he-him
tomek-he-him / index.js
Created May 4, 2015 11:38
requirebin sketch
// require() some stuff from npm (like you were using browserify)
// and then hit Run Code to run it on the right
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
"use strict";
@tomek-he-him
tomek-he-him / Joannas Kaesecrackers
Created February 26, 2015 13:48
Joannas Käsecrackers
Joannas Käsecrackers
====================
1) Vorbereiten
--------------
#### Für den Teig
* knapp 300 g Käse, gerieben – funktioniert mit jeder Sorte, auch mit einem Mix :)
@tomek-he-him
tomek-he-him / index.js
Created February 24, 2015 11:21
requirebin sketch
var clone = require("clone");
var today = new Date();
var todayCloned = clone(today);
var console = require("jquery")("<pre/>").appendTo('body');
console.append
( "Is todayCloned is an instance of Date? – "
+ (todayCloned instanceof Date ? "Yup!" : "Nope.")
+ "\n"