Skip to content

Instantly share code, notes, and snippets.

View andremleblanc's full-sized avatar

André LeBlanc andremleblanc

  • Saint Petersburg, FL
View GitHub Profile
@andremleblanc
andremleblanc / gist:debb44c6347feb14780e089ceabd0466
Created August 25, 2017 20:05
git clone with author information
function gclone() {
git clone $1
repo=$(basename $1)
directory=${repo%.*}
cd $directory
git config user.email "[email protected]"
git config user.name "First Last"
}
@andremleblanc
andremleblanc / pre-commit
Created September 16, 2017 02:19
Run Pronto Before Commit
#!/bin/sh
unset GIT_DIR
bundle exec pronto run --staged --exit-code
@andremleblanc
andremleblanc / .rubocop.yml
Created October 2, 2017 19:28
Rubocop Defaults
Documentation:
Enabled: false
Metrics/LineLength:
Max: 100
@andremleblanc
andremleblanc / dnsmasq OS X.md
Created August 10, 2024 16:12 — forked from ogrrd/dnsmasq OS X.md
Setup dnsmasq on OS X

Never touch your local /etc/hosts file in OS X again

To 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