Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am andrasfindt on github.
  • I am plooploop (https://keybase.io/plooploop) on keybase.
  • I have a public key ASDtlA9F2TmiN9mFJS6_1agNWY8zvjO-gNXNG-lkrsUzzgo

To claim this, I am signing this object:

@andrasfindt
andrasfindt / brew-instructions.sh
Created October 14, 2021 13:12 — forked from petemcw/brew-instructions.sh
Setup dnsmasq on Mac OS X
# Install `dnsmasq` and configure for *.dev domains
$ brew install dnsmasq
$ vim /usr/local/etc/dnsmasq.conf
# Reload configuration and clear cache
$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
$ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
$ dscacheutil -flushcache
# YouTube (english) : https://www.youtube.com/watch?v=FtU2_bBfSgM
# YouTube (french) : https://www.youtube.com/watch?v=VjnaVBnERDU
#
# On your laptop, connect to the Mac instance with SSH (similar to Linux instances)
#
ssh -i <your private key.pem> ec2-user@<your public ip address>
#
# On the Mac
@andrasfindt
andrasfindt / extras.md
Last active November 5, 2020 18:39 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

azure-cli

Install (again, assuming you have Homebrew installed)

brew install azure-cli

Once done, you can stop here, but everyone likes autocompletion. One is included in the installation for bash, but zsh doesn't automatically load it up, so we have to give it some convincing. Add the following two lines to your startup scripts (~/.zshrc or ~/.oh_my_zsh/custom/<some_name>)

@andrasfindt
andrasfindt / 00-Ubuntu 16.04 on Macbook Pro 10,1.markdown
Last active December 27, 2017 19:56 — forked from bitjockey42/00-Ubuntu 16.04 on Macbook Pro 10,1.markdown
Ubuntu 16.04 configurations on Macbook Pro 10,1

Ubuntu 16.04 on Macbook Pro 10,1 with Encrypted Root

NOTE: This is for dual-booting OS X 10.11 with Ubuntu 16.04.

Install

Preparation in OS X

share data across operating systems

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software