Skip to content

Instantly share code, notes, and snippets.

package main
import (
"net/http"
"io/ioutil"
"encoding/json"
"fmt"
)
# github.com/tarm/goserial
gcc did not produce error at completed:1
on input:
#line 5 "/Users/jojofabe/workspace/go/github.com/macmania/gosphero-tour/src/github.com/tarm/goserial/serial_posix.go"
#include <termios.h>
#include <unistd.h>
#include <sys/types.h> /* for size_t below */
// +build !windows,cgo
package serial
// #include <termios.h>
// #include <unistd.h>
import "C"
// TODO: Maybe change to using syscall package + ioctl instead of cgo
@macmania
macmania / controller.business.dashboard.js
Last active August 29, 2015 14:27
dashboard-feature
import Ember from 'ember';
export default Ember.Controller.extend({
});
@macmania
macmania / Main.java
Created February 28, 2016 02:38
simplenlg api
package simplenlg;
import static spark.Spark.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Properties;
import java.util.List;
import simplenlg.framework.*;