- 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() { | |
var intentRegex = /twitter\.com(\:\d{2,4})?\/intent\/(\w+)/, | |
windowOptions = 'scrollbars=yes,resizable=yes,toolbar=no,location=yes', | |
width = 550, | |
height = 420, | |
winHeight = screen.height, | |
winWidth = screen.width; | |
function handleIntent(e) { | |
e = e || window.event; |
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 JsonFile(path) { | |
this.path = path; | |
} | |
JsonFile.prototype = new loadrunner.Dependency; | |
JsonFile.prototype.start = function() { | |
var me = this; | |
$.get(this.path, function(data) { |
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
ree-1.8.7-2009.10 > b = Selenium::Client::Driver.new :host => '192.168.83.131', :port => 4444, :browser => '*firefox c:\Program Files\Mozilla Firefox 3.6\firefox.exe', :url => 'http://172.16.145.39:8888', :timeout_in_seconds => 60 | |
=> #<Selenium::Client::Driver:0x10169bfc0 @default_javascript_framework=:prototype, @port=4444, @default_timeout_in_seconds=60, @browser_url="http://172.16.145.39:8888", @session_id=nil, @extension_js="", @highlight_located_element_by_default=false, @host="192.168.83.131", @browser_string="*firefox c:\\Program Files\\Mozilla Firefox 3.6\\firefox.exe"> | |
ree-1.8.7-2009.10 > b.start_new_browser_session => nil | |
ree-1.8.7-2009.10 > b.open '/test/test.html' => nil | |
ree-1.8.7-2009.10 > b.get_eval "window._qunitResults" | |
=> "[object Object]" | |
ree-1.8.7-2009.10 > b.get_eval "window._qunitResults.passed" | |
=> "19" |
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 Template(path) {} | |
Template.prototype = new loadrunner.Dependency; | |
Template.prototype.start = function() { | |
// called when first callback is added | |
// start the template load | |
this.load(function(source) { | |
// call complete when its done | |
var template = this.compile(source) | |
this.complete(template); | |
}) |
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; | |
} | |
}; |
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
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
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. |