Archive for July, 2008
Wednesday, July 9th, 2008
I was going through some old photos of myself. Here are two examples of the theme that quickly made itself apparent.
[singlepic=101,500,240,,]
[singlepic=102,500,240,,]
Oh hey, Dibrova
[singlepic=103,500,240,,]
Posted in Me | Comments Off
Sunday, July 6th, 2008
Holy shit, why did this take so long to figure out.
$input_filename = 'somefile.jpg';
$output_file = 'someotherfile.jpg';
$new = ImageCreateFromjpeg($input_filename);
$width = imagesx($new);
$height = imagesy($new);
$black = imagecolorallocate($new, 0, 0, 0);
$white = imagecolorallocate($new, 255, 255, 255);
$font = 4;
$leftTextPos = ($width - imagefontwidth($font)*strlen($name))/2;
imagefilledrectangle($new, 0, ($height-20) , $width, $height, $black);
imagestring($new, $font, $leftTextPos, $height-18, $name, $white);
imagejpeg($new, $output_filename);
Posted in Code | Comments Off
Friday, July 4th, 2008
Sadly, KLRs don't come with clocks. No fear though, you can add a professional looking clock to your KLR quickly and easily!
You'll Need:
[singlepic=100,500,240,,]
1x KLR
1x Velcro Tape
1x LCD Clock from the auto department at Wal-Mart
Step 1:
[singlepic=99,500,240,,]
Find a good spot for your clock and lay down one side of the velcro tape.
Step ...
Posted in Bikes | Comments Off
Tuesday, July 1st, 2008
I work with a lot of NAT routers. Every brand imaginable, D-link, Linksys, odd jobs that ISPs supply, you name it. Sometimes it can be a pain to get them to forward ports properly, it can be even more of a pain to test if it is working. I wrote ...
Posted in Code | Comments Off
Tuesday, July 1st, 2008
Living in Arkansas has a few perks. Namely, random creatures living in and around your home. Usually this means large creepy bugs or opossums, but occasionally it's something cool.
[singlepic=96,500,240,,]
[singlepic=95,500,240,,]
[singlepic=94,500,240,,]
Posted in Me, Random | Comments Off