In OS X Lion, there is an option to restore windows upon restart. However, I never used it. Yet, every time I went to shut down my Mac, I was prompted to shut down with the option, “Reopen windows when logging back in” pre-checked. And I would uncheck it every night. Now, as of 10.7.4, I noticed… Continue reading Sometimes it is the small changes
Month: May 2012
Easy way to pass multiple variables to a CodeIgniter validation callback
I was recently working on a custom form validation callback for my CodeIgniter script. By default, one gets the field that you’re validating available in the callback function. For example, if I have the following form validation rule: $this->form_validation->set_rules(‘discountGlobal’, ‘Global Discount’, ‘trim|integer|max_length[1]|xss_clean|prep_for_form|only_one_global_discount[]’); My custom callback is only_one_global_discount. I am not explicitly passing anything through to… Continue reading Easy way to pass multiple variables to a CodeIgniter validation callback
Safari Extensions
One of the things that bothers me about using Safari as a main browser, is that there is no simple way to see if the page you loaded contains a JavaScript error without actually opening the Web Inspector. I would love to have a simple button that would simply alert you to any JavaScript errors… Continue reading Safari Extensions
Debugging Google Analytics
I was recently working with Google Analytics and discovered the Google Analytics Tracking Code Debugger. In the past, one of the biggest frustrations I had was that I would make a change and then have to wait until the next day to see if the changes worked. I guess that the time to see results… Continue reading Debugging Google Analytics