Skip to content

Instantly share code, notes, and snippets.

View zzarcon's full-sized avatar
🦍
Generating legacy code

Hector Zarco zzarcon

🦍
Generating legacy code
View GitHub Profile
@plapier
plapier / ellipsis.scss
Created February 14, 2013 18:18
Sass Ellipsis Mixin
@mixin ellipsis ($max-width){
display: inline-block;
max-width: $max-width;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@mobz
mobz / watchify browserlfy babelify
Created March 17, 2015 23:05
one line build system for browserify babeljs and watch ( watchify / babelify )
./node_modules/watchify/bin/cmd.js -v -t babelify src -o dist
@Xaynder
Xaynder / app.js
Created November 5, 2012 12:35
Titanium iOS Sliding Menu
//// ---- Menu window, positioned on the left
var menuWindow = Ti.UI.createWindow({
top:0,
left:0,
width:150
});
menuWindow.open();
//// ---- Menu Table
// Menu Titles
@ivanvanderbyl
ivanvanderbyl / account_routes.js
Last active January 31, 2016 17:55
Using Ember initializers and injections to setup the `currentUser` within your app.
App.AccountEditRoute = Ember.Route.extend({
setupController: function(controller) {
controller.set('content', this.get('currentUser'));
}
});