Malicious enjoyment derived from observing someone else’s misfortune
 

Tag Archives: web design

Fun with browser error pages

So, I though it would be interesting to mimic browser behavior with error pages. I decided I needed to make a page that looked exactly like the Firefox Server-not-found page. I managed to copy the source using Firebug, and I extracted the css out of the jar files on my system. Anyway, I ended up with some source for IE and some source for Firefox. Test this in IE and Firefox I left little invisible links in each one (search [...]

Site5 promo code for October

You can still get 13% off a new Site5 7.5TB/750GB/$7.50 Plan until November! These guys are a great rails host. Get this deal while it’s hot! Code: HALLOWEEN2007

Site5′s Limited-Time 750GB/7.5TB offer!

The Site5 deal just got better. Join now! Site5 has been great hosting. The site you’re browsing now uses it. I bought this deal when it was 55GB of storage, 5TB of bandwidth, and 55 domain pointers. Now it’s 750GB, 7.5TB, and Unlimited domain pointers. It’s great Linux-based hosting that is Ruby and Rails friendly. They have support for every PHP application out there, as well as a great forum and wiki that can help you with just about any [...]

Google releases an IFRAME generator for Google Maps

Yes, it’s true, Google has released a simple iframe generator so you can embed Google Maps into anything, like this: View Larger Map For the record, Brickskeller is a pretty awesome pub. I highly recommend it if you are in the D.C. area.

OMG Java is lame

This Demo is an example of a major issue in Java. They seriously need to at least give the user a warning before fullscreening. I mean, that demo could have been really bad. Hint: goatse. On the other hand, this would be AWESOME for presentations.

Sending Adblock Google Blockers Away

Of course I know that a simple Greasemonkey script can very easily thwart this, but I don’t expect most people to go out and find it to defeat this. If you don’t like my google ads, you can read this wonderful entry. function sendJerksAway() { // Bye eval(unescape("%69%66%28%24" + "%24%28%75%6e%65%73%63%61%70%65" + "%28%27%25%35%62%25%36" + "%65%25%36%31%25%36" + "%64%25%36%35%25%33" + "%64%25%36%37%25%36%66%25%36%66%25" + "%36%37%25%36%63%25%36%35%25" + "%35%66%25%36%31%25%36%34%25%37%33%25%35%66" + "%25%36%36%25%37%32%25" + "%36%31%25%36%64%25%36%35%25%35%64%27%29%29%2e%6c" + "%65%6e%67%74%68%20%3d%3d" + "%20%30%29%20%64%6f%63%75%6d%65%6e%74" + "%2e%6c%6f%63%61%74%69%6f" + "%6e%20%3d%20%22%68%74%74%70%3a" + "%2f%2f%67%6f%6f%67%6c%65%2e%62%6c%6f" + "%67%6e%65%77%73%63%68" + "%61%6e%6e%65%6c%2e%63%6f%6d" [...]

KLone – C on Rails!

Well, I was over at Debian Package of the Day when I noticed an article on KLone. It’s a little application framework that allows you to do XHTML templating in C! Then, you can compile it and send it off to any Linux machine (with a few dependencies of course) to run it. I got it, and it didn’t work for me at first. Then, for some reason, it started working. Here’s what I think did it: In Ubuntu, I [...]

Precaching Images with Javascript

Today, Will told me about some awesome image caching. I used it. //Do some image caching cached_image = Array(new Image(), new Image(), new Image(), new Image()); cached_image[0].src=”image1.jpg”; cached_image[1].src=”image2.jpg”; It’s amazing.

Javascript blur problem

Today, I had a problem doing this: <input type=’text’ readonly onFocus=”alert(‘manatee’);this.blur();” /> The problem was it would go into an infinite alert loop. That’s not cool. The fix was to reverse the calls: <input type=’text’ readonly onFocus=”this.blur();alert(‘manatee’);” />