DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Quick Aliases For Common Searches In Firefox

01.31.2006
| 2730 views |
  • submit to reddit
        Often I end up doing searches on a specfic site using google alot. For instance, the api for rubyonrails documentation.
Instead of using my previous tip *each* time  http://www.bigbold.com/snippets/posts/show/1325 :

site:api.rubyonrails.com submit_tag
 

I made a keyword bookmark inside firefox. 
Basically, create a new bookmark in firefox and make the url 

http://www.google.com/search?hl=en&q=site%3Aapi.rubyonrails.com+%s

Give this a short name like api or ror
then in your search bar you can type 
api submit_tag and watch the results float in.

Other useful searches i've found are,

the Ruby on Rails mailling list:

http://www.google.com/search?hl=en&q=site%3Ahttp%3A%2F%2Fwrath.rubyonrails.org%2Fpipermail%2Frails%2F+%s

The PostgreSQL 8.1 Documentation:

http://www.google.com/search?hl=en&lr=&q=site%3Ahttp%3A%2F%2Fwww.postgresql.org%2Fdocs%2F8.1%2Finteractive%2F+%s
    

Comments

Snippets Manager replied on Tue, 2006/01/31 - 8:51pm

Perhaps the %s's in the urls are getting parsed as ruby code?

Snippets Manager replied on Tue, 2006/01/31 - 8:51pm

There was source coloring? O.o

Snippets Manager replied on Mon, 2012/05/07 - 2:19pm

Something about this post is really bugging our parser out. I think it might be to do with the source coloring.. I've been looking into it.

Snippets Manager replied on Mon, 2012/05/07 - 2:19pm

I don't think so, but it's something to do with that stuff.