Made this as a demonstration on how common interface problems can be solved with both UX aaaand UI design
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
var five = require("../lib/johnny-five.js"); | |
var board = new five.Board(); | |
board.on("ready", function() { | |
var led = new five.Led(13); | |
// "blink" the led in 500ms on-off phase periods | |
led.blink(500); | |
}); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Emberjs Computed Properties</title> | |
<!-- CDN's--> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.1/handlebars.min.js"></script> | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.4.0/ember.min.js"></script> | |
<script src="http://builds.emberjs.com/tags/v1.10.0-beta.3/ember-template-compiler.js"></script> | |
<script src="http://builds.emberjs.com/release/ember.debug.js"></script> |
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
var button = document.getElementById("toggle"); | |
var morph = new TimelineMax({paused:true}); | |
morph.to("#start", 1, { morphSVG: "#end", ease:Power1.easeInOut }); | |
button.addEventListener("click", function() { | |
if (morph.progress() === 0) { | |
morph.play(); | |
} else { | |
morph.reversed( !morph.reversed() ); |
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
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
func ErrorPrinter(label string) string { | |
const alphabetSection = "abcdefghijklm" |