Skip to content

Instantly share code, notes, and snippets.


Kevin Smets kevin-smets

View GitHub Profile
kevin-smets /
Last active May 7, 2020
Local Pi-hole in Docker [MacOS]


  • Docker
  • Docker Compose

If you don't have these, run

brew install docker docker-compose
kevin-smets /
Last active Jan 18, 2019
Run a Solid server locally, with all the quirks and features

Solid server locally

This readme applies to v5.0.0-beta.5. Version 4.4.0 (stable at the time of release) is broken.

Generate self-signed certificate

Create a secrets file:

touch ~/.secret

Create a secrets file:

touch ~/.secret

Make sure it looks like this:

View feed.en.json
"imageUrl": "",
"title": "Article 2",
"date": "20/02/2018",
"body": "Bacon ipsum dolor amet shankle drumstick tenderloin, leberkas tri-tip corned beef jowl. Short ribs cupim biltong, kielbasa filet mignon brisket sirloin prosciutto pork belly shank pig."
"title": "Article 1",
"date": "19/02/2018",
kevin-smets /
Last active Jun 4, 2018
Install TensorFlow @ MacOS


# Install python 3.x
brew ugrade python

# Install TF - see
pip3 install grpcio==1.9.1 tensorflow
kevin-smets /
Last active Jul 26, 2019
Private ÐApps - Embark + IPFS (MacOS)

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)
kevin-smets /
Last active Oct 13, 2017
svgo all the things
# NO sudo
npm i -g svgo

# Go to a directory with svg's (also searches subdirectories)
find . -name '*.svg' -exec svgo -i {} \
kevin-smets /
Last active May 28, 2020
Feeling homeSync? Sync your home dir to a git repo with launchd every 30 minutes (macOS)

Feeling homeSync?

  1. Place 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 /
Last active Jan 28, 2020
macOS VirtualBox headless Ubuntu Server and Docker setup

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

You can’t perform that action at this time.