Tutorials

After installing Mountain Lion I discovered that Apple changed their settings for Apache. Here are some amazing tutorials I came across that will help you get your Mac Mountain Lion Apache PHP MySQL server up and running. Installing Apache MySQL, PHP and setup Virtual Hosts http://todsul.com/lamp-mac-os-x-lion Installing and configuring Apache, MySQL, PHP and phpMyAdmin http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion…

Read More Amazing tutorials to setup Apache, PHP and MySQL on Mountain Lion

I’ve been setting up a LEMP server, Nginx Mysql PHP, on Ubuntu and lost my root mysql password. Here’s what I did to reset the password in Terminal. After logging into my server via SSH on Terminal I ran the following lines in Terminal. # /etc/init.d/mysql stop # mysqld_safe –skip-grant-tables & $ mysql -u root…

Read More How to reset the root mysql password if you forget it

I wanted to improve my Git workflow, so I went about using GitHub’s Service Hooks to set up a web hook to my development server. The idea being that I would have GitHub ping my server every time I or anyone else pushes to the master GitHub repository. The idea was pretty simple. I would…

Read More Solved: Running git pull from a php script causing an error?

Git is a fast version control system. I am sure you are probably already familiar with it, but if you are not you can read about it on the official website here. Basically Git is a really useful way of backing up projects and saving ‘snapshots’ in the case where you might need to go…

Read More Great video lessons on the basics of using Git version control

Is it possible to hook up an Apple TV to a computer monitor? Absolutely. One of the really cool things with the Apple TV is the ability to hook it up to a computer monitor. That is exactly what I did with my 24inch Samsung monitor. Important: Your computer monitor must be HDCP compliant for Apple…

Read More How to hook up your Apple TV to a computer monitor

Today I had some apps remain on LaunchPad after deleting them from the applications folder. Apple has some work to do as there was no way of removing these apps from LaunchPad except through terminal. Here is how to use Mac Terminal to remove apps from LaunchPad. Replace APPNAME with the name of the app.…

Read More How to remove apps from Mac OS X Lion LaunchPad

I remember when I first came across the mysterious double-colon (::), also known as the Scope Resolution Operator. I was experimenting with a php library I hadn’t written, but was asked to extend, and at the time I had no idea what classes were, how they worked, or how they helped. To try and figure…

Read More The Scope Resolution Operator (::) explained

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