Showing articles 11 - 20 (147 total)
Posted on 05/23/2016 at 12:21 pm | Viewed 6,842 times | 0 comments
Change the URL redirect location using beforeRedirect() in Cakephp 3 I wanted to change the redirect behavior from within a component in my Cakephp 3 application. The old 1.3 method of returning the new $url didn't work. Turns out that you need to use Response::location() to modify the location of the redirect. See my code below: public...
Read More | Comments
Posted on 01/28/2016 at 12:30 pm | Viewed 5,154 times | 0 comments
Motion UI Classes (used for animation): https://github.com/zurb/motion-ui/blob/master/docs/classes.md
Read More | Comments
Posted on 01/27/2016 at 10:37 am | Viewed 8,432 times | 0 comments
You can change what view.ctp file you want to use in your controller with the following line of code. I place it at the bottom of my function definition. Useful for having a simple admin interface or a different view template for each language. This doesn't change the layout of your page, just the view template the controller uses when...
Read More | Comments
Posted on 01/13/2016 at 03:56 pm | Viewed 5,855 times | 0 comments
I'm finally off on upgrading to CakePHP 3.0. I'm sick of typing out CakePHP 3.0, so from now on it's just cake3. I'm going to post about my experiences upgrading a large application to cake3. First thing: it's so easy to get access to a model... ANYWHERE (love it!) use Cake\ORM\TableRegistry; $this->Articles =...
Read More | Comments
Posted on 07/16/2015 at 10:36 pm | Viewed 7,687 times | 0 comments
I'm getting ready to roll out some new graphing functionality and wanted to take a look at the state of JavaScript graphing libraries. Goals: Beautiful Charts - there are a lot of hokey looking charts out there Fast Avoid sending data to a 3rd party No license fees. MIT License is always ideal. Current JavaScript graphing Tools / Approach...
Read More | Comments
Posted on 02/26/2015 at 03:18 pm | Viewed 11,364 times | 0 comments
It's easy to manage mysql from the command line in Mac OS X. Just make sure to remember to run as sudo! Stopping, Restarting and Starting MySQL Server Commands $ sudo /usr/local/mysql/support-files/mysql.server restart Password: ********* Cheers, -Kevin Wentworth
Read More | Comments
Posted on 02/17/2015 at 11:44 am | Viewed 8,185 times | 0 comments
Here are my go-to resources for making all those fancy CSS3 effects on pages: CSS Border Radius Tool CSS Border Radius - http://border-radius.com/ CSS Background Gradients Ultimate CSS Gradient Generator - http://www.colorzilla.com/gradient-editor/ CSS Box Shadow Generator CSS Matic Box Shadow CSS Generator - ...
Read More | Comments
Posted on 01/02/2015 at 09:23 am | Viewed 10,119 times | 0 comments
I just tried to use my handy GeoTrust Intermediate CA cheat and it didn't work. As of today, you'll need to use the following links to get your GeoTrust Intermediate CAs: Intermediate CA Certificate for GeoTrust QuickSSL Premium SHA-2 (under SHA-1 Root) CA Bundle ...
Read More | Comments
Posted on 12/19/2014 at 10:18 am | Viewed 9,767 times | 0 comments
There have been many times when I've wanted to find out the speed of a server's connection. Running a ping from your workstation to the server accomplishes nothing when you need to determine the speed of your server's connection to the outside world. I came across a post with the perfect recommendation. Use CURL and download a large file...
Read More | Comments