This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |