Skip to content

Instantly share code, notes, and snippets.

Avatar

Daker Fernandes Pinheiro dakerfp

View GitHub Profile
@dakerfp
dakerfp / zero.go
Created Jun 16, 2017
Utility to pad a writer with zeros
View zero.go
package zero
import (
"io"
)
type ZeroPad struct {
w io.WriteCloser
nleft int
}
View gist:4566599
This file has been truncated, but you can view the full file.
*** Cleaning fonts *** [1/1](B
]0;jhbuild:Cleaning fonts [1/1]make -j 16 clean
*** success *** [1/1](B
]0;jhbuild:success [1/1]Updating EFL port dependencies using jhbuild...
Fetching origin
gnome-autogen.sh not available
gnome-doc-tool not available
Configuring jhbuild without autotools
Now type `make' to compile jhbuild
View robot.js
var IDLE = 0;
var SCANNED = 1;
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
this.state = IDLE;
};