How to get your virtual host MAMP Server (Mac Apache, PHP, and MySQL) up and running again after upgrading to the latest macOS. Mac High Sierra (as of this post). After upgrading the macOS and navigating to the directory of my localhost website, this is what I see. Instead of showing the webpage it is supposed…

Read More How to restore your Mac’s Apache settings after upgrading your Mac OS

Benotto restoration Benotto restoration

The restoration is coming along nicely. Ordered some NOS Benotto forks and they arrived safely today. The forks are made of Columbus SL tubing, the kind found on Benotto modelo 2500 and 3000. Part 1 and Part 2 of the restoration are here. Step 1: Sanding (3-4 hrs) I started with 180 grit sandpaper. Because I had previously…

Read More Benotto Bicycle Restoration – Sanding and Primer – Part 3

If you are noticing a clunking sound coming from the front of your vehicle when going over uneven roads and speed bumps it’s likely that their is play in your sway bar. If your front bushings are worn then your sway bar will move when your wheels go up and down. Resulting in a clanking…

Read More How to replace the front sway bar bushings on a 1999 Nissan Pathfinder R50

Introducing an easy-to-use and lightweight css grid.  Flexible 12 column grid Easily extend for custom styling Fluid (works no matter the size of the containing div) Responsive (looks nice on mobile & web) Option to maintain grid column layout on mobile screens Download latest release 

Read More How to use the simple responsive CSS grid – SimpleGrid

This is the best guide on PHP symbols I’ve every seen. If only something like this existed when I was first learning to code. Reference: & =& &= && % !! @ ?: : :: \ -> => ^ >> <<< = == === !== != <> | || ~ + += ++ .= . ,…

Read More What does the symbol “&” “&&” “||” “::” “%” “!!” “**” mean in PHP?

A quick trick to empty a file using Terminal on Mac. 1. Open Terminal 2. enter the following command in Terminal cat /dev/null > fileName If you get a warning Permission Denied you can do the following trick. sudo sh -c ‘cat /dev/null > fileName’

Read More Mac – How to clear a file’s contents using Terminal command

Mac host environment Mac host environment

Welcome to part 5 of the MAMP tutorial. In this post we will go over setting up friendly URLs on your Mac server. We will be adding a new site called http://mysite.localhost You will also learn how to run multiple domain sites on your local server. Having Virtual Hosts enabled is really useful when developing sites on…

Read More How to setup multiple sites hosted on your Mac with OSX 10.8 + (MAMP Part 5)