technology


7
Jul 11

Shameless Self Promotion

An article on Tom’s Hardware that I helped with was posted yesterday. It’s about Wi-Fi, it’s problems, why your Wi-Fi sucks and what can be done about it. If you’re interested go ahead and read it. Please suffer through the format as it’s actually a pretty good read, but if you glaze over tech stuff just go look at the images I did for the article. I’m quite pleased with a couple of them. There’s 27 pages in the article, each with a picture (see why I said to suffer through the format?). Specifically, I did the images for pages 1, 21, and 23-26. tip: most have a “zoom” option if you hover over the image

Page 1 and 26 I think are my favorites. Page 1 (shown above) because of how it turned out and page 26 is an homage to XKCD. Page 21 has been dubbed the FrankenAP. I’m not thrilled with page 25 (the two iPads in different orientations) but there were time constraints and limitations in the room setup, and that was even the second time I shot that particular concept. Funny behind-the-scenes note about page 25. I was using a mini-bagel between the stand and the iPad to keep the iPad from leaning back and catching a glare from the overhead fluorescent lights.


6
Jan 11

OSX Passenger prefpane tip

I recently undid all my MacPorts and started using Homebrew for some software on my Macs. That meant uninstalling the Apache MacPort and switching back to the default Snow Leopard version of Apache. Everything went relatively smoothly but today a noticed that my Passenger prefpane wasn’t listing all the Rails sites it had previously been managing.

Turns out it was because in my original install of the prefpane I had used the “ports” version of a required ruby file, per instructions, since I was using the MacPort version of Apache. The easy fix is to just reinstall the prefpane. All of my sites now show up in the site listing and I can add the new site I’m currently developing.


25
Dec 10

Boxee!!!

Boxee!!!

I uploaded this through flickr


16
Feb 10

How to fix the Windows desktop context menu after installing Samsung MagicRotation

With the new computer setup I have at work, I needed to have one of my monitors rotated 90° so it would fit until a better solution was attempted. The desktop wasn’t rotating though because I hadn’t installed Samsung’s MagicRotation software. So I did.

After doing so, I noticed that the context menu on my desktop was way screwed up. All the text had shifted over to the right and was unreadable.

Continue reading →


29
Mar 09

Amazing sheep herding

This is just crazy. I wish I could find sheepdog trials on tv again.

You need to a flashplayer enabled browser to view this YouTube video


25
Feb 09

Upgrade your Flash Player

FlashDue to a security hole, Adobe is recommending people upgrade their Flash Player. Go here to see what version you are running. If your player version doesn’t match the version listed on this page, then you need to upgrade your flash player.


16
Jan 09

What you shouldn’t put on a credit card swiper

What you shouldn't put on a credit card swiper

I uploaded this through flickr


4
Jan 09

She wasn’t THIS excited

… but my sister DID cry when she got her Wii for Christmas. This kid though… sheesh!


24
Nov 08

How I block people from visiting a website

Inspired by the article Block a Website for Everyone But You over at CSS Tricks, I thought I’d post my way of blocking people from accessing my websites while I work on them.

Chris Coyier over at CSS Tricks uses the following code in his .htaccess file to block visitors.

RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^71\.225\.113\.171
RewriteCond %{REMOTE_HOST} !^71\.185\.239\.212
RewriteCond %{REMOTE_HOST} !^69\.253\.223\.254
RewriteCond %{REQUEST_URI} !/comingsoon\.html$
RewriteRule .* /comingsoon.html [R=302,L]

What he’s doing there is checking for specific IP addresses that are allowed to see the website but everyone else is sent to the “comingsoon.html” webpage. This is great for people who have specific IP addresses but if you’re behind a proxy like I am at work then everyone else with you behind that proxy can still see the site.

I find it much easier to redirect everyone but check for a custom cookie that I can set using the Webdeveloper Firefox extension. That way I can check to make sure that the redirect to the maintenance page is actually working. Here’s the relevant code that I use (taken from a RoR tutorial of old)

RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteCond %{HTTP_COOKIE} !^.*access_cookie=1.*$
RewriteRule ^.*$ /maintenance.html [L]

where the text “access_cookie” (sans quotes) would be whatever cookie name you want to use. I just create a “session cookie” set to a value of “1″ (or whatever you want to make it) and check for it’s existence.

That gets around the problem of DHCP granted or spoofed IP addresses. Sure a cookie is easy to add but if you make the name and/or value sufficiently difficult to guess, no one is getting in.

Now just add your cookie.

Note in the image that I have set it to be a “session cookie”. This helps when you forget to delete the cookie. Just close your tab (FF) or browser (IE), reopen it and the cookie will be gone.

Oh yeah. The other thing that my .htaccess code does is, on the first line, check for the existence of the “maintenance.html” file. I don’t want to have to add and remove this code everytime I want to take the site down. It’s much easier to just have this code permanently in my .htaccess file and then upload the file that people will see when the site is down. I then delete it when the site is ready to be reopened. This is all performed using a custom Capistrano command that I run when I’m ready to deploy a new version.


23
Oct 08

Visit this site if you are feeling down or just need to laugh your ass off

Blender Defender or how to keep cats off the counter