Skip to content

Instantly share code, notes, and snippets.

J Joostvanderlaan

Block or report user

Report or block Joostvanderlaan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Joostvanderlaan
Joostvanderlaan / #linting.md
Last active Feb 9, 2020 — forked from codfish/#linting.md
Prettier + ESLint + airbnb config + Husky + lint-staged + commitlint + markdownlint
View #linting.md

Joost:

  • added steps to fix markdown via cli (extra script)

  • autofix in vs code on save, add this setting:

    "editor.codeActionsOnSave": { "source.fixAll.markdownlint": true }

original:

View upgrade-ubuntu-with-Ansible.yml
---
- hosts:
- all
become: true
tasks:
- name: Update apt cache
apt: update_cache=yes
- name: Upgrade packages
apt: upgrade=dist
@Joostvanderlaan
Joostvanderlaan / WireGuard_Setup.txt
Created Oct 8, 2019 — forked from chrisswanda/WireGuard_Setup.txt
Stupid simple setting up WireGuard - Server and multiple peers
View WireGuard_Setup.txt
Install WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguard
MacOS
$ brew install wireguard-tools
Generate key your key pairs. The key pairs are just that, key pairs. They can be
@Joostvanderlaan
Joostvanderlaan / wordlist.txt
Created Oct 7, 2019 — forked from stevepaulo/wordlist.txt
Mnemonic word list for server names, release names, etc... solve the "hard problem" of naming things
View wordlist.txt
From http://web.archive.org/web/20090918202746/http://tothink.com/mnemonic/wordlist.html
Word selection criteria:
- The wordlist contains 1626 words.
- All words are between 4 and 7 letters long.
- No word in the list is a prefix of another word (e.g. visit, visitor).
- Five letter prefixes of words are sufficient to be unique.
The rest of the criteria are less strict. You may find exceptions to all of them because it is difficult to satisfy them all at the same time.
- The words should be usable by people all over the world. The list is far from perfect in that respect. It is heavily biased towards western culture and English in particular. The international vocabulary is simply not big enough. One can argue that even words like "hotel" or "radio" are not truly international. You will find many English words in the list but I have tried to limit them to words that are part of a beginner's vocabulary or words that have close relatives in other european languages. In some cases a word has a different meaning
@Joostvanderlaan
Joostvanderlaan / budgeting.md
Created Aug 27, 2019 — forked from ony/budgeting.md
Budgeting with hledger
View budgeting.md

The main answers I need from budgeting:

  • How much extra money I can spend without compromising ability to pay my bills?
  • How big my earnings should be to cover my expenses?
  • How can I optimize my expenses?

Tracking your expenses

One of my favorite reports hledger supports is

@Joostvanderlaan
Joostvanderlaan / budgeting.md
Created Aug 27, 2019 — forked from ony/budgeting.md
Budgeting with hledger
View budgeting.md

The main answers I need from budgeting:

  • How much extra money I can spend without compromising ability to pay my bills?
  • How big my earnings should be to cover my expenses?
  • How can I optimize my expenses?

Tracking your expenses

One of my favorite reports hledger supports is

@Joostvanderlaan
Joostvanderlaan / crostini_developer_install.sh
Last active Oct 21, 2019
Crostini script for developer install - Google Chrome OS (untested)
View crostini_developer_install.sh
#!/bin/bash
# Author : Joost van der Laan
#
sudo apt update
sudo apt install wget unzip
sudo apt install curl
sudo apt install htop
View ubuntu-developer-install.sh
#!/bin/bash
# Author : Joost
#
# From Software center:
# VLC
# VS code
# virtual box
# shutter
# install unity tweak tool
View a - run it
# Running this runs the above
wget -O - https://gist.githubusercontent.com/Joostvanderlaan/5eca1940e5c557b7d1ad5a2a33ab13af/raw/chromeos-crostini-developer-install.sh | bash
You can’t perform that action at this time.