Buzzmarklet
I created a bookmarklet to share stuff via google buzz.
I created a bookmarklet to share stuff via google buzz.
Google Public DNS IP addresses
The Google Public DNS IP addresses are as follows: 8.8.8.8Comments [0]
#!/usr/bin/perl
# google.pl - command line tool to search google
#
# Since I wrote goosh.org I get asked all the time if it could be used on the command line.
# Goosh.org is written in Javascript, so the answer is no. But google search in the shell
# is really simple, so I wrote this as an example. Nothing fancy, just a starting point.
#
# 2009 by Stefan Grothkopp, this code is public domain use it as you wish!use LWP::Simple;
use Term::ANSIColor;# change this to false for b/w output
$use_color = true;
#result size: large=8, small=4
$result_size = "large";# unescape unicode characters in" content"
sub unescape {
my($str) = splice(@_);
$str =~ s/\\u(.{4})/chr(hex($1))/eg;
return $str;
}# number of command line args
$numArgs = $#ARGV + 1;if($numArgs ==0){
# print usage info if no argument is given
print "Usage:\n";
print "$0 \n";
}
else {
# use first argument as query string
$q = $ARGV[0];
# url encode query string
$q =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg; # get json encoded search result from google ajax api
my $content = get("http://ajax.googleapis.com/ajax/services/search/web?v=1.0&start=0&rsz=$result_size&q=$q"); #Get web page in content
die "get failed" if (!defined $content); # ugly result parsing (did not want to depend on a parser lib for this quick hack)
while($content =~ s/"unescapedUrl":"([^"]*)".*?"titleNoFormatting":"([^"]*)".*?"content":"([^"]*)"//){ # those three data items are extrated, there are more
$title = unescape($2);
$desc = unescape($3);
$url = unescape($1); # print result
if($use_color){
print colored ['blue'], "$title\n";
print "$desc\n";
print colored ['green'], "$url\n\n";
print color 'reset';
}
else{
print "$title\n$desc\n$url\n\n";
}
}
}
Comments [5]
"Yes, it’s true that a team at Google couldn’t decide between two
blues, so they’re testing 41 shades between each blue to see which one
performs better. I had a recent debate over whether a border should be
3, 4 or 5 pixels wide, and was asked to prove my case. I can’t operate
in an environment like that. "
Comments [0]
"I am not sure exactly what Google was trying to prove with the launch
of Squared, but what is apparent to me is that somebody needs to grab
Eric Schmidt by the scruff of his neck and forcibly rub his nose into
this product. NO! We do NOT DO THAT on the INTERNET."
http://www.theregister.co.uk/2009/06/08/dziuba_google_squared/
Comments [0]
Inside the Google Headquarters:
Marketing/Finance Guy: Hey we need "live" search, its hot right now!
Tech Guy: Go buy twitter!
MG: Are you crazy we're in a recession, we don't have the money.
TG: Ok I have this old new-way-of-doing-email sideproject, that was
kind of "live".
MG: Great, can you make it even more "live"?
TG: (sarcastic) Well the users could see each other typing.
MG: (exited) Great! Make it so!
TG: (concerned) That would kill our server if we ever released it.
MG: Don't worry we wont release it, just prepare a demo.
TG: And if we eventually release it?
MG: We make it Open Source, so somebody else will run it and their
servers will crash.
Comments [0]
Everything these days is about Twitter, though. Go to a party--talk about Twitter. Have a blog? Talk about Twitter. Use Twitter? Talk about Twitter. Apparently we can add to that: facing legal pressure over allegedly anti-competitive business practices? Talk about Twitter.
Comments [0]
Philipp Lenssen postet this article about a company boasting their SEO
success in offline world a few days ago
(http://blogoscoped.com/archive/2009-05-02-n44.html).
That's nothing compared to german district Baden-Wüttemberg. They
bought the backside of the german newspaper 'Frankfurter Allgemeine'
today, to run a full-sized ad. They compare the google result count
for 'Innovation aus deutschland' and 'Innovation aus
Baden-Württemberg' (918 to 7.960 results).
Comments [1]
nice stuff to start experimenting with the google-apis:
http://www.reynoldsftw.com/2009/03/8-jquery-plugins-that-utilize-google-apis/
Comments [1]
googles autocompletion feature tells a lot about the relationship
between language and intelligence:

Comments [1]
Comments [0]