Skip to content

Instantly share code, notes, and snippets.

View alienresident's full-sized avatar

Mark Reilly alienresident

View GitHub Profile
@alienresident
alienresident / invisionBookmarklet.js
Created February 15, 2018 01:45 — forked from kristof/invisionBookmarklet.js
Bookmarklet for hiding the Invision UI + hotspots
javascript: (function() {
var bottomBar = document.getElementById('bottom_bar');
var trayToggle = document.getElementsByClassName('hide-tray-toggle');
var screensViewerNav = document.getElementById('screens_viewer_nav');
var poweredBy = document.getElementsByClassName('powered-by');
var toolbar = document.getElementsByClassName('toolbar');
var slideshowNav =document.getElementsByClassName('slideshow-nav');
var hotspots = document.getElementsByClassName('hotspot');
@alienresident
alienresident / lamp-stack-osx-virtualhostx.md
Last active January 12, 2016 18:22 — 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.

Installation

Install Homebrew

Install homebrew-php