Category Archives: Tumble

The new Google Chrome Beta for mac and the alpha 1Password extension work perfectly together!

-webkit-box-shadow (in Webkit nightly) and -moz-box-shadow support inner shadows with the inset keyword. Both also support multiple shadow declarations separated by commas.

Want to achieve the box pictured above?

div.box {
   -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.20), rgba(0,0,0,0.12) 0px 0px 10px inset;
   -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.20), rgba(0,0,0,0.12) 0px 0px 10px inset;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border: 1px solid #fff;
   padding: 6px;
   width: 200px;
   background: #fff;
}

There’s a very convenient shell script bundled with some distributions of OpenSSH called ssh-copy-id. It seems not to be the case with Leopard’s SSH.

In order to get it, we can simply check it out of a SVN repository. Execute this two commands:

sudo curl "http://www.chiark.greenend.org.uk/ucgi/~cjwatson/cvsweb/openssh/contrib/ssh-copy-id?rev=1.8;content-type=text%2Fplain" -o /usr/bin/ssh-copy-id
sudo chmod +x /usr/bin/ssh-copy-id

And you’re done!


Not a big fan of the Web Developer toolbar? Me either! But I do use the logging system quite a bit. Thankfully, OS X ships with an useful application called Console that comes to the rescue.

  1. Open the Console application
  2. Go to File > Open and browse to your frontend_dev.log or desired log file in the symfony logs directory
  3. Click Show Log List and select your newly opened file to avoid the clutter of the rest of the OS logs
  4. You’re done! You can now take advantage of features like clearing the view, search, and more :)