Skip to content

Instantly share code, notes, and snippets.

Hiroaki Nakamura hnakamur

Block or report user

Report or block hnakamur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View subcommand.go
package main
import (
var usage = `Usage argtest [Globals] <Command> [Options]
hnakamur /
Created Oct 18, 2015 — forked from hashrock/

シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ


  • C製
  • Doxygen, Moinmoinなどと連携可能
  • ブロック図、クラス図、ネットワーク図など
hnakamur / hello.go
Created Sep 28, 2015 — forked from hatajoe/hello.go
`runtime/cgo: could not obtain pthread_keys' on darwin/amd64
View hello.go
// file: plugins/hello/hello.go
// $ go build -o -buildmode=c-shared hello.go
package main
import "C"
import (
set -e
mkdir -p target
mkdir -p deps
git clone deps/regex
git clone deps/semver
git clone deps/strsim-rs
View value-domain-check.go
package main
import (
hnakamur / env_copy_test.bench
Created Sep 17, 2012 — forked from kristate/env_copy_test.bench
test on how to copy worker env for spawning
View env_copy_test.bench
hnakamur@ubuntu:~/execve_env_copy$ gcc -O3 env_copy_test.c
hnakamur@ubuntu:~/execve_env_copy$ rm env_copy_test
hnakamur@ubuntu:~/execve_env_copy$ ./a.out
type_a: 0.750000 seconds
type_b: 0.730000 seconds
type_c: 0.640000 seconds
type_d: 0.860000 seconds
type_e: 0.760000 seconds
hnakamur@ubuntu:~/execve_env_copy$ ./a.out
type_a: 0.750000 seconds
You can’t perform that action at this time.