Skip to content

Instantly share code, notes, and snippets.

Michael Schmatz schmatz

Block or report user

Report or block schmatz

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
@schmatz
schmatz / scaffold.go
Last active Nov 14, 2015 — forked from stephenmathieson/scaffold.go
go by example scaffold thing
View scaffold.go
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"os"
"regexp"
)
@schmatz
schmatz / gist:d5ca0ced06a0f3164d01
Last active Jun 21, 2017
Building Proxygen on OSX
View gist:d5ca0ced06a0f3164d01
From: https://thrift.apache.org/docs/install/os_x
Download Boost, compile
http://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.gz/download
tar xzvf boost_1_57_0.tar.gz
./bootstrap.sh
sudo ./b2 threading=multi address-model=64 variant=release stage install
Download libevent, compile
View keybase.md

Keybase proof

I hereby claim:

  • I am schmatz on github.
  • I am schmatz (https://keybase.io/schmatz) on keybase.
  • I have a public key whose fingerprint is DB8F DAD8 AE0B D136 870E B706 E579 3ED2 81EE DC5F

To claim this, I am signing this object:

@schmatz
schmatz / greed_ogres.js
Created Jun 12, 2014
Ian Elliott's CodeCombat Greed code
View greed_ogres.js
var base = this;
if ( !base.init ) {
// Mark that we've ran the init code
base.init = true;
// Starting frame number
base.frames = 0;
// Amount of frames per second
@schmatz
schmatz / greed_human.js
Created Jun 12, 2014
Michael Heasell's CodeCombat Greed Code
View greed_human.js
// constants -------------------------------------------------------------------
var alliedTypes = {
peasant: 'peasant',
soldier: 'soldier',
knight: 'knight',
librarian: 'librarian',
griffinRider: 'griffin-rider',
captain: 'captain'
};
You can’t perform that action at this time.