Articles
These cover a variety of topics like modern PHP, application development, design patterns, and web design.
Decoding Short URLs
Short URLs – You see them everywhere! They’re used in social media, IM, and email – anywhere space is limited. A long URL can wrap across lines and break in a weird way. Do you know where a the short URL will send you? It’s not always where you think!
Don’t Fear The Shortcode
I like WordPress shortcodes. I think they can empower authors. But people some people are afraid to use them.
Playing Games with SQL
When dealing with a sports league of any sort, there are two elemental tables that make the core of the application – games and teams. The game table has foreign keys in it that refer to the team table. Because of this, we’ll talk about the team table first. Team Table +————+————-+——+—–+———+——-+ | Field | … Read more » Playing Games with SQL
Convert Line Endings In Textmate
Goto Text > Filter Through Command Set Input to “Document” Set Output to “Replace Document” Use this sed one-liner as your command to convert from Unix to DOS: sed “s/$/`echo -e \\\r`/”