Skip to content

Instantly share code, notes, and snippets.

View brian-dawn's full-sized avatar

Brian Dawn brian-dawn

  • Minneapolis
View GitHub Profile
@brian-dawn
brian-dawn / Base64.h
Created March 24, 2021 16:20 — forked from tomykaira/Base64.h
C++ single header base64 decode/encoder.
#ifndef _MACARON_BASE64_H_
#define _MACARON_BASE64_H_
/**
* The MIT License (MIT)
* Copyright (c) 2016 tomykaira
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@brian-dawn
brian-dawn / gist:ffde9169cd78c287d90ed51000f3596b
Created April 11, 2020 16:23
Make the windows terminal preview behave somewhat like Kitty terminal
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles":

Keybase proof

I hereby claim:

  • I am brian-dawn on github.
  • I am briandawn (https://keybase.io/briandawn) on keybase.
  • I have a public key ASAeFqu4KIrjmuX8IAOchaiR64F1R73ColgUV8BSl4kSmgo

To claim this, I am signing this object:

@brian-dawn
brian-dawn / gist:9fe9a321ef147a4939d3
Created June 29, 2015 00:57
Kegerator Thermostat
#include <Wire.h>
float TOP_THRESHOLD_IN_F = 41.0;
float LOWER_THRESHOLD_IN_F = 37.0;
int tmp102Address = 0x48;