Skip to content

Instantly share code, notes, and snippets.

View alexUXUI's full-sized avatar
👋

Alex Bennett alexUXUI

👋
View GitHub Profile
@alexUXUI
alexUXUI / error-printer.go
Last active July 9, 2019 15:25
Code Challenge
package main
import (
"fmt"
"strings"
)
func ErrorPrinter(label string) string {
const alphabetSection = "abcdefghijklm"
@alexUXUI
alexUXUI / app.js
Created June 9, 2016 04:30
morphs an svg
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() );
@alexUXUI
alexUXUI / intlPolitics.html
Created March 8, 2016 17:10
Modeling int'l politics with Ember.js
<!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>
@alexUXUI
alexUXUI / blinkLED.js
Created October 30, 2015 18:12
Blink an LED using the johnny-five library
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);
});
@alexUXUI
alexUXUI / Simple input form example.markdown
Created October 26, 2015 22:52
Simple input form example

Simple input form example

Made this as a demonstration on how common interface problems can be solved with both UX aaaand UI design

A Pen by Alex on CodePen.

License.