Tutorials

I like Dropbox. I use it all the time to share files across machines and work on group projects. However, I don’t like how Dropbox duplicates files as and saves them as conflicted copies. It’s not something that I need or use. I just delete those “conflicted” files. 99.99% of the time the conflicted files…

Read More Remove dropbox conflicted files on Mac or Linux using Terminal

Today I had to set the PHP script execution time directly from within the php file. Here’s what I did. Add the following code to your file. You can change the seconds to what you need. It is important to be careful using this on a live server. If you allow a script to run…

Read More Increase PHP Script Execution Time Limit Using ini_set()

Recently our servers went down. The error we were getting was “Too many connections”. This meant that we needed to increase the limit on the number of available connections within our mysql config file. The setting is called max_connections Before you go upping the number of max user connections there are two things to consider.…

Read More What to do when you have the error “too many connections”

Inevitably every programmer is going to encounter MVC architecture. MVC or model-view-controller is a pattern used by applications that divides the application into 3 parts. At first glance MVC can look more complicated than it is. Let’s look at the three parts. Model – The model handles the data and cares about where the data…

Read More MVC architecture explained briefly.

Step 1. Sign up for Google Analytics Step 2. Add a New Account Once you are logged into Google Analytics: Click + New Account. On the Create New Accountpage, under General Information, enter your account name and the URL for your web property. You may see that the Account Name field has a default value of the URL for your…

Read More Tutorial: How to add Google Analytics to WordPress