Published by Lee on 11/29/2008
in Lee.
I got really tired of waiting for the comics to load on every page of explosm.net, so I wrote a perl script to grab them all, where $i is the number comic you want to start with. I bet this script would work on other comics too.
use LWP::Simple;
$i=1124;
$urlf=”http://www.explosm.net/comics/%.0f/”;
$url=sprintf($urlf,$i);
open (HTML,”>temp”);
while($url){
$content=get($url);
$img=getImage($content);
$i++;
$url=sprintf($urlf,$i);
print HTML “<img src=’$img’ /><br />\n”;
}
close HTML;
sub getImage{
use strict;
my($content)=@_;
my $img;
if($content=~/src=”(http[^>]+?Comics.+?png)/){
$img=$1;
}
return $img;
}
Published by Lee on 11/26/2008
in Lee.
I challenge everyone to compile a whishlist today, before Black Friday hits. Post it online somehow– I bet there is a good Facebook application for it, and also there are the wishlists on Amazon and Google Shopping.
Comment on this post with the URL or with the contents of your wishlist.
Published by Lee on 11/13/2008
in Lee.
I have published yet another time! Therefore there is now a publications page on the blog.
Published by Lee on 11/9/2008
in Lee.
http://forums2.battleon.com/f/tm.asp?m=15024647
Well, i was surfing the net at college yesterday on my laptop, im allowed to use it in lessons to take notes etc.
I shut it down after my free period and went to physics, switched my laptop on, and upon startup it started some EXTREEMLY annoying music
I looked at it, tried to put some headphones in (sadly my headphons jack appears to no longer be working) and my sound panel is blanked out, so i cant control the volume (MUTE IT!)
eventually i gave in that physics lesson and just used pen and paper.
so i got home and tried to mess about a bit with it, it appears to have a strange virus.
It plays “Miley Cyrus – See You Again” upon startup, each and every time, and just repeats at full volume, it wont accept headphones (just sees them as not there and continues to play)
I found miley.exe as a process, and im assuming thats what controlling it, but when i close it, its just reopens itself and starts playing again
anyone have any ideas? As i absolutly hate pop music, and this takes the buscuit -.-
Published by Lee on 11/6/2008
in Lee.
I was driving home today with my rental car. A really sweet 2008 Maxima. Anyway, I got into an accident, flipped over a few times but I was uninjured. Some guys stopped by to help me out, give me a few band-aids, and basically pat me on the back. They whistled for a cab and when it came near The license plate said fresh and it had dice in the mirror If anything I can say this cab is rare But I thought ‘Now forget it’ – ‘Yo homes to Bel Air!’
I pulled up to the house about 7 or 8 And I yelled to the cabbie ‘Yo homes smell ya later’ I looked at my kingdom I was finally there To sit on my throne as the Prince of Bel Air.
(If there’s any doubt in your head right now, this was actually a made up story and you should be laughing.)
Published by Lee on 11/6/2008
in Lee.
While everyone out there is talking about Obama’s win, I thought I would help change gears. I had a crazy dream the other night where I was on a team of superheroes. We fighting some villains that were about 3 times my size. The weird part is that everyone’s superpower was to jump into the air and make diagonal jumpkicks. Like, I would jump and do a spin straight up into the air, but when the kick activated, I would change my flight of motion 45 degrees and make a diagonal jump kick.
Oh, and by the way. The superheroes won. You’re welcome!