Backyard Wildlife 03-09
March 12, 2009 – 12:25 pmIt's almost spring in the Ozarks, lots of brown, but a touch of green here and there.
Lobster Madness
It's almost spring in the Ozarks, lots of brown, but a touch of green here and there.
The brilliance of programming...
Last year I needed to tail a file in PHP. I whipped this out.
Today I needed to do it and came up with this:
$output = `tail -n 150 /var/log/messages`;
$tail_str = "<pre>$output</pre>";
Weee... don't know what the hell I was thinking last time.
I had the need to convert a PDF to a JPG today. I searched around on Google and everything was pay to play. This is pure exploitation since this sort of conversion is a one liner for most Linux systems.
I wrote my own.
Depending on your connection speed, this may take a while.
If you provide a single page PDF you will get a JPG back. If you provide a multi-page PDF you will get a zip file back, inside of the zip file will be a JPG of each page of the PDF.
Simply reads a directory of images and rotates through them randomly. What makes it cool is the script is called from and HTML IMG tag. Neato.
Once downloaded, open the file and change $ad_dir to the path (not url) of your images. Then upload it to your web host. Call the script from an IMG tag: <img src=ad_rotator.php>
I took another trip to Eagle Butte. Twelve hours there, work for two days, and then twelve hours back. This trip was a lot better than the last one. I think because the weather was 'nice'. No real snow and temps in the 4s-30s. Brisk, baby. I expected it to be -20 and for there to be snow over my head.
Also, last time I stayed a whole week and I either got frostbite or cauliflower ear.
This was by no means an exciting trip, but in this case that is good.
Part of the thevedic.net.
[Aarait] -
[Contact Me] -
[Mud Emporium] -
[Old Index] -
[Ozark, AR] -
[Pig Trail 23] -
[Pig Trail Pics] -
[See my Port?]
This site is in no way represents the opinions or positions of any company or organization including those who employ the creators of this web site. We're not responsible for the content, posts, responses by other users or ideas of any sites that are linked to on this page. This site is recommended for ages 18 and up.
VEDIC VEKO IS PROSPEROUS
Arkie Imports |
Dean Vaughan |
Dean Vaughan |
K. Dean Vaughan |
Kenneth Vaughan |
See My Port Forward Info