Skip to content

Instantly share code, notes, and snippets.

View mwvaughn's full-sized avatar
🎧

Matthew Vaughn mwvaughn

🎧
View GitHub Profile
@mwvaughn
mwvaughn / .gitignore
Created November 3, 2014 20:36
A reasonably good .gitignore
.DS_Store
*.pyc
*.tmp
Worklog.txt
*.svn
*.bzr
*.bzrignore
*.bzrtags
*.hg
*.hgignore
@mwvaughn
mwvaughn / bb8.py
Created October 27, 2015 03:12 — forked from ali1234/bb8.py
Control Sphero BB-8 from Linux.
#!/usr/bin/env python
# BB-8 Python driver by Alistair Buxton <a.j.buxton@gmail.com>
from bluepy import btle
import time
class BB8(btle.DefaultDelegate):
def __init__(self, deviceAddress):
@mwvaughn
mwvaughn / io-collections.json
Created June 7, 2016 14:22
io-collections.json
{
"message": "",
"result": {
"_links": {
"self": "http://localhost:5000/Collections"
},
"collections": [
{
"collection_id": "87ed787d-3951-4177-9156-ffff322430f3",
"expires": 1465846675,
{
"message": "",
"result": {
"_links": {
"members": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Members",
"self": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3",
"table": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Influenced"
},
"collection_id": "87ed787d-3951-4177-9156-ffff322430f3",
"expires": 1465846675,
{
"message": "",
"result": {
"_links": {
"members": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Members",
"self": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3",
"table": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Influenced"
},
"collection_id": "87ed787d-3951-4177-9156-ffff322430f3",
"expires": 1465846675,
{
"message": "",
"result": {
"_links": {
"self": "http://localhost:5000/Collections/87ed787d-3951-4177-9156-ffff322430f3/Members/213847579"
},
"created_at": 1289344306,
"description": "The Texas Advanced Computing Center (TACC) at @UTAustin designs and deploys powerful computing technologies to power discoveries that change the world.",
"expires": 1465846803,
"favourites_count": 842,
@mwvaughn
mwvaughn / keybase.md
Created July 27, 2016 15:58
Keybase.io verification

Keybase proof

I hereby claim:

  • I am mwvaughn on github.
  • I am mattdotvaughn (https://keybase.io/mattdotvaughn) on keybase.
  • I have a public key whose fingerprint is B200 AE2D 5485 7CBB 0ADD 477A B2A7 52F3 2253 FF9E

To claim this, I am signing this object:

@mwvaughn
mwvaughn / Aframe-Takeaway.md
Created December 6, 2016 12:00
Exercises for working in the A-frame WebVR framework
@mwvaughn
mwvaughn / DockerInProduction.md
Created April 11, 2017 00:00
Docker In Production

Docker In Production

There was once an oral surgeon named Lytle S. Adams. He lived a long time ago, when America was fighting a war against Japan. Japan had attacked a military base in Hawaii, and—the day that happened—Adams was on vacation at Carlsbad Caverns. That’s a system of caves in New Mexico, where thousands and thousands of bats live. Adams was very impressed with the bats, and he came up with an idea: a swarm of weaponized bats, with miniature incendiary bombs strapped to their bodies—bats that would be dropped over Japanese cities to streak through the air, scatter far and wide, and then explode, sparking thousands of little fires all over the place, burning down buildings and frightening everyone.

Adams was friendly with Eleanor Roosevelt, the president’s wife, and he used his connections to send a brief to the president; the president gave it to a military commander with a note that said, ‘This man is not a nut.’ And so, by 1943, there was a top secret bat-bomb project up a

@mwvaughn
mwvaughn / .hyperterm.js
Created July 16, 2017 13:44 — forked from marcbachmann/.hyperterm.js
hyperterm config
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12.5,
// font family with optional fallbacks
fontFamily: '"Meslo LG S for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color (hex)
cursorColor: 'rgba(255,255,255,.4)',