Skip to content

Instantly share code, notes, and snippets.

View micvbang's full-sized avatar

Michael Bang micvbang

View GitHub Profile
#!/bin/bash
BUILD_OUTPUT=$(go build ./... 2>&1)
retVal=$?
if [ $retVal -ne 0 ]; then
echo "$BUILD_OUTPUT"
echo -e "\nErrors during compilation. Please fix before committing."
exit 1
fi
type parserMock struct {
// addEventDispatchFrameCurrent is the frame used for the latest added event
// (when no events are added, addEventDispatchFrameCurrent is 0)
addEventDispatchFrameCurrent int
// frameCurrent is the frame returned by CurrentFrame
frameCurrent int
// frameFinal is the last frame (frame with the highest value) that has
### Keybase proof
I hereby claim:
* I am katnegermis on github.
* I am katnegermis (https://keybase.io/katnegermis) on keybase.
* I have a public key ASDL5WLTRZbyy3D8UNOVSmcLnhb4QN8XnTlHLdiLy-M2Wgo
To claim this, I am signing this object:
#!/usr/bin/env python2.7
import os
import codecs
from sklearn.cluster import KMeans
from sklearn.feature_extraction.text import CountVectorizer
from nltk.stem.snowball import DanishStemmer
here = lambda *x: os.path.join(os.path.dirname(os.path.realpath(__file__)), *x)
### Keybase proof [39/467]
I hereby claim:
* I am katnegermis on github.
* I am katnegermis (https://keybase.io/katnegermis) on keybase.
* I have a public key ASDZzUO1ZTpjHUlP4wv5jSqaeolp_KaSxvy67yErK64NEgo
To claim this, I am signing this object: