I hereby claim:
- I am athiwatc on github.
- I am athiwat (https://keybase.io/athiwat) on keybase.
- I have a public key whose fingerprint is 88B1 F776 EE90 2008 5682 503C 2159 FEF9 A3FF 12ED
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| global | |
| daemon | |
| defaults | |
| mode http | |
| timeout connect 86400000 | |
| timeout server 86400000 | |
| timeout client 86400000 | |
| timeout check 5s | |
| worker_processes 5; | |
| worker_rlimit_nofile 8192; | |
| events { | |
| worker_connections 4096; ## Default: 1024 | |
| } | |
| http { | |
| upstream haproxy { | |
| server 127.0.0.1:9000; |
| package LevenshteinDistance | |
| import "fmt" | |
| import "math" | |
| func compare(a, b string) int { | |
| var cost int | |
| d := make([][]int, len(a)+1) | |
| for i := 0; i < len(d); i++ { | |
| d[i] = make([]int, len(b)+1) |