I hereby claim:
- I am chromeragnarok on github.
- I am sidkusnanto (https://keybase.io/sidkusnanto) on keybase.
- I have a public key ASA-m-YJSX8KItGT6XUZOXpVkLrHo5dbHntas4WC1BqczAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// JS Stuffs here | |
$("#add-new").droppable({ | |
accept: ".draggable-stuffs", | |
drop: handleDrop | |
}); | |
function handleAddNewDrop(event, ui) { | |
// do stuffs with your event and ui params... or not. | |
} |
// JS Stuffs here | |
$("#add-new").droppable({ | |
accept: ".draggable-stuffs", | |
drop: handleDrop | |
}).tipsy({title: 'data-tooltip'}); | |
# some web steps to be called on your cukes... |
class Api::ApiController < ApplicationController | |
def authenticate_with_token | |
if user = authenticate_with_http_token { |t, o| | |
User.authenticate(t, o) | |
} | |
@current_user = user | |
else | |
request_http_token_authentication | |
end |
require 'rubygems' | |
require 'eventmachine' | |
require 'em-http-request' | |
require 'oauth/helper' | |
require 'oauth/signature/hmac/sha1' | |
require 'uri' | |
module TwitterDemo | |
STREAM_URL = "https://userstream.twitter.com/2/user.json" | |
CONSUMER_KEY = "" |
function generatePaging(fetchSize:Number=128):void | |
{ | |
var buffer:Array = new Array(); | |
var i:Number = 0; | |
while (i < fetchSize && wordIndex + i < textArray.length) | |
{ | |
var word:String = textArray[wordIndex + i]; | |
buffer.push(word); | |
i++; |
var pageContainer6Loader:Loader = new Loader(); | |
if (pageContainer6.numChildren != 0) | |
{ | |
var k6:int = pageContainer6.numChildren; | |
while ( k6 -- ) | |
{ | |
pageContainer6.removeChildAt( k6 ); | |
} | |
} |
[SWF] footprint/footprint.swf - 343,217 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/8 - 1,314,527 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/9 - 202,168 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/10 - 323,748 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/11 - 261,592 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/12 - 797,233 bytes after decompression | |
[SWF] footprint/footprint.swf/[[DYNAMIC]]/13 - 194,680 bytes after decompression |
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- sidkay-em-http-request (LoadError) | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from twitter_demo_alternate.rb:3:in `<main>' |