Skip to content

Instantly share code, notes, and snippets.

Avatar

Randall Mason ClashTheBunny

View GitHub Profile
@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
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 / .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 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
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:

@ClashTheBunny
ClashTheBunny / .gitignore
Last active Mar 4, 2017
A map of Papua New Guinea with a plane animation.
@ClashTheBunny
ClashTheBunny / README.md
Last active Aug 26, 2015 — forked from mbostock/.block
Stacked-to-Grouped Bars
View README.md

Switch between stacked and grouped layouts using sequenced transitions! Animations preserve object constancy and allow the user to follow the data across views. Animation design by Heer and Robertson. Colors and data generation inspired by Byron and Wattenberg.

@ClashTheBunny
ClashTheBunny / README.md
Last active Aug 29, 2015 — forked from tomgp/LICENSE.txt
Clock based on the Degrees, Minutes, and Seconds where the sun is overhead.
View README.md

This clock's "hour" hand is really a degree hand. It points to the longitude where it is solar noon. The minutes and seconds point to the minutes and seconds of the location where it is solar noon. This is partly bases off of New Earth Time, but adjusted to fit geography more.

Based off of: bl.ocks.org/tomgp/6475678 http://bl.ocks.org/mbostock/4364903 and http://bl.ocks.org/mbostock/4597134

TODO: Make the clock less hard coded between the northern and southern hemisphere.

View designer.html
<link href="../speech-mic/speech-mic.html" rel="import">
<link href="../yt-video/yt-search-video.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
You can’t perform that action at this time.