Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2c86ceef83
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (19 sloc) 0.906 kb

Get Lucky

Helps you get lucky with Google using Safari's Location field.

No dynamic code injection required.

Initial setup

sudo rake hosts:update

Usage

Start the server:

sudo rake thin:start

In safari's location bar, type go/ your search string

  • go/kch github # Google Feeling Lucky straight to the awesomest github account
  • im.go/cheezburger # Google Images for, er… cheeseburgers
  • go/vanilla ice cream # Google Feeling Lucky for the awesomest icecream
  • wp.go/Vanilla_Ice # Wikipedia entry for some guy featured in xkcd #210
  • go/xkcd 210 # The aforementioned comic

Yes, spaces, yes. Safari will honor them.

See shortcuts.yml for all available searches. See below for customization.

Customization

sudo rake shortcuts:edit

Note: If you edit shortcuts.yml manually, you must later call sudo rake hosts:update.

Something went wrong with that request. Please try again.