Journaling on estrip is free and easy. get started today

Last Visit 2024-03-16 17:05:41 |Start Date 2003-07-07 03:39:31 |Comments 5,617 |Entries 6,438 |Images 14,748 |Sounds 119 |SWF 21 |Videos 322 |Mobl 2,935 |Theme |

Category: web

09/12/09 12:08 - 68ºF - ID#49751

Robots and Men

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
print add/read comments

Permalink: Robots_and_Men.html
Words: 234
Location: Buffalo, NY


09/11/09 03:51 - 67ºF - ID#49747 pmobl

Christan spam from 716-536-7113


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
print add/read comments

Permalink: Christan_spam_from_716_536_7113.html
Words: 126
Location: Buffalo, NY


Category: dancing

09/11/09 03:06 - 66ºF - ID#49745

Haze Hollow - Dancing and Camping?

A music festival in Mayville next Saturday Sept 19th.

image
print add/read comments

Permalink: Haze_Hollow_Dancing_and_Camping_.html
Words: 18
Location: Buffalo, NY


09/10/09 11:58 - 56ºF - ID#49742 pmobl

The stache


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
print add/read comments

Permalink: The_stache.html
Words: 56
Location: Buffalo, NY


09/10/09 10:09 - 66ºF - ID#49735 pmobl

Lilho on tree

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
print add/read comments

Permalink: Lilho_on_tree.html
Words: 35
Location: Buffalo, NY


09/09/09 01:09 - 74ºF - ID#49730 pmobl

What I eat at night


Everyday before I go to sleep I eat a yummy veggie/ protein filled
snack dish and a second whey shake. It feels healthy. I wish I lived
somewhere with fresh crabs.
image
print add/read comments

Permalink: What_I_eat_at_night.html
Words: 36
Location: Buffalo, NY


09/08/09 04:38 - 63ºF - ID#49722 pmobl

At the hospital


I just took matt to the emergency room because he was having some
serious stomach issues. There are two people in the waiting room with
me. One is sleeping and the other is carrying on a conversion with a
Sherly temple movie on mute. He carries between smiling and laughing
and telling her to fuck off.

Its great that there is a hospital like a block away and Im sure it
raises the chances that I survive a heart attack or stroke. I just
wish I brought my headphone.
image
print add/read comments

Permalink: At_the_hospital.html
Words: 93
Location: Buffalo, NY


09/07/09 10:43 - 68ºF - ID#49719 pmobl

Penzey's spices


(E:matthew) and I went out to sushi at wasabi with (e:jim) and (e:james).
Afterwards we strolled around the strip a bit. It was nice ti see
construction has begun on the expansion of spot into the spot where
flower power bakery used to be.

The store front where bagel bros used to be across from wilson' farms
is turning into penzey's spices. Wonder what that will be like. I
could be exciting to have a spice store. For my birthday I want a new
spice set. I hope they are open by then.
image
print add/read comments

Permalink: Penzey_s_spices.html
Words: 102
Location: Buffalo, NY


09/07/09 10:36 - 68ºF - ID#49718 pmobl

My Furry Zuchini


This zuchini went bad over the weekend while we were gone. I have
never seen anything go so bad before.
image
print add/read comments

Permalink: My_Furry_Zuchini.html
Words: 25
Location: Buffalo, NY


09/07/09 12:37 - 73ºF - ID#49714 pmobl

Seaweed death trap


Well, it's not really seaweed. It's a combination of lake plants and
algae. We tried skinny dipping in it the first night. It was dark
and freaking scary. The time between clothes off, swimming and back
on the dock fully clothed was a little over 1 minute, lol.

It always feels like it is pulling you under and I can't help but
think snapping turtles, even though chris and (e:chris) say there aren't
any.
image
print add/read comments

Permalink: Seaweed_death_trap.html
Words: 80
Location: Buffalo, NY


Search

Chatter

New Site Wide Comments

sina said to sina
yes thank you!
Well, since 2018 I am living in France, I have finished my second master of science,...

paul said to sina
Nice to hear from you!! Hope everything is going great....

paul said to twisted
Hello from the east coast! It took me so long to see this, it might as well have arrived in a lette...

joe said to Ronqualityglas
I really don't think people should worry about how their eyelids work. Don't you?...