Skip to content

Instantly share code, notes, and snippets.

Caleb Doxsey calebdoxsey

Block or report user

Report or block calebdoxsey

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
View profile.sh
# 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 Feb 7, 2015
badgerodon-stack-example
View links.py
View build.sh
#!/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 Jan 31, 2016
WebRTC Example
View example.go
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
View download_files.go
package main
import (
"fmt"
"github.com/mitchellh/goamz/aws"
"github.com/mitchellh/goamz/s3"
"io"
"log"
"os"
"strings"
@calebdoxsey
calebdoxsey / ignore.js
Created Aug 26, 2013
Ignore button for ricochet
View ignore.js
// ==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() {
You can’t perform that action at this time.