johnnypez.com

The lazy blogger!

photos

WaterfordBaby ButlerPeoplePlacesThingsSnaps

tech notes

Jan 24th
2012

Multiple deploy keys with git

Before I forget, and some may find this useful too.
If you are deploying a few projects to the same server you will run into this, you need to use unique deploy keys to access each project unless you want to add the server’s public key to your account.

Jan 4th
2012

A better capitalize method

I’m back doing the blogging thing and this time its geekier than ever. Mostly ruby and javascript now. Kicking this year off with a quick ruby tip for capitalising names.

Feb 15th
2011

Customising FB.ui iframe dialog dimensions

I was faced with making some FB.ui dialogs fit neatly inside and iframe today. The FB.ui dialogs get their default dimensions, from one of the methods in FB.UIServer.Methods For example, if you’re usinge FB.ui({method:’stream.share’}) The dialog gets its size from FB.UIServer.Methods.stream.share.size Which is equal to {height:380, width:575} if you take a look at it in [...]

more