Quantcast
Channel: Day Barr's blog
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Array.splice: deleteCount not optional

I recently ran across some curious JavaScript behaviour. Nothing new there, but I was slightly annoyed to see that my handy reference book hadn't given me any clue about the inconsistent way in which...

View Article


Browser support for built-in Ajax Libraries

When Google launched the Ajax Libraries API in May, Dion Almaer noted that it might be possible for browsers to further improve performance of applications using this API:If we see good usage, we can...

View Article

Pipe to filter the Google Code Issue Updates feed

Google Code provides various feeds for every project they host. The "Issue Updates" feed contains entries for all the issues on the project. What if you're only interested in one issue? Filter the feed...

View Article

Find index of selected option

Given this HTML…<select><option>Index zero</option><option>Index one</option><option>Index two</option></select><p>Selected option has index:...

View Article

Image may be NSFW.
Clik here to view.

Redesign

I've rewritten the website from scratch. Again.This time the excuse was to learn Django.Using a web framework like Django instead of a CMS like my previous Drupal installation gives me a lot more...

View Article


CSS Resets and Grids

As promised in my last post introducing the website redesign, I'd like to expand on the various projects that I've used to put this together. Today I'll start with the CSS framework.Firstly, I use Eric...

View Article

Image may be NSFW.
Clik here to view.

Munin Plugin for USB Thermometers

I recently bought a cheap USB thermometer on eBay, to measure the room temperature in the garage where my home server lives. When it finally arrived from Hong Kong, the parcel contained the...

View Article

Image may be NSFW.
Clik here to view.

Now faster than 84% of sites

It's official: according to Google Webmaster Tools, this site is now “faster than 84% of sites”:Can you tell when I made the switch from using Drupal to Django? ;)Here's my Pingdom graph for the same...

View Article


Ubuntu 14.04 on MacBookPro6,2

Ubuntu 14.04 works very well on my MacBookPro6,2. To check what version of mac you have:sudo dmidecode -s system-product-nameFansI noticed it was running hot, then realised this might be because no...

View Article


Disable suspend while using vpn on Ubuntu

My PC is set up to save power quite aggressively, by suspending after only 5 minutes of inactivity. This is fine most of the time, when the PC is periodically used by the family to quickly read email...

View Article
Browsing all 10 articles
Browse latest View live