Category Archives: Code

Posts relating to writing code, whether PHP, Javascript or HTML and CSS,

Setting up the Perfect Web Development Environment, Part 1

by

Inspired by Elliot Jay Stocks’ recent posts on his iMac plus Air setup, I thought I’d document how to set up a seamless development environment between desktop and laptop. If you intend to set up a similar environment, you’ll need to perform these steps identically on both machines. Part 2 of this series will deal…

Posted in Code | Tagged , , , , , | Leave a comment

Adaptive Content (with a dash of jQuery)

by

Aral Balkan posted the following snippet on Twitter just now: <span>u</span><span class=”hideIf320″>ser e</span><span class=”capIf320″>x</span><span class=”hideIf320″>perience</span> followed by the explanation: … adaptive copy 🙂 (Actual names shortened for the tweet.) Writes “user experience” in widescreen, UX on smaller screen 🙂 It’s an interesting idea, but I think it clutters up the markup with too many non-semantic…

Posted in Code | Tagged , , | 4 Comments

Skype Annoyances

by

Ok Skype, I finally caved in and installed your poxy app. Thing is though, you also allow calls to non-Skype numbers so I’d really appreciate it if you allowed it to be set as the default application to open href=”tel:” links. Y’know, RFC 3966? Because believe it or not, some people still use those old-fashioned…

Posted in Code | Tagged , , | Leave a comment

Localhost slowdown: cracking poor performance in TortoiseSVN and Zend Server

by

Continuing from my previous post on troubleshooting SVN setup on Windows, I’ve recently encountered (and solved) quite a serious performance hit that’s been affecting my main development machine. Since I spend a lot of time on the move, I do most of my development on my laptop, a Dell Latitude D430. It’s a fantastic little…

Posted in Code | Tagged , , , , , | Leave a comment

The Real WTF is…

by

If you’ve never read The Daily WTF, it’s a fantastic site run by Alex Papadimoulis highlighting the horrors that readers have found and submitted in real production code. Reading it is a heady blend of “oops, I used to do that” mixed with some absolutely abysmal stuff that you’d swear couldn’t possibly be real. Just…

Posted in Code | Tagged , , , , | Leave a comment

Installing and Configuring SVNServe and TortoiseSVN on Windows

by

After you’ve been working with code for a while, source control is a godsend. It provides a way of tracking changes, prevents conflicts and generally saves your bacon. Here’s how to set it up on Windows 7. Installation First grab the latest SlikSVN and TortoiseSVN packages for your platform – x86 and x64 versions are…

Posted in Code | Tagged , , , , | 17 Comments