December 03, 2009

15 Quick Tips for Developers and Designers

Article about ▸

written by Marek Foss

Twitter mosaic

I’m a developer and a designer. During my work I stumble upon these small problems that consume the most of our time, in respect to what they are. I try to solve them, and then I post answers to these as Quick Tips on my Twitter. I accumulated enough to post the first batch as an article. Do you have problems with your LAMP after upgrading to Snow Leopard? Do you want to know more about MySQL administration? Want some tips for CSS in Safari? This, and more, after the jump.

1. Good editing area on a 13-inch MacBook screen is 990x660px

2. If phpMyAdmin stopped working after updating to Snow Leopard, be sure to download the latest version of phpMyAdmin

3. If you have a problem starting up MySQL on Snow Leopard, read this

4. Since SCplugin for SVN stopped working in Snow Leopards, I recommend the SVN Finder scripts

5. If you have indexes for each column in mysql table, it really speeds SELECT to create a binding index containing these columns

6. The quickest way to recover a MyISAM MySQL table is “myisamchk—quick—recover”

7. Want to check in real-time what MySQL queries are killing your database? Use “show processlist;” or “show full processlist;”

8. Sometimes when messing with subdomains in Apache, “reload” is not enough - only a proper “restart” will make the new config work

9. If you name HTML element’s class or id something like “adsense”, AdBlock will block it even if there’s no ads inside

10. Don’t do <a name=“anchor” />, it breaks layout on Safari. Do <a name=“anchor”></a>

11. Fix for thick font rendering in Safari is here

12. When you use a $var in a PHP regex, make sure $var string doesn’t start with a new-line character

13. Linux symbolic links “ln -s” also work with script files – if you ever wanted to use AJAX and JS across subdomains

14. “Inline-table” and “inline-block” ain’t quite the same thing… ;)

15. In Firefox, “display: inline-block” works only when you omit position - ie. with “position: relative”, it doesn’t work…

That’s all for now. If you have your tips, just post in the comments! And be sure to follow me on Twitter for instant Quick Tips. And another round up can be expected in a couple of month :)

Headline mosaic by tsevis


If you liked the article, please spread the word and share it!

  • Share

Comments



Leave a comment: (comments may not appear immediately due to page caching)

Name: Email: (not disclosed)

WWW: Remember my details

Notify me of follow-up comments

Feed me:

to feed
  • Subscribe and get the new articles every now and then directly in your reader — I recommend using Google Reader

Facebook:

Connect:

 by Google
Google FriendConnect appears to be down at the moment. Sorry for inconvenience.
Related Posts with Thumbnails