Archive for the ‘The Random’ Category


Greatest PC vs. Mac video

Sunday, May 23rd, 2010

Hackie Sack fail at work

Friday, January 15th, 2010

Two guys at work got a hackie sack stuck at the top of warehouse, and guess who had to get it down…

Hackie Sack fail from Jason Rogers on Vimeo.

2010 New Years Resolutions

Wednesday, January 13th, 2010

1. Live on my own again. March 9
2. Learn Japanese, failure to learn from last resolution.
3. Six Pack. (not beer)
4. Read a book a month.
5. Keep my car clean.
6. Go rock climbing.
7. Be more candid at work. (Got that from episode 8 of The Random with Tim and Kevin)

Keeping it simple.

How to fix IE to see multiple input image button’s for PHP.

Wednesday, January 6th, 2010

IE never ceases to piss me off! I’ve been working on this shopping for one of my site, and I have several button’s within the same form, depending on which one you choose will send you to a different page. In my case an update button and checkout button. The problem is with IE, it doesnt recognize a button as a HTML input DOM. The traditional name and value gets translated into ?name=value, in IE it see’s it as a sorta of image map. When you click the image button all it sends are the coordinates on the button you clicked. As in action_update.x=10 action_update.y = 9. Because of that the standard $_REQUEST['action_update'] wont work. Here is the code I used to fix it so I can tell if someone clicked a certain button. Heres the code for the fix.

HTML:

1
2
3
4
5
6
<form>
     <input type="image" src="button_image.jpg" name="action_update"
          value="update" />
     <input type="image" src="button_image.jpg" name="action_checkout"
          value="checkout" />
</form>

PHP:

1
2
3
4
5
6
7
8
9
10
<?PHP
     if($_REQUEST['action_update']=='update'||
           isset($_REQUEST['action_update_x'])) {
               /* do something */
     }
     if($_REQUEST['action_checkout']=='update'||
          isset($_REQUEST['action_checkout_x'])) {
               /* do something */
     }
?>

Hope that helps

Jason Rogers

Which tea infuser to buy?

Saturday, January 2nd, 2010

I’ve recently been experimenting with changing my lifestyle, and the biggie for me is drinking tea. I’ve been using the standard teapot making a bunch of different tea’s, however its time where I need a infuser. I found a video by kevin rose that helped me immensely. No infringement intended on posting it here, just want to get the info out there!

Tea Infusers from Kevin Rose on Vimeo.

Real time process viewing for windows.

Thursday, September 25th, 2008

Ok so i needed a program like this a while back. Basically someone had some viruses and this works perfectly. Check it out http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

btw i found it watching Hak5

Now you see it: Scientists closer to invisibility cloak w/video | National | Chron.com – Houston Chronicle

Thursday, August 14th, 2008

Now you see it: Scientists closer to invisibility cloak w/video | National | Chron.com – Houston Chronicle

Crunch gear

Cuil

Tuesday, July 29th, 2008

Cuil.com is pretty cool. I was checking it out after I read an article online that said it was live, and i have to say i like it a lot. The interface is pretty cool, it seems more easier on the eyes, and you don’t get inodated with a huge amount of search results. My last boss was big on search engines and finding the news and all that, and i remember him telling me cuil was gonna be big way back months ago when they first released a press release. We’ll see if hes right or not. My only cork to the entire engine is that my name comes in on the second page :( that sucks.

Jason Rogers





-->