(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/sh | |
command="${*}" | |
printf "Initialized REPL for [%s]\n" "$command" | |
printf "%s> " "$command" | |
read -r input | |
while [ "$input" != "" ]; | |
do | |
eval "$command $input" | |
printf "\n%s> " "$command" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.4.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body, html { | |
margin: 0; | |
padding: 0; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-2.1.4.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body, html { | |
margin: 0; | |
padding: 0; |
(function() { | |
/** | |
* @param {number} meta | |
* @param {number} child | |
* @return {?} | |
*/ | |
function addImage(meta, child) { | |
meta = meta || 1; | |
child = child || 0; | |
/** @type {Image} */ |
{ | |
"title": "Sandbox - Boilerplate", | |
"design_id": "wEdZrLDpiJ", | |
"fields": [ | |
{ | |
"type": "short_text", | |
"question": "This is a ShortTextField, What's your name? [ _Edit this text & press Build_ ]", | |
"description": "I'm sure you have a great name! โ [ _Edit this text & press Build_ ]", | |
"required": true | |
}, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div id="form_here"></div> | |
<script id="jsbin-javascript"> | |
console.clear(); |
{ | |
"title": "Sandbox - Example #1", | |
"design_id": 11, | |
"fields": [ | |
{ | |
"type": "statement", | |
"question": "Hi Joe. Thanks for purchasing a new <strong>Toaster Fridge.</strong>" | |
}, | |
{ | |
"type": "picture_choice", |
{ | |
"title": "Apache and Tomcat Logs", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "apache !tomcat !static", | |
"alias": "", | |
"color": "#7EB26D", | |
"id": 0, |