Skip to content

Instantly share code, notes, and snippets.

@kevin-smets
kevin-smets / README.md
Last active July 26, 2019 20:27
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
kevin-smets / .gitignore
Last active September 16, 2019 18:55
images
.DS_Store
@kevin-smets
kevin-smets / solid-server-local.md
Last active August 12, 2021 23:04
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
@kevin-smets
kevin-smets / concourse.md
Last active August 28, 2021 05:54
Setup the Concourse binary locally on macOS and run the hello world example.

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 / findStringInFile.sh
Created March 11, 2015 19:23
Find text in files and show file name + line number
find . -type f -name "*.scss" -exec bash -c 'grep -rin calc ${0};' {} \;
@kevin-smets
kevin-smets / ..homeSync.md
Last active June 8, 2022 08:22
Feeling homeSync? Sync your home dir to a git repo with launchd every 30 minutes (macOS)

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 

Create a secrets file:

touch ~/.secret

Make sure it looks like this:

#!/bin/bash
@kevin-smets
kevin-smets / macos-virtualbox-ubuntu-server-docker.md
Last active February 3, 2023 02:22
macOS VirtualBox headless Ubuntu Server and Docker setup

Get started

Install virtualbox and the extension pack:

brew install --cask 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 / local-pi-hole-in-docker-macos.md
Last active March 22, 2023 07:39
Local Pi-hole in Docker [MacOS]

Prerequisites

  • Docker
  • Docker Compose

If you don't have these, run

brew install docker docker-compose
@kevin-smets
kevin-smets / _README.md
Last active May 3, 2023 12:42
Google Sheets API on Node.js