Skip to content

Instantly share code, notes, and snippets.

View richhollis's full-sized avatar

Richard Hollis richhollis

View GitHub Profile
@richhollis
richhollis / gist:4019391
Created November 5, 2012 18:15
Gist for search issue with sferik / twitter
Twitter::Error::Forbidden: Missing or invalid url parameter
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/twitter-4.1.2/lib/twitter/response/raise_error.rb:21:in `on_complete'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/response.rb:9:in `block in call'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/response.rb:63:in `on_complete'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/response.rb:8:in `call'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/request/url_encoded.rb:14:in `call'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/request/multipart.rb:13:in `call'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/twitter-4.1.2/lib/twitter/request/multipart_with_file.rb:21:in `call'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/faraday-0.8.4/lib/faraday/connection.rb:226:in `run_request'
from /home/rich/.rvm/gems/ruby-1.9.2-p320/gems/twitter-4.1.2/lib/twitter/client.rb:71:in
@richhollis
richhollis / credits
Created February 22, 2012 12:33
Patched jquery-ui-1.8.16.js for twitter bootstrap 2.0 input autocomplete / typeahead
Credit to the original posters on Stack Overflow that proposed the fix - thanks!
http://stackoverflow.com/questions/9232748/twitter-bootstrap-typeahead-ajax-example
http://stackoverflow.com/users/1205428/bmoers
http://stackoverflow.com/users/379593/el-developer