Skip to content

Instantly share code, notes, and snippets.

Randall Mason ClashTheBunny

Block or report user

Report or block ClashTheBunny

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
@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.
View noflo.json
{
"id": "ti6yn",
"project": "",
"properties": {
"name": "photobooth",
"environment": {
"runtime": "html",
"src": "preview/iframe.html",
"width": 300,
"height": 300,
@ClashTheBunny
ClashTheBunny / deployTahoeTestGrid.sh
Last active Dec 14, 2015
Running this script will create any number of tahoe nodes with an introducer on a single computer where tahoe is set up. Run it quickly like this: wget -q -O - https://raw.github.com/gist/5070115/deployTahoeTestGrid.sh | bash
View deployTahoeTestGrid.sh
#!/bin/bash
# Run by doing:
# wget -q -O - https://raw.github.com/gist/5070115/deployTahoeTestGrid.sh | bash
####### Change stuff here:
# somewhere with a little bit of space, with tahoe's defaults you need at least 1GB to upload anything:
directoryWithSpace="$HOME/tahoeTest/"
@ClashTheBunny
ClashTheBunny / verify.sh
Last active Dec 5, 2015
Verify checksums of Ubuntu or Debian files.
View verify.sh
#!/bin/bash
# Install the keys for the distribution (apt-cache search keyring | grep -i pg | grep -i keyring):
# e.g. (Ubuntu): apt-get install debian-archive-keyring debian-keyring ubuntu-keyring ubuntu-extras-keyring
# e.g. (Debian): apt-get install debian-archive-keyring debian-keyring ubuntu-archive-keyring
# Download all of the *SUMS and *SUMS.gpg from the mirror that you use and check them by running verify.sh <file-to-verify>:
# I wanted to verify netboot.tar.gz, so I ran "verify.sh netboot.tar.gz" and got:
# sh ./588e8ff9ca5123edd019/verify.sh netboot.tar.gz
# MD5SUMS.gpg
@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.