Skip to content

Instantly share code, notes, and snippets.

View dave-malone's full-sized avatar

Dave Malone dave-malone

  • Amazon Web Services
  • Tampa, FL
View GitHub Profile
@dave-malone
dave-malone / a-osx-and-local-domains
Last active August 29, 2015 14:20
.local domain names on OS X
OS X has issues with any domain ending in .local. This can't be fixed by adding a value in
/etc/hosts because while the ping utility and other cli utilities use /etc/hosts first, as
expected, other applications on OS X do not.
In order to get around this problem, the DNS entry could be changed, and probably should be
so that anyone else using OS X who is trying to access this domain won't have to struggle through
this issue.
However, if the DNS entry for the service in question can not be changed, then you will need
to install a local DNS server and add a wildcard entry for .local domains to resolve to your
@dave-malone
dave-malone / GoSublime.sublime-settings
Created March 13, 2015 13:00
GoSublime.sublime-settings file for use with the GoSublime plugin
{
"on_save": [
{
"cmd": "gs9o_open",
"args": {
"run": ["sh", "go build . errors && go test -i && go test && go vet && golint"],
"focus_view": false
}
}
],

Keybase proof

I hereby claim:

  • I am dave-malone on github.
  • I am davemalone (https://keybase.io/davemalone) on keybase.
  • I have a public key ASDotKO8y-tq7bMC-oEMrF3Qt3LKvBo85-QSJ5aYDx2K5wo

To claim this, I am signing this object: