Monthly Archives: January 2010

CSS Border Radius Percentages and Elliptical Borders

When using CSS border radius I’ve always specified the radius in pixels (px), something like this: .round-box { border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } This got me to wondering, does it support percentages as well? So I tried this: … Continue reading

Posted in Posts | Tagged , , , | 2 Comments

"Weird Al" Yankovic Blog

Not sure when exactly this happened, but Weird Al has a blog on WordPress.com – http://alyankovic.wordpress.com/ That’s awesome!

Posted in Posts | Tagged , | 1 Comment

Just Hanging Out

Posted in Posts | 3 Comments

PHP Helpers: esc_html

Next up in the PHP Helpers series is esc_html: if ( !function_exists( ‘esc_html’ ) ) { function esc_html( $html, $char_set = ‘UTF-8′ ) { if ( empty( $html ) ) { return ”; } $html = (string) $html; $html = … Continue reading

Posted in Posts | Tagged , , | 2 Comments

First Rule of Collaboration: If You Can't Link To It, It Didn't Happen

I’ve been mulling over the merits of different collaboration tools. What struck me is the importance of being able to refer to past conversations. In the world of the Internet that means URLs. Having a history, or log, of discussions … Continue reading

Posted in Posts | Tagged | Leave a comment

Setting up SVNSync and SVN-Notify

Long story short, I wanted to get commit emails for a Subversion repo. I don’t have any admin rights to the repo so I figured the easiest way was to just setup a local repo, keep up to date with … Continue reading

Posted in Posts | Tagged , , | 10 Comments

PHP Helpers: debug_log

I’ve been thinking recently about useful PHP functions, ones that are so handy that I’d like to have them available in every PHP code base I work on. These aren’t necessarily big elaborate functions, they do a single task and … Continue reading

Posted in Posts | Tagged , , | 2 Comments

Unsubscribe Delay

One of my email accounts got signed up for an announcement list from Motor Trend magazine. Although I usually avoid clicking on the ‘unsubscribe’ link, this looked legitimate enough that I went ahead and gave it a try. After submitting … Continue reading

Posted in Posts | Leave a comment

Mac OS X Screenshot Keyboard Shortcuts

Mac OS X has numerous keyboard shortcuts, a handful of which will do screenshots for you: Shift-Command-3 : Screenshot of the whole screen, automatically saved as ‘Picture 1.png’ to your desktop. Shift-Control-Command-3 : Screenshot of the whole screen copied to … Continue reading

Posted in Posts | Tagged , | 6 Comments

PHP Count Performance

There was a question on the Utah PHP user group email list recently that went something like this: is calling count() on an array once and storing the result in a variable better/faster than calling count() multiple times? I’d always … Continue reading

Posted in Posts | Tagged , , , | 4 Comments