Skip to content

Instantly share code, notes, and snippets.

View arharp's full-sized avatar

Aaron Harp arharp

View GitHub Profile
@arharp
arharp / dnsmasq OS X.md
Last active May 15, 2023 07:49 — forked from ogrrd/dnsmasq OS X.md
Setup development URLs (e.g. mysite.test) with dnsmasq on Mac OS X

Setup development URLs (e.g. mysite.test) with dnsmasq on Mac OS X

Never touch your local /etc/hosts file in OS X again. Setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.

Requirements

Install

@arharp
arharp / default
Created January 10, 2018 15:49 — forked from dtomasi/default
Brew Nginx PHP7
server {
listen 80;
server_name localhost;
root /Users/YOUR_USERNAME/Sites;
access_log /Library/Logs/default.access.log main;
location / {
include /usr/local/etc/nginx/conf.d/php-fpm;
}
@arharp
arharp / _media-query.scss
Last active June 24, 2016 01:57
Sass Media Query Mixin using Bootstrap Responsive Breakpoints
// Usage:
//
// @include media-query(xs) {
// // CSS for XS devices
// }
//
// @include media-query(sm, lg) {
// // CSS for small through large devices
// }