Skip to content

Instantly share code, notes, and snippets.

View dbatwa's full-sized avatar

Daniel Aragao dbatwa

  • Melbourne - Australia
View GitHub Profile
@dbatwa
dbatwa / README.markdown
Created September 12, 2012 22:20 — forked from gudbergur/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string
@dbatwa
dbatwa / gist:3477156
Created August 26, 2012 10:39
Nodejistu fail
info: Welcome to Nodejitsu adtiki
info: jitsu v0.9.7
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Skipping require-analyzer because noanalyze option is set
info: Skipping require-analyzer because noanalyze option is set
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/Administrator/Dropbox/adtiki/adtiki_server/package.json
data:
require "rubygems"
require 'net/http'
require 'uri'
module WEBrick
class HTTPRequest
attr_writer :host, :port, :request_uri, :unparsed_uri, :request_line, :path
end
end