If omitting width=device-width from the viewport meta tag, css3 flex-box layouts no longer respect overflow:hidden and text-overflow:ellipsis for wider-than-page content. <meta name=”viewport” content=”width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0″ />
sometimes when using -webkit-transform:translate3d; or -webkit-transform:translate; on elements visible on the page, it causes the screen to flicker. In my particular case I had a menu that opened as an overlay, and whenever an element with translate3d was on the page, the menu flickered badly when fading in. The solution seems to be to set [...]
I was just about to install MacPorts on my OS X 10.6 system, and downloaded the latest package (1.9.1) from macports.org, only to get a dialog saying my MacPorts version was too old to update, and that I first needed to upgrade to 1.7.1. That didn’t install at all, but I found this snippet while [...]
Just open up the terminal and type: defaults write com.apple.mail NSPreferredMailCharset “UTF-8″ It was that easy. Not everyone has to do that I guess, but if you, like me, have had a problem with Outlook users asking you why you’re writing to them in Chinese, this might help get them off your back
Just upgraded to WordPress 2.1. All in all, it was quite a smooth experience. Congrats to the WordPress team for an impressive update! Update: if you’re using the Feedburner plugin for managing different flavours of RSS, be sure to update that, and change your settings accordingly. I didn’t, but now I have…
After editing the hosts file (mate /etc/hosts), instead of restarting the computer or logging out, this line will restart lookupd: sudo kill -HUP `cat /var/run/lookupd.pid`
Recently I was going to take the promising Symfony PHP framework out for a quick test drive, but ran into trouble in the very beginning of the tutorial. I’m running MAMP for local PHP development, but the terminal is using the built-in PHP version for its command line scripting. And Symfony is all about generating [...]