Coda 2 compare

One thing that I noticed when using Coda 2 is that the ‘Compare’ option did not seem to do anything. No message just… nothing. Someone on the Coda Users group had an answer. Apparently it is an issue with upgrading from xCode 4.2 to 4.3: Sounds like you need to update your machines Xcode path.… Continue reading Coda 2 compare

BBEdit code coloring

One of my biggest frustrations with BBEdit is its weak code coloring. Here is an example that I just ran into: At first I thought the issue was the two classes (left-col and archives). But that doesn’t seem to be it. So I thought maybe something else was wrong with the code and I tried… Continue reading BBEdit code coloring

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