This file contains hidden or 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
define(['marionette'], function (Marionette) { | |
return Marionette.ItemView.extend({ | |
id: 'search-box', | |
tagName: 'div', | |
template: '#search-box-tpl', | |
ui: { | |
input: '#search-box-input' |
This file contains hidden or 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 fs = require('fs'), | |
fabric = require('fabric').fabric, | |
async = require('async'); | |
var names = ["Coleman", "Simon", ...]; | |
async.eachSeries(names, function(name, callback) { | |
var path = __dirname + '/images/' + name.toLowerCase() + '.png'; | |
var out = fs.createWriteStream(path); |
This file contains hidden or 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
define(['marionette', 'underscore'], function (Marionette, _) { | |
return Marionette.ItemView.extend({ | |
tagName: 'li', | |
className: 'gallery-item-view', | |
template: _.template('<a href="#" data-link="<%= link %>"><img src="<%= src %>" alt="<%= alt %>" /></a>'), | |
events: { | |
'click a': 'onClick' | |
}, |
This file contains hidden or 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
du -h * | sort -rh | head -50 |
OlderNewer