Re:Ask HN: What are the cool life hacks for Developer?
by brynedwards on Friday August 12, 2016 @04:20AM
(#12274070)
Interesting idea. Also, DuckDuckGo can do the same:
https://duckduckgo.com/?q=%21ducky+inurl%3Aen.wikipedia+%s
I also use Google's "I'm feeling lucky" as my default search so I can type e.g. "mdn array" to look up the JS array docs quickly. I used to use DuckDuckGo's version but the results were unfortunately too inaccurate.
Re:Ask HN: What are the cool life hacks for Developer?
by oevi on Friday August 12, 2016 @06:03AM
(#12274380)
Someone on HN mentioned (or even built) http://mdn.io for that, so you can just type mdn.io/array into the address bar and it takes you straight to the right JS docs page.
Bonus: works in every browser or environment.
Re:Ask HN: What are the cool life hacks for Developer?
by malcolmocean on Friday August 12, 2016 @05:06AM
(#12274208)
I really like this "I'm feeling kind of lucky" feature that Google search used to ship with Firefox and that still works:
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navc...
It goes straight to the first result if the result is very good, otherwise shows you the search results.
A few weeks ago I read about an American civilian pilot who was out on a training flight and by chance ran into the Japanese air fleet over Pearl Harbour - becoming one of the first Americans to learn of the imminent attack. I don't remember any details beyond that. If I wanted to read about that pilot on wikipedia, I guess I could navigate to Google.com, enter some relevant search terms, scroll through the results until I find one from Wikipedia that looks right, click on on, read it, see if it's the correct one, etc.
But because I search for wikipedia articles about stuff all the time, I have a chrome shortcut set up that does a Google "I'm feeling lucky" search with "inurl:en.wikipedia" appended to it, so I just type in my browser bar
and hit enter, and it takes me straight to https://en.wikipedia.org/wiki/Cornelia_FortOnce you get used to going straight to where you want to go, using the "search and choose" method becomes painfully frustrating
Edit: to be more clear, I have a chrome "custom search engine" set up with the keyword "w" and url:
this obviously routes your wikipedia navigation through google, which some people may have a privacy issue with, but I don't when it's something I would search google for anyway