Skip to content

Instantly share code, notes, and snippets.

@keade
keade / dfhk-geo
Created May 22, 2015 07:13
Dogfriendly-geojson-test
asdf
@keade
keade / rails-error
Created July 2, 2012 23:52
Error for Sendgrid through Rails
Net::SMTPFatalError (550 Cannot receive from specified address <please-change-me-at-config-initializers-devise@example.com>: Unauthenticated senders not allowed
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2012-07-02T23:51:08+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.2/lib/actio
@keade
keade / index.html.erb
Created March 9, 2012 00:06
Lost in Twitter Searching
<div class="container">
<div class="row">
<div class="span9">
<h6>@Twitter Name</h6>
<%= form_tag pages_path, method: :get do %>
<%= text_field_tag :search, params[:search] %>
<%= submit_tag "Search", name: nil %>
<% end %>
</div>
<div class="span3">
@keade
keade / index.html.erb
Created March 8, 2012 21:27
searching twitter option
<div class="row">
<div class="span12">
<h6>Enter your @Twitter Name</h6>
<%= text_field_tag :search, params[:search], :placeholder => "@username" %>&nbsp;
<%= submit_tag "Search", :class => "btn btn-large", :style => "line-height:1;"%>
</div>
</div>
<div class="row">
<!-- where the results should be showing up -->
</div>