Creating a new object like this:
# only supports geo right now my $donuts = WWW::KrispyKreme::Hotlight->new(where => [34.170833,-118.25]);
and calling the locations method like this:
my $locations = $donuts->locations;
Yesterday I released another IRC plugin for POE::Component::IRC: POE::Component::IRC::Plugin::WWW::Reddit::TIL
The plugin simply fetches a random title and link from the front page of Reddit's TodayILearned subreddit.
I used WWW::Shorten::Simple to return bitly links, and Mojo::JSON to decode reddit's API.
Hello Perl bloggers,
I have released my first module: POE::Component::IRC::Plugin::Vim::Tips, a plugin for the IRC client module POE::Component::IRC.
When a user types !vimtip (or !vimtips) in a channel that your bot has joined, my plugin will scrape the first page of tweets from the Vim Tips Twitter feed and reply back with a "random" tip from that list.
vimbot curtis: ggguG will lower case the entire file (also known as the Jerry Yang treatment). http://is…
I finally sat down and organized my unsorted bookmarks in Firefox. In doing so I came across Jeff Atwood's blog post describing the FizzBuzz test:
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
I must have bookmarked the link while preparing for interviews before graduation. After skimm…