Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Billy Laing billylaing

🎯
Focusing
  • Washington, DC, USA
Block or report user

Report or block billylaing

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View setup-dnsmasq-for-localhost-tld.sh
#!/usr/bin/env bash
# install dnsmasq
brew install dnsmasq
# add localhost TLD
echo "address=/localhost/127.0.0.1" >> /usr/local/etc/dnsmasq.conf
# add resolver for localhost
sudo mkdir /etc/resolver
@billylaing
billylaing / docker.sock.plist
Last active Mar 28, 2019
MacOS script to start docker sock for Jetbrains docker integration with Docker for Mac.
View docker.sock.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>docker.sock</string>
<!-- This file should be ~/Library/LaunchAgents/docker.sock.plist -->
<!-- Start with: launchctl load ~/Library/LaunchAgents/docker.sock.plist -->
<!-- Configure jetbrains with tcp://localhost:2375 -->
You can’t perform that action at this time.