Skip to content

Instantly share code, notes, and snippets.

View kurtisnelson's full-sized avatar
🏠
Working from home

Kurt Nelson kurtisnelson

🏠
Working from home
View GitHub Profile
@kurtisnelson
kurtisnelson / letter.md
Last active October 18, 2023 02:24
Faked Resignation Letter

I hope this letter finds you in good health and high spirits. It is with a mix of emotions that I write to tender my resignation as the Supervisor for District 5, effective [date - preferably two weeks in advance].

Serving the incredible residents of District 5 has been an honor and a privilege. Over the years, I have witnessed firsthand the profound impact of grassroots community organizing, and through my role, I have strived to advocate for social, economic, and environmental justice. Together, we have achieved many significant victories that have positively transformed our neighborhoods, ensuring that everyone has access to affordable housing, quality education, and a safe, thriving community.

However, after much contemplation and careful consideration, I have ultimately reached the decision that it is now time for me to explore new opportunities, both personally and professionally. It is essential for me to embark on a different path that will further broaden my understanding and allow me to contribute

{
"basics": {
"name": "Kurt Nelson",
"label": "Senior Android Engineer",
"image": "https://avatars.githubusercontent.com/u/169606?v=4",
"email": "kurtisnelson@gmail.com",
"phone": "",
"url": "http://thisisnotajoke.com",
"summary": "",
"profiles": [
@kurtisnelson
kurtisnelson / glass.html
Created October 8, 2014 23:20
[wearscript] Updated Myo
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function server() {
WS.myoPair(function () {
WS.say("paired myo");
});
WS.gestureCallback('onMyo', function (x) {
WS.say(x);
});

Keybase proof

I hereby claim:

  • I am kurtisnelson on github.
  • I am kurtisnelson (https://keybase.io/kurtisnelson) on keybase.
  • I have a public key whose fingerprint is D478 746D ECA2 6049 5933 518D EEC1 83F5 A9D4 AE1F

To claim this, I am signing this object:

@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 14:01
[wearscript] ibeacons example
<html style="width:100%; height:100%; overflow:hidden">
<head>
<!-- You can include external scripts here like so... -->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>-->
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0" bgcolor="#000">
<canvas id="canvas" width="640" height="360" style="display:block"></canvas>
<script>
function server() {
@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 13:57
[wearscript] Control your Glass with Myo, Pebble, or Magnets
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function server() {
WS.myoTrain();
WS.say("ready");
WS.pebbleSetBody('connected!', false);
// Currently one of {NONE, FIST, FINGERS_SPREAD, WAVE_IN, WAVE_OUT}
WS.gestureCallback('onMyo', function (x) {
if(x == "WAVE_IN"){
@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 13:57 — forked from coryk135/glass.html
[wearscript] 2048 using Myo gestures
<html>
<head>
<meta charset="utf-8">
<title>2048</title>
<style>
html, body {
margin: 0;
padding: 0;
background: #faf8ef;
@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 13:57
[wearscript] Myo Training
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function server() {
WS.myoTrain();
// Currently one of {NONE, FIST, FINGERS_SPREAD, WAVE_IN, WAVE_OUT}
WS.gestureCallback('onMyo', function (x) {
WS.say(x);
});
// Value is a quaternion (w, x, y, z) and (pitch, yaw, roll) for convenience
@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 13:57
[wearscript] Demonstrate the MediaPlayer functionality
<html style="width:100%; height:100%; overflow:hidden">
<head>
<!-- You can include external scripts here like so... -->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>-->
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<canvas id="canvas" width="640" height="360" style="display:block"></canvas>
<script>
function server() {
@kurtisnelson
kurtisnelson / glass.html
Last active August 29, 2015 13:57
[wearscript] Shows a live graph of your battery, updating up to every second.
<html style="width:100%; height:100%; overflow:hidden">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bacon.js/0.7.2/bacon.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/0.2.0/Chart.min.js"></script>
</head>
<body style="width:100%; height:100%; overflow:hidden; margin:0; background-color: black; color: white">
<canvas id="canvas" width="640" height="360" style="display:block"></canvas>
<script>
function BaconWS() {
var sensorStream;