Skip to content

Instantly share code, notes, and snippets.

-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCd3uKr1Xr37jDm
jzB6ID5rAPkS6+7RTBbnM04QXjZsGnmNyvkyE3DVEVkamr+TW3Z6Bz2sQzEfvdFN
uhHqtAMuPGihAtmWPkIqEdEqlldy4svtdSYLA6SGBHq/LgyZ50ZGj93VB0HTspVR
+loO0rSHx/LA6vuS+s2Q7vVj+kXPSkEkIDlDqG2vGWMbJHoyrUcTlrhbvYYKqJCi
z9FRMnUG6guOSFSlGswVfFShUe045bcu1IflJXZfr4RoKENEdNQZT0RxfqwAlJmp
+4zDfRU09abs8ebmP4ViOCqu099WmJvCwDU02jLsWxUAa+tVh2m3K9tJ2zQ4Q/Zx
V7Wb3EG5AgMBAAECggEAdymR9xpAo3wLNTzH3qcP9jzZxMqJjTnd383+EqTKd3bU
YY7f4kiCVpGtrEM6b8QN/bYRe0GMhuUEY6Mbewk9jVzTrRU1oA6GarLgK0En6PP/
8dEHUjEBspcW/8+Ge3TyurhFPVMpAN4/j41lBONOmV73gV7dXegp2khEuZ5jqz61

Keybase proof

I hereby claim:

  • I am calebdoxsey on github.
  • I am calebdoxsey (https://keybase.io/calebdoxsey) on keybase.
  • I have a public key ASBiF4R3c8-r0ucAgs5A_5AeXDS4-h9yh0ju7AOC3ux6dwo

To claim this, I am signing this object:

@calebdoxsey
calebdoxsey / example.py
Last active January 22, 2020 14:57
cmu image example
### Welcome to the sandbox!
# If you're looking for a way to get started, click on the hamburger menu
# next to the word "Sandbox" above and choose "Open"
left = 0
top = 0
img1 = Image("http://www.scil-ilc.org/wp-content/uploads/2014/12/starfield-background.png", left, top)
img2 = Image("http://www.scil-ilc.org/wp-content/uploads/2014/12/starfield-background.png", left, top+400)
def onStep():
@calebdoxsey
calebdoxsey / channel_test.py
Created December 30, 2019 15:19
channel benchmark
package main
import "testing"
func BenchmarkOneByteChannel(b *testing.B) {
ch := make(chan [1]byte)
go func() {
for {
<-ch
}
# Regular
txtblk="$(tput setaf 0 2>/dev/null || echo '\e[0;30m')" # Black
txtred="$(tput setaf 1 2>/dev/null || echo '\e[0;31m')" # Red
txtgrn="$(tput setaf 2 2>/dev/null || echo '\e[0;32m')" # Green
txtylw="$(tput setaf 3 2>/dev/null || echo '\e[0;33m')" # Yellow
txtblu="$(tput setaf 4 2>/dev/null || echo '\e[0;34m')" # Blue
txtpur="$(tput setaf 5 2>/dev/null || echo '\e[0;35m')" # Purple
txtcyn="$(tput setaf 6 2>/dev/null || echo '\e[0;36m')" # Cyan
txtwht="$(tput setaf 7 2>/dev/null || echo '\e[0;37m')" # White
@calebdoxsey
calebdoxsey / links.py
Created February 7, 2015 15:30
badgerodon-stack-example
@calebdoxsey
calebdoxsey / build.sh
Created December 20, 2014 19:22
go build
#!/bin/bash
VERSION=1.4
WD=$(pwd)
mkdir -p $WD/downloads
echo "Downloading"
cd $WD/downloads
FILES="go${VERSION}.src.tar.gz
go${VERSION}.windows-386.zip
@calebdoxsey
calebdoxsey / example.go
Last active October 27, 2019 11:40
WebRTC Example
package main
import (
"code.google.com/p/go.net/websocket"
"net/http"
"log"
)
// all code is in an init function to avoid any name collisions
@calebdoxsey
calebdoxsey / download_files.go
Created January 20, 2014 20:21
download usage data
package main
import (
"fmt"
"github.com/mitchellh/goamz/aws"
"github.com/mitchellh/goamz/s3"
"io"
"log"
"os"
"strings"
@calebdoxsey
calebdoxsey / ignore.js
Created August 26, 2013 13:40
Ignore button for ricochet
// ==UserScript==
// @name Ricochet Ignore Button
// @namespace http://www.doxsey.net
// @version 1.0
// @description ignore users
// @match http://ricochet.com/*
// @copyright 2013, Caleb Dioxsey
// ==/UserScript==
$(function() {