Skip to content

Instantly share code, notes, and snippets.

@erutan
erutan / Homebrew.md
Last active December 10, 2015 21:48 — forked from alanivey/Homebrew.md
Installing a custom MAMP environment on OS X via Homebrew

Installing a custom MAMP environment on OS X via Homebrew

Prerequisites

Xcode

Go to http://developer.apple.com/downloads, log in with your Apple ID (free) and download the newest version of either Command Line Tools (OS X Lion) for Xcode or Command Line Tools (OS X Mountain Lion) for Xcode. Run the installer in the dmg and you'll have the LLVM compiler, make, and other build tools.

XQuartz

Alternate Wildcard DNS

dnsmasq will redirect *.dev requests to localhost for Apache to process.

Install dnsmasq via Homebrew:

brew install dnsmasq
@erutan
erutan / flickr css overrides
Last active January 13, 2018 20:17
my flickr user stylesheet overrides for http://*.flickr.com/*
/* Custom styles for Flickr.com by James Goode (@everycopy)
============================================================================ */
#eyebrow {
display: none !important;
visibility: hidden;
}
.with-eyebrow {
padding-top: 49px !important;
{embed="site/header" my_page_title="{exp:channel:entries channel="blog" limit="1"}{title}{/exp:channel:entries}"}
{if segment_2==""}
<h2>Blog Posts</h2>
{exp:channel:entries
channel="blog"
limit="10"
dynamic="no"
}
@erutan
erutan / package.json
Created December 8, 2019 22:17
Gulp 4 d.o/project/zurb_foundation/
{
"name": "drf",
"version": "0.8.0",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/zurb_foundation/",
"description": "Zurb Foundation 6 Subtheme for Drupal 8",
"devDependencies": {
"browser-sync": "^2.26.7",
"del": "^2.2.0",
"extend": "^3.0.0",
@erutan
erutan / gulpfile.js
Last active December 8, 2019 22:23
Gulp 4 d.o/project/zurb_foundation/
(() => {
'use strict';
/**************** Gulp.js 4 configuration ****************/
const
// development or production
devBuild = ((process.env.NODE_ENV || 'development').trim().toLowerCase() === 'development'),
// directory locations