Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

paul’s journal

📅 September 2009

Toxic waste recycle day

· 🌡️ 68°F


I participated in the Erie county hazardous waste drop off day over on
putnam st. I was so happy to get rid of the rest of the nasty
chemicals in various states of decomposion that were in my garage and
basement.

Look what happend to the container from the leakage. Considering how
much leaking was going on, it's a miracle my garage did not start in
fire.
image
image
image
image

Robots and Men

· · 🌡️ 68°F

I love writing robots that collect pictures of men, this one was not much of a challenge but resulted in a net gain of 30,000 pics for my robot library.

This one was very simple. It basically loops through, visits the pages, checks to see if there is a photo on the page and then saves the photo based on the category if it exists. Sometimes the robots are much more elaborate. It wasn't even worth writing a class because the code required wasn't more than could go in one method.

There are two photo examples down below the code are of au naturel vintage men, although they are no more offensive than the statue of david. Don't scroll if you don't want to see it.

<?
$dir = 'xpics/';
if(!is_dir($dir)){
mkdir($dir);
}

foreach(range(1, 30423) as $x){

//grab html
$html = file_get_contents('http://SOMEWEBSITE/postcontent/showfull.php?photo='.$x);

if(strstr($html, "Photo not found in the database!")){
echo "Pic ".$x.' not found';
continue;
}

//get photo name
preg_match("~http://SOMEWEBSITE/postcontent/data/(d+)/(.*?)"~", $html, $data);

$src = str_replace('"', '', $data[0]);
$category = $data[1];
$name = $data[2];

$category_dir = $dir.$category.'/';
if(!is_dir($category_dir)){
mkdir($category_dir);
}

$jpeg = file_get_contents($src);
file_put_contents($category_dir.$name, $jpeg);

echo "Saved pic #".$x;
}
?>

image

What is the story behind this one?
image

Christan spam from 716-536-7113

· 🌡️ 67°F


Someone at telephone number 716-536-7113 keeps spamming me texts.
It's freakin irritating.

I mean the last one could be taken as a threat depending how you read
it. I can't figure out who it is that would be close enough to get my
number but not close enough to realize this is enough for me to not be
friends with then anymore.

I tried calling but get one of those generic mailbox voicemails.

Who would think this is an appropriate message to send me. I guess
they figure i am in need of prayer and by sending me this text god
will favor them. How pathetic is that. Hopefully it's not someone
too important because I left them a mean message.
image

The stache

· 🌡️ 56°F


I spent the whole day with this crazy stache. I thought I was going
to just do it for today but now I don't want to cut it off. I had to
get the wax out to make it curl right.

Now I want to go out but no one's around ;(
image

Lilho on tree

· 🌡️ 66°F

It's a little dark but I had lunch at panaro's with e:lho
yesterday during her layover. It was nice to catch up. She had one
crazy trip to Aruba.
image