Cats are cute

Recent Posts

Viewport: Making webpages look great on iOS devices

Jan. 19, 2012 | by Albert O'Connor

<meta name="viewport" content="width=device-width, initial-scale=1.0">

This is the default viewport meta tag found in the very useful html5 boilerplate.

If you are like me, and don't initially understand exactly what it does, this default will get you into trouble.

The main issue is your website will look great on your computer but when you look at it on an iPhone or iPad it will look small, squished even depending on ...

Read More

Good Night Patel

Dec. 4, 2011 | by Albert O'Connor

Today is the day I decommission the first server I created for this venture.

Over a year ago I started investigating how modern web hosting works and discovered the awesome price points you can get for small servers designed to serve small amounts of traffic. Not only were these cloud based virtual machines inexpensive, they weren't tied to hardware allowing the providers to provide excellent up time.

I named my first server Patel, and ...

Read More

Hosting Django under different locations with Nginx and gunicorn

Sept. 15, 2011 | by Albert O'Connor

Do you know how Django uses SCRIPT_NAME?

It's not often I host different instances of Django under different locations on the same domain. One legacy install has been setup that way for over a year with Apache2 and mod_wsgi (with Nginx infront). Almost all of my new deployments use virtual hosts with different subdomains for each service.

If you are using virtual hosts with Nginx it looks like this:

server {
    listen   80;
    server_name  service ...
Read More

jQuery fallback for HTML5 placeholder attribute

Aug. 21, 2011 | by Albert O'Connor

If you google placeholder and jQuery you quickly find some handy code for a javascript fallback for the HTML5 placeholder functionality:

https://gist.github.com/379601

If you want to read more check out the blog post.

As written this will always override the built in browser behaviour, and it isn't as good as the built in behaviour. We only want this code to be registered if the current browser doesn't natively support ...

Read More

Wilderness Labs

June 28, 2011 | by Albert O'Connor

In December 2010, inspired by several interesting events I had heard about, I started a unique project with a few of my good friends. The idea is to find out what happens when you go away for the weekend with some talented people to a beautiful cottage with the intention to create something.

We decided to call it Wilderness Labs.

Inspiration came from the likes of /dev/fort and the 7 Cubed project. Since there ...

Read More