Skip to content

Instantly share code, notes, and snippets.

View pmuens's full-sized avatar
👾

Philipp Muens pmuens

👾
View GitHub Profile

Keybase proof

I hereby claim:

  • I am pmuens on github.
  • I am pmuens (https://keybase.io/pmuens) on keybase.
  • I have a public key whose fingerprint is 538E BBE7 4CBE CCFF 3378 9E66 A7D4 646F 897D B725

To claim this, I am signing this object:

#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@pmuens
pmuens / README.md
Last active May 30, 2021 10:19
Installation - Gitwatch

Installation - gitwatch

curl https://gist.githubusercontent.com/pmuens/4dc6f627f45019e28736aa69dd796951/raw/a1b5bac651ea1722a47c9f9bd150bad31f1d3229/install.sh | sh
@pmuens
pmuens / README.md
Last active July 30, 2022 15:04
Protostar Setup / Usage

Protostar

Building Protostar

  1. nix-shell
  2. python -m venv .venv
  3. source .venv/bin/activate
  4. pip install --upgrade pip
  5. pip install poetry
  6. poetry install
@pmuens
pmuens / DB.test.ts
Created February 21, 2022 19:24
SQLite as a Graph Database
import DB from './DB'
describe('DB', () => {
let db: DB
const data = { name: 'Tom Cook', type: ['person', 'CEO'] }
beforeEach(() => {
db = new DB()
db.addNode('1', { name: 'Apple Computer Company', type: ['company', 'start-up'], founded: 'April 1, 1976' })