Skip to content

Instantly share code, notes, and snippets.

#What is it? Geocoder lets you look up street addresses, IP addresses and geographic coordinates. It also allows geographic queries using objects, such as looking up hotels, events, restaurants, etc near a city of your choosing.

#Features

source: http://www.rubygeocoder.com/

Simple Geocoding by Street Address

Given a Venue model with known street address, automatically fetch coordinates after validation and store in latitude and longitude attributes:

@michaelohm
michaelohm / jquery_example.html
Last active August 29, 2015 13:57 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@michaelohm
michaelohm / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
# Objective 1:
class BoggleBoard
attr_reader :board
def initialize(board)
@board = board
end
def create_word(*coords)
coords.map {|coord| @board[coord.first][coord.last]}.join
@michaelohm
michaelohm / 0_reuse_code.js
Created February 1, 2014 18:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console