Skip to content

Instantly share code, notes, and snippets.

View fluffy's full-sized avatar

Cullen Jennings fluffy

View GitHub Profile
@fluffy
fluffy / config.yaml
Created March 13, 2019 06:16
Example Netplan.io config file for wired 802.1x
network:
version: 2
renderer: networkd
ethernets:
enp4s0:
auth:
key-management: 802.1x
method: ttls
identity: fluffy@example.com
password: hash:83...b11
@fluffy
fluffy / gist:ff23a868071781c90e5cd6a99ff2736f
Created March 11, 2019 17:30
Broken netplan.io config file
Here is a file that does not work
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
auth:
key-management: 802.1x
password: hash:some-stuff-here
@fluffy
fluffy / keybase.md
Created October 13, 2017 17:20
A keybase for me

Keybase proof

I hereby claim:

  • I am fluffy on github.
  • I am cfluffy (https://keybase.io/cfluffy) on keybase.
  • I have a public key ASCirraahnx6kERk0Al49rtIZtUw8ZZ3lsCFpVudnNI3bAo

To claim this, I am signing this object:

@fluffy
fluffy / gist:7cc6da7c47f270493697
Created March 12, 2016 14:25
Patch for https://ccache.samba.org/ written by Manuel Bessler mabessle@cisco.com that I am open sourcing under GPLv3
diff --git a/ccache.c b/ccache.c
index c395fad..90b4bd8 100644
--- a/ccache.c
+++ b/ccache.c
@@ -444,8 +444,32 @@ make_relative_path(char *path)
char *relpath, *canon_path, *path_suffix = NULL;
struct stat st;
- if (str_eq(conf->base_dir, "") || !str_startswith(path, conf->base_dir)) {
+ if ( str_eq(conf->base_dir, "") ) {

Keybase proof

I hereby claim:

  • I am fluffy on github.
  • I am cfluffy (https://keybase.io/cfluffy) on keybase.
  • I have a public key whose fingerprint is 477F 01FB 6BEA 0238 E953 A7EF F39D 693C F3D3 FCF6

To claim this, I am signing this object:

@fluffy
fluffy / sweep2.html
Created December 27, 2013 16:18
Does an audio sweep to speakers then graphs microphone response
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Sweep 2</title>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
@fluffy
fluffy / Send3
Created December 26, 2013 17:30
Simple web audio demo send3
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Send 3</title>
<script>
function play()
{
var contextClass = (window.AudioContext
|| window.webkitAudioContext