A quick tutorial showing you how to ensure that new files created in your file structure will inherit the existing user and groups (no matter which user creates the new files). This tutorial is for Debian/Ubuntu and Mac:Read More Setup a folder so that new files created in it inherit default permissions and group
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
So today I thought, I wonder what the definitions for the URL and URI acronyms are. Just incase anyone else out there is curious too. URL: Uniform Resource Locator URI: Uniform Resource Identifier So what’s the difference between the two? All URLs are URIs, but not all URIs are URLs. It’s like trying to…Read More What do URL and URI stand for?
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
What is a Class A class is also known as an object. To better understand the concept of an object, think of it as you would a material object like a bear. Let’s pretend that we are going to have to make a bear using a class. To start you would give the animal a…Read More PHP Classes briefly explained