Google Code Search
October 5, 2006 7:38 AM   Subscribe

Good coders borrow. Great coders steal. Google Code Search, originally developed as an internal tool to search their volumes of source code, has been expanded to include many major open-source repositories, and released via Google Labs. Who knows what lurks in the heart of cvs?
posted by mkultra (42 comments total) 3 users marked this as a favorite
 
neat, it allows regex searches.
posted by empath at 7:41 AM on October 5, 2006


a[0] = 'http://www.schneier.com/blog/atom.xml';
//a[1] = 'http://xml.metafilter.com/atom.xml';
BURN
posted by neustile at 7:42 AM on October 5, 2006 [2 favorites]




actually this works better:

http://www.google.com/codesearch?hl=en&lr=&q=metafilter.com&btnG=Search
posted by rsanheim at 7:51 AM on October 5, 2006


That's the last link in the FPP, rsanheim...
posted by mkultra at 7:51 AM on October 5, 2006


oh, you mean I'm supposed to read that?
posted by rsanheim at 7:52 AM on October 5, 2006


Stolen code
posted by owhydididoit at 7:57 AM on October 5, 2006


The ego search doesn't show off the real boon here: the ability to search for funky-ass symbols like the kind of shit that Perl makes you use.
posted by Plutor at 7:58 AM on October 5, 2006


Always fun to grep: fuck.
posted by PantsOfSCIENCE at 8:04 AM on October 5, 2006


Ha! PantsOfSCIENCE, I did that too :-)
posted by doozer_ex_machina at 8:10 AM on October 5, 2006


14: /* Fuck. The f-word is here so you can grep for it :-) */
posted by crunchland at 8:11 AM on October 5, 2006


Also fun to search: kluge/kludge
posted by mkultra at 8:13 AM on October 5, 2006


"total hack"

man, this is too fun...
posted by mkultra at 8:15 AM on October 5, 2006


"piece of shit"
posted by mkultra at 8:18 AM on October 5, 2006


Wow...linux sucks more than microsoft.
posted by sexymofo at 8:31 AM on October 5, 2006


Some of the fuck you comments are priceless.
posted by Mr_Zero at 8:33 AM on October 5, 2006


I wish it would let you restrict searches to comments. That would be a lot more useful.

(In a perfect world where code was actually commented.)
posted by smackfu at 8:44 AM on October 5, 2006


sexymofo writes "Wow...linux sucks more than microsoft."

Meh. That's just because Visual Studio automatically inserts a "linux sucks" comment every 3 lines of code...

[j/k]
posted by clevershark at 8:48 AM on October 5, 2006


smackfu: (//.*fuck|/\*.*fuck)
posted by sonofsamiam at 8:54 AM on October 5, 2006


How bout this search for wordpress config files? That can't be good.
posted by slhack3r at 9:05 AM on October 5, 2006


slhack3r writes "How bout this search for wordpress config files? That can't be good."

Wow. That's pretty terrible, actually.
posted by clevershark at 9:08 AM on October 5, 2006


Yep. If you need me, I'll be auditing my file server and SVN repos....
posted by slhack3r at 9:10 AM on October 5, 2006



/*
* 1. Drop lowest HIDE_TOSSBITS bits of time
* 2. Create Future and Past Windows (MUST HAPPEN BEFORE Whiskey!)
* 3. Apply Whiskey
* 4. Reuse bits in better/drunken order
*/


Sounds like a plan. I like this. I must use it in some project...
posted by splice at 9:12 AM on October 5, 2006


FIXME is one I use a lot...
posted by Lazlo Hollyfeld at 9:32 AM on October 5, 2006


But Windows sucks the most.
posted by Kickstart70 at 9:36 AM on October 5, 2006


More passwords

Arguably, it's the author's fault for checking that into a public repository, but still...
posted by mkultra at 9:37 AM on October 5, 2006


WTF?
posted by trip and a half at 9:51 AM on October 5, 2006


I searched for my name. Vanity of course. And stumbled across a customer database that had been dumped to mysql. Looks like it is full of customer email addresses and (hashed) passwords.

The things people leave around online.
posted by schwa at 10:16 AM on October 5, 2006


Not anymore, it's not.
posted by mendel at 10:25 AM on October 5, 2006


How might one protect one's WordPress config files from Google?
posted by eustacescrubb at 10:51 AM on October 5, 2006


And Google lops over into another niche business, dealing the dreams of small guys another death blow.
posted by paulsc at 11:03 AM on October 5, 2006


eustacescrubb: make sure you have security setup properly on your machine, particuarily wp-config.php. If you don't know how, ask your sysadmin.

Here's a nice intro on the shell and permissions. I think the common advice is to chmod wp-config.php 0666 - but I'm not sure how safe this is if you are on a shared host. It will definitely keep out google, though.
posted by rsanheim at 11:08 AM on October 5, 2006


It really bothers me how excited people are getting about this announcement by Google when there are already several other sites that do this exact same thing. Krugle is one of them. Koders is another. Both of these sites are far better, in my opinion, but nobody is mentioning them.
posted by EnormousTalkingOnion at 11:22 AM on October 5, 2006


Evidently the source code to keygens for winzip and other utilities is available there, if any cryptologists were interested in seeing what algorithm they use.
posted by hoborg at 11:26 AM on October 5, 2006


Koders is... spookily similar.
posted by Artw at 12:45 PM on October 5, 2006


hoborg: Nobody is mentioning those others because they aren't Google.
posted by scottj at 1:06 PM on October 5, 2006


.
posted by MonkeySaltedNuts at 1:11 PM on October 5, 2006


"... but nobody is mentioning them."
posted by EnormousTalkingOnion at 2:22 PM EST on October 5


Noooo, but I linked Krugle, 3 comments up.

*paulsc scuffs toe of shoe on blue carpet, studies effect distractedly*
posted by paulsc at 2:50 PM on October 5, 2006


if you don't want Google to acquire/overshadow your product, having it rhyme with "-oogle" is a poor strategy.
posted by arialblack at 3:29 PM on October 5, 2006


Both of these sites are far better, in my opinion, but nobody is mentioning them.

You should have made a post about them then. Metafilter can't "get excited" about things that aren't posted.
posted by smackfu at 4:01 PM on October 5, 2006


943: printf("You better be ready to send shellcode, motherfucker\n"
"Cuz we gonna jack the fuckin ACID!@$!@$\n");

posted by Thoth at 7:22 PM on October 5, 2006


I'm not sure if I'm more horrified by Wordpress passwords being open, or that idiots are using "password" or even "root" as the passwords.

Anyone who does these things does not deserve to administer even minesweeper...
posted by QIbHom at 10:14 PM on October 5, 2006


« Older Teleportation Breakthrough   |   HIV is a gay disease Newer »


This thread has been archived and is closed to new comments