The media seems to think that everyone should learn to code, but I strongly disagree and believe we should look at the bigger picture.
Dependency Injection (DI) is a simple concept that’s often explained in complicated terms. It’s not rocket surgery, just giving objects to other objects!
A few months ago I started showing ads on my blog and the results were exactly as I expected — ads on tech blogs just don’t work!
Checks that a string is valid on Windows (NTFS), Mac (HFS+) and most Linux distros as a file/folder name as well as part of a URI without encoding.
Locked-out of Outlook because you tried to add an account thrice and it gave up on you? Annoying, but easy to fix. Here’s how!
Sometimes you want more than plaintext in your field descriptions. Here’s a JS snippet that allows HTML (and multiple lines!) in your field descriptions.
When you just want to echo one of three things in throwaway code, here’s a simple trick using PHP 5.4’s dereferencing that does it in one line.
So you have an idea and you think it’s worth a million dollars? I think it’s barely worth the paper it’s written on and here’s why.
ZenDesk is becoming the de facto support system but it doesn’t handle departments as obviously as other solutions — this is the missing guide.
Outputting tables on the command line is fiddlier than it sounds, requiring some string padding trickery. Here’s a quick-and-dirty function to insta-win!