Skip to content

Instantly share code, notes, and snippets.

@onlymejosh
onlymejosh / application.controller.js
Last active November 3, 2015 22:18 — forked from vitch/application.controller.js
yielding actions
import Ember from 'ember';
const { Controller, computed } = Ember;
export default Controller.extend({
totalItems: 3,
items: computed(function() {
return [
{id: 1, title:'1'},
{id: 2, title:'2'},
@onlymejosh
onlymejosh / gist:3739782
Created September 17, 2012 21:07 — forked from madrobby/gist:3733875
Fade out elements on WebKit and Firefox
<style>
.fade-right {
-webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), color-stop(0.75, rgba(0,0,0,1)), to(rgba(0,0,0,0)));
mask: url(#fade_right_svg_mask);
}
#mask_demo {
background: #d0d0d0;
height: 100px;
width: 500px;
padding: 10px;
@onlymejosh
onlymejosh / Questions
Created September 6, 2011 20:08
GOTO Amsterdam
Day job:
What is your language of choice:
Open Source contributions:
How do you use GitHub: