Skip to content

Instantly share code, notes, and snippets.

View yoshuawuyts's full-sized avatar

Yosh yoshuawuyts

View GitHub Profile
/**
* Module dependencies.
*/
var react = require('react');
/**
* Define our component.
*/
@yoshuawuyts
yoshuawuyts / app.js
Created July 1, 2014 22:29
Updated vanilla.js coding style for framer examples.
/**
* To create a basic animation you just create a layer.
*/
var layerA = new Layer({
width: 80,
height: 80,
backgroundColor: "blue"
});

This:

model
  .attr('hands', {required: true})
  .attr('feet', {required: false})

Maps to this:

{ 
/* global window*/
/**
* Module dependencies
*/
var react = require('react');
var index = require('./index');
/**
@yoshuawuyts
yoshuawuyts / wordlist.txt
Created July 9, 2014 18:08
Extracted from Oren Tirosh’s mnemonic encoding project.
Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES;
acrobat africa alaska albert albino album
alcohol alex alpha amadeus amanda amazon
america analog animal antenna antonio apollo
april aroma artist aspirin athlete atlas
banana bandit banjo bikini bingo bonus
camera canada carbon casino catalog cinema
citizen cobra comet compact complex context
credit critic crystal culture david delta
dialog diploma doctor domino dragon drama
~/Repositories/playground-vagrant master
❯ make
vagrant up --provider=docker
Bringing machine 'app' up with 'docker' provider...
==> app: Docker host is required. One will be created if necessary...
app: Docker host VM is already ready.
==> app: Syncing folders to the host VM...
app: Rsyncing folder: /Users/yoshuawuyts/Repositories/playground-vagrant/ => /var/lib/docker/docker_1407327928_26359
app: Rsyncing folder: /Users/yoshuawuyts/Repositories/playground-vagrant/ => /mnt/docker_build_0064ec06b8c293e46f3dd8d17fe9c55b
==> app: Building the container from a Dockerfile...
given(/^I am on the Cucumber.js GitHub repository$/, function(done) {
this.visit('http://github.com/cucumber/cucumber-js', done);
});
when(/^I go to the README file$/, function(done) {
done.pending();
});
then(/^I should see "(.*)" as the page title$/, function(title, done) {
if (title === this.browser.text('title')) done();
~/Repositories/playground-vagrant master*
❯ make
vagrant up --provider=docker
Bringing machine 'app' up with 'docker' provider...
==> app: Docker host is required. One will be created if necessary...
app: Docker host VM is already ready.
==> app: Syncing folders to the host VM...
app: Rsyncing folder: /Users/yoshuawuyts/Repositories/playground-vagrant/ => /var/lib/docker/docker_1407426436_59228
app: Rsyncing folder: /Users/yoshuawuyts/Repositories/playground-vagrant/ => /mnt/docker_build_0064ec06b8c293e46f3dd8d17fe9c55b
==> app: Building the container from a Dockerfile...
@yoshuawuyts
yoshuawuyts / uiux.md
Created August 15, 2014 11:43
UI / UX resources
  • implement 'map'
  • implement 'map' recursively
  • implement 'every'
  • implement 'reduce'
  • implement a function spie
  • implement a trampoline function