Quick tip: Draw border on the inside of an element using CSS

One way that you can draw a border on the inside of an HTML element rather than on the outside is to use the box-sizing CSS property. This is supported on Firefox, Chrome, Safari, Opera and IE8+. Read the full article ...

Quick tip: Uninstall Xcode from your Mac

Apparently, just deleting the Developer folder won’t cut it. I found out that the correct way to uninstall Xcode is to run a command in the terminal. Read the full article ...

Quicktip: capture the output of a Django command

So, you want to programmatically call a Django command, and then capture it’s output? The documentation is very slim when it talks about how to call a Django command from code. To call a Django command from code it’s easy: just use call_command. To solve the trick of capturing the output of this I had to dig a little intro the Django source. Read the full article ...

Quick tip: how to refresh the favicon

So, you made a new favicon, you’ve replaced the old one with the new one on the server, and no matter what you do you still see the old favicon on the website ? Clearing the cache almost never works, so what do you do?

Actually, the solution is very easy: access the favicon directly with the browser (for example, go to www.example.com/favicon.ico) , refresh if necessary, then go… Read the full article ...