to run (once Go
has been installed):
$ go run ./tkc.go -geo="100Mu_geodump.json" -pix="100Mu_pixclusterdump.json"
2015/06/30 17:52:42 geo: 3770
2015/06/30 17:52:42 **warn** empty EventID
2015/06/30 17:52:42 evts: 100
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"net/http" | |
"time" | |
) |
to run (once Go
has been installed):
$ go run ./tkc.go -geo="100Mu_geodump.json" -pix="100Mu_pixclusterdump.json"
2015/06/30 17:52:42 geo: 3770
2015/06/30 17:52:42 **warn** empty EventID
2015/06/30 17:52:42 evts: 100
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"math" | |
"math/rand" |
hi there,
github.com/sbinet/go-clang
is dead,
long live github.com/go-clang
!
Indeed, sbinet/go-clang
is being frozen as-is and its README
will redirect its
users towards github.com/go-clang
.
github.com/go-clang
is a new organization with a new mechanical and automatized code
generator, written by Markus Riedl and Markus Zimmermann.
# Reconstructed via infocmp from file: /usr/share/terminfo/r/rxvt-unicode-256color | |
rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System), | |
am, bce, bw, ccc, eo, hs, km, mc5i, mir, msgr, npc, xenl, xon, | |
btns#5, colors#256, cols#80, it#8, lines#24, lm#0, ncv#0, | |
pairs#32767, | |
acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, | |
bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, | |
clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M, | |
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, | |
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, |
package main | |
import ( | |
"github.com/go-hep/hbook" | |
"github.com/go-hep/hplot" | |
"github.com/gonum/plot" | |
"github.com/gonum/plot/plotter" | |
) | |
func main() { |
package main | |
import ( | |
"image" | |
"image/color" | |
"image/draw" | |
"log" | |
"math/rand" | |
"github.com/go-hep/hbook" |
class A(object): | |
def __init__(self, v): | |
self.v = v | |
print "A.v:",self.v | |
class B(A): | |
def __init__(self, v): | |
super(B, self).__init__(v) | |
self.v += 10 |
// automatically generated! | |
package main | |
import ( | |
"fmt" | |
"math" | |
"github.com/go-hep/croot" | |
"github.com/go-hep/fmom" |
A simple example to test synchronizing multiple goroutines.
This application has 4 goroutines:
stdin
for user input, which is then sent to the control goroutine