Skip to content

Instantly share code, notes, and snippets.

@devinhunt
devinhunt / fayeCollectionGist.gist
Created August 2, 2011 12:03
Faye and collections
window.ArtistCollection = Backbone.Collection.extend({
initialize: function(models, ops) {
if(ops.updater) {
this.updater = ops.updates;
this.updater.bind('update', _.bind(this.onUpdater, this));
}
},
onUpdater: function(response) {
// send the updates to the correct model
@devinhunt
devinhunt / gist:8417997
Last active May 17, 2023 13:23
Coffee Shop Workplaces in London

Place to Drink Coffee and Work in London

East

100 Shoreditch High Street, London E1 6JQ

  • Coffee Espresso is great. Filter shots... not so much.
  • Wifi Free and quick.
  • Other Notes It's in the Ace Hotel, so great for meetings and easy to spread out.
function lazyEase(now, end, speed) {
return now + (end - now) / speed;
}