Category Archives: Snippets

CSS diagnostics script

I recently found a really cool script comprised of 100% CSS that will check to make sure your css is valid. All you have to do is add this code to your current CSS file and it automatically highlights all … Continue reading

Posted in Developement, Snippets, Tips | Tagged , , , , , | 1 Comment

[Fixed]: WordPress Image Upload Overwrites Existing Images

I have been uploading a lot of screen captures taken on my mac to my blog lately and recently noticed that WordPress seems to be overwriting the previous files I have uploaded with the same name. Mac screen captures are … Continue reading

Posted in Developement, Snippets, Tips, WordPress | Tagged , , , | Leave a comment

Calculating The “Freshness” of a Time-stamp

Ok, so lets say you have a time-stamp and you want to print out something like “5 minutes ago” instead of just the time itself. Good news! Now you can using this little snippet I found off php.net thanks to … Continue reading

Posted in Snippets, Tips | Leave a comment