Madproject

Always know where your towel is.

Category: General

Increase verbosity

I saw something like this today: I couldn’t find anything in the manual or help about the dash-triple-v option other than the dash-v which enables verbose output. Turns out that by adding an extra v or two you’re increasing the verbosity of the output. Increase the verbosity I say!

Magento: getOrderId() deprecated

After Magento CE 1.4.0.1, Mage_Checkout_Block_Onepage_Success::getOrderId() has been deprecated. Need to get the order id? Don’t bother looking for getLastRealOrderId() as it uses Magento’s magical (or not so magical) getter/setter. More about that here: http://codegento.com/2011/02/where-are-my-getters-and-setters/

Show hidden files on Mac OSX

Ever needed to show those hidden files in Finder? I’ve tested this successfully in both Snow Leopard and Lion. Throw these two lines in your ~/.bash_profile (if it doesn’t exist, just create it) Reload your .bash_profile. From within terminal: Type sf to show all hidden files Type hf to hide all typically hidden files