Skip to content

Instantly share code, notes, and snippets.

@rowleyaj
rowleyaj / Info
Created August 17, 2013 17:22
Useful Info for machine setup
To use the brew version of PHP with Apache you need to link libphp5.so to the right version.
See below:
Alex at rowleyaj-mac in /usr/libexec/apache2
$ la libphp5*
lrwxr-xr-x 1 root wheel 57 Jul 23 23:11 libphp5.so -> /usr/local/Cellar/php53/5.3.26/libexec/apache2/libphp5.so
-rwxr-xr-x 1 root wheel 11591056 Jul 22 14:07 libphp5.so.bak
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
@rowleyaj
rowleyaj / Apps
Created July 21, 2013 20:11
Apps to Install
Browsers
Chrome
http://www.google.com/intl/en_uk/chrome/browser/
Chrome Canary
https://www.google.co.uk/intl/en/chrome/browser/canary.html
Firefox
http://www.mozilla.org/en-US/firefox/new/
@rowleyaj
rowleyaj / A Note
Last active September 28, 2022 18:23
PHP OOP Example - Showing namespaces, abstract classes, visibility, and inheritance
PHP OOP Example
===============
Showing the use of classes and how they can be related using inheritance.
$person = new Person();
Abstract classes can not be instantiated
Output: