Skip to content

Instantly share code, notes, and snippets.

Avatar

Randall Mason ClashTheBunny

View GitHub Profile
@ClashTheBunny
ClashTheBunny / .gitignore
Last active Mar 4, 2017
A map of Papua New Guinea with a plane animation.
View keybase.md

Keybase proof

I hereby claim:

  • I am clashthebunny on github.
  • I am clashthebunny (https://keybase.io/clashthebunny) on keybase.
  • I have a public key ASB4pXOZrlfT6DAIrkcV0EvxydsyrUESlEn_CIO3JYjcawo

To claim this, I am signing this object:

View 0001-Add-option-to-bind-early-in-ldappasswd.patch
From d55d963af8f42fe4caa4dac1d39968aad7864437 Mon Sep 17 00:00:00 2001
From: Randall Mason <randall@mason.ch>
Date: Mon, 20 Aug 2018 19:16:32 -0500
Subject: [PATCH] Add option to bind early in ldappasswd
ldappasswd is slightly different from a standard passwd workflow in that it
requests an old password, then a new password, then the old password
again. This confuses people who are used to the unix passwd tool as
well as people who use password manager. I've seen quite a few people
who have generated a new password, overwriting the old one, and then
@ClashTheBunny
ClashTheBunny / .vimrc_local
Last active Sep 27, 2019
Edit YAML in VIM by converting to EDN
View .vimrc_local
augroup YAML
au!
au BufReadPost *.yaml %!yaml2edn
au BufReadPost *.yaml set ft=clojure
au BufWritePre *.yaml %!edn2yaml
au BufWritePost *.yaml %!yaml2edn
au BufWritePost *.yaml set nomod
augroup END
View debug-github-actions.sh
#!/bin/bash
if [[ -z "$NGROK_TOKEN" ]]; then
echo "Please set 'NGROK_TOKEN'"
exit 2
fi
if [[ -z "$USER_PASS" ]]; then
echo "Please set 'USER_PASS' for user: $USER"
@ClashTheBunny
ClashTheBunny / meta-data
Last active Sep 30, 2020 — forked from DieterReuter/user-data-wifi.yml
cloud-init configuration for RPi4 debian64pi Client
View meta-data
instance-id: debian-pi4
local-hostname: debian-rpi64
You can’t perform that action at this time.