- Bytes and Blobs by David Flanagan
- Conference Wifi Redux by Malte Ubi
- Sashimi - https://github.com/cramforce/Sashimi
- Run Your JS everywhere with Jellyfish by Adam Christian - http://jelly.io Project
- Fighting Crime and Kicking Apps with Batman.js by Nick Small
- Hello Jo by Dave Balmer - Project - http://joapp.com
This file contains 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
function amdResolve(id, mod) { | |
var parts = mod.id.split('/'); parts.pop(); | |
var dir = parts.join('/'); | |
return id.replace(/^\./, dir); | |
} | |
function amdMap(args, mod) { | |
var mapped = []; | |
function require(id) { |
This file contains 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
// ERB style templates for jQuery in hardly any code. | |
// | |
// Based on http://ejohn.org/blog/javascript-micro-templating/ | |
// | |
// A tiny and simple plugin to allow erb style template rendering within jQuery. | |
// | |
// Make a template: | |
// | |
// <script type="text/html" id="template1"> | |
// <% $.each(items, function(i, image) { %> |
This file contains 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
// Model | |
var Todo = defineComponent(asModel, function() { | |
// this would just be a normal component with extra methods | |
// that define bindable attributes and other logic | |
this.properties({ | |
text: String, | |
complete: Boolean | |
}); |
This file contains 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
// Flight Proposal: Groups | |
// Its useful to be able to structure components together | |
// so that we can manage their lifecycles. We currently | |
// group components together using simple initialization | |
// functions which give us a rough structure but don't | |
// allow us to manage lifecycles easily which has given | |
// rise to nested components. However, it's not desirable | |
// to couple one component to another in this way and | |
// departs from the self contained nature of Flight |
This file contains 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
# Usage: | |
def streaming | |
chunked_response do |resp| | |
resp.chunk do | |
"before" * 5000 | |
end | |
resp.chunk do | |
sleep(1) |
This file contains 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
Time To First Tweet | |
------------------- | |
When users come to Twitter.com, the first thing they want to do is read their timeline. The time that it takes for a user to do this formed the backbone of our performance improvements that are currently being rolled out. We'll explain how we measure Time To First Tweet, how we re-engineered our front end to make this as fast as possible and what our next steps will be to improve our user's experience. Through this we can demonstrate that a pragmatic approach to web performance can help you make the biggest positive impact on your users experience. |
This file contains 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
module Mustache | |
class << self | |
import com.github.mustachejava.DefaultMustacheFactory | |
import com.github.mustachejava.jruby.JRubyObjectHandler | |
def template_dir | |
Rails.root.join('app', 'templates') | |
end | |
def factory |
This file contains 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
Lighter Champion | |
Pulse vs Flex Lil Silva | |
Underground Boddika | |
Soul What Boddika | |
Bax MOSCA | |
Kerpow XXXY | |
Night Hunter FIS T | |
Reminder - Original Mix Bok Bok | |
Energise HOSTAGE | |
Sicko Cell Joy Orbison |
This file contains 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
function delegate(rules) { | |
return function(e) { | |
var target = $(e.target), parent = null; | |
for (var selector in rules) { | |
if (target.is(selector) || ((parent = target.parents(selector)) && parent.length > 0)) { | |
return rules[selector].apply(this, [parent || target].concat($.makeArray(arguments))); | |
} | |
parent = null; | |
} | |
}; |
NewerOlder