Skip to content

Instantly share code, notes, and snippets.

View nfgallimore's full-sized avatar
🏠
Working from home

Nick Gallimore nfgallimore

🏠
Working from home
View GitHub Profile
@nfgallimore
nfgallimore / lamp-stack-osx-virtualhostx.md
Last active September 27, 2018 21:31 — forked from pwenzel/lamp-stack-osx-virtualhostx.md
LAMP stack on OSX with Homebrew, built-in Apache, multiple PHP versions, VirtualhostX optional

This guide shows how to set up a PHP and MySQL development environment using OSX's built-in Apache, using Homebrew to install necessary components. With this strategy, you can use different versions of PHP for certain virtual hosts.

VirtualHostX is a convenient way to manage development sites, but not required.

Install PHP and MySQL with Homebrew

brew update
brew install php56
brew install mysql
mysql.server start
@nfgallimore
nfgallimore / skiplist.h
Created September 14, 2018 03:05 — forked from unsuthee/skiplist.h
C++ Implementation of Skiplist
///////////////////////////////////////////////////////////////////////////////
#ifndef _SKIPLIST_H_
#define _SKIPLIST_H_
#include <iostream>
#include <sstream>
///////////////////////////////////////////////////////////////////////////////