Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin Smets kevin-smets

View GitHub Profile
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active Aug 7, 2020
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel10k

Powerlevel10k

@kevin-smets
kevin-smets / 1_kubernetes_on_macOS.md
Last active Aug 6, 2020
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry
View 1_kubernetes_on_macOS.md

Requirements

Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!

Prerequisites

@kevin-smets
kevin-smets / concourse.md
Last active Jul 26, 2020
Setup the Concourse binary locally on macOS and run the hello world example.
View concourse.md

Prerequisites

Installs

Concourse

curl -Lo concourse https://github.com/concourse/concourse/releases/download/v2.5.0/concourse_darwin_amd64 && chmod +x concourse && mv concourse /usr/local/bin
@kevin-smets
kevin-smets / ..homeSync.md
Last active May 28, 2020
Feeling homeSync? Sync your home dir to a git repo with launchd every 30 minutes (macOS)
View ..homeSync.md

Feeling homeSync?

  1. Place homeSync.sh and homeSync.plist in your home dir
  2. It's recommended to place the .gitignore in your home dir as well, to prevent checking in all your things :)

After doing that, run the following commands in ~/.

cd ~
git init
git remote add origin <https://your/git/repo.git>
@kevin-smets
kevin-smets / local-pi-hole-in-docker-macos.md
Last active May 7, 2020
Local Pi-hole in Docker [MacOS]
View local-pi-hole-in-docker-macos.md

Prerequisites

  • Docker
  • Docker Compose

If you don't have these, run

brew install docker docker-compose
@kevin-smets
kevin-smets / macos-virtualbox-ubuntu-server-docker.md
Last active Jan 28, 2020
macOS VirtualBox headless Ubuntu Server and Docker setup
View macos-virtualbox-ubuntu-server-docker.md

Get started

Install virtualbox and the extension pack:

brew cask install docker virtualbox virtualbox-extension-pack

Download the ubuntu server image and create a VBox for it, the rest of the readme assumes it is named "Ubuntu Server".

Enable SSH

@kevin-smets
kevin-smets / macOS_virtualbox.sh
Last active Sep 29, 2019 — forked from ryanmaclean/el_capitan_dmg_virtualbox.sh
Convert macOS installer for use in VirtualBox
View macOS_virtualbox.sh
#!/bin/bash
# Disclaimer: never got this to work properly and have not attempted it since.
# This will require about 30GB of space, still in experimental phase right now
sudo gem install iesd
cd /Applications # Or wherever you hve the "Install 10.12 Developer Preview.app" available
iesd -i Install\ 10.12\ Developer\ Preview.app -o macos.dmg -t BaseSystem
hdiutil convert macos.dmg -format UDSP -o macos.sparseimage
View creating-a-self-signed-ssl-certificate.md

Create a secrets file:

touch ~/.secret

Make sure it looks like this:

#!/bin/bash
@kevin-smets
kevin-smets / README.md
Last active Jul 26, 2019
Private ÐApps - Embark + IPFS (MacOS)
View README.md

Private ÐApps

With these instructions, you can test a fully local and private ÐApp. Obviously it's not distributed into the cloud here, so it's more like a .. PApp? But we do simulate the full stack locally, so you can push changes to your hearts content!

Prerequisites (software)

  • Node.js (brew install node)
  • IPFS (brew install ipfs)
  • Embark (npm i -g embark)
  • TestRPC (npm i -g ethereumjs-testrpc)
You can’t perform that action at this time.