Skip to content

Instantly share code, notes, and snippets.

@mkb218
mkb218 / Makefile
Created November 30, 2011 02:09
32-bit build patch for echoprint-codegen
diff --git a/src/Makefile b/src/Makefile
index 630efb4..1c9b821 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,8 +2,8 @@ UNAME := $(shell uname -s)
CXX=g++
CC=gcc
#OPTFLAGS=-g -O0
-OPTFLAGS=-O3 -DBOOST_UBLAS_NDEBUG -DNDEBUG
-CXXFLAGS=-Wall -I/usr/local/include/boost-1_35 `taglib-config --cflags` -fPIC $(OPTFLAGS)
@mkb218
mkb218 / gunkygoo.go
Last active August 29, 2015 14:08
download cmudict.0.7a from http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/ and provide path as first arg
package main
import (
"bufio"
"encoding/gob"
"fmt"
"math/rand"
"os"
"strings"
"time"

Keybase proof

I hereby claim:

  • I am mkb218 on github.
  • I am mkb218 (https://keybase.io/mkb218) on keybase.
  • I have a public key whose fingerprint is 7064 93B6 7F9E B109 671B 9132 054D 2B43 9E47 B8A6

To claim this, I am signing this object:

package main
import "bytes"
import "io/ioutil"
import "fmt"
import "flag"
import "github.com/mkb218/gosndfile/sndfile"
type adapter struct {