Introduction1、Learning the fundamentals of a programming language is one thing; learning how to design and implement effective programs in that langua...
分类:
编程语言 时间:
2015-04-06 23:01:55
阅读次数:
207
golang写的一个图片服务器,在批量下载压缩时候发现内存不断增长。。。。幸好golang自带内存占用日志结合分析工具可以方便看到内存分布。详细可参考:http://blog.golang.org/profiling-go-programs可以实时统计CPU\内存信息。这里主要说一下内存怎么搞。CP...
分类:
其他好文 时间:
2015-04-03 21:00:28
阅读次数:
1002
Environment variables are a univerial mechanism for conveying configuration information to Unix programs. Let's look at how to set, get, and list envi...
分类:
其他好文 时间:
2015-04-01 14:59:08
阅读次数:
113
Sometimes our Go programs need to spawn other, non-Go process. For example, the syntax highlighting on this site is implemented by spawning a pygmenti...
分类:
其他好文 时间:
2015-04-01 14:51:39
阅读次数:
156
Work QueuesIn thefirst tutorialwe wrote programs to send and receive messages from a named queue. In this one we'll create aWork Queuethat will be use...
分类:
其他好文 时间:
2015-03-31 23:58:50
阅读次数:
474
Command-line arguments are a common way to parameterize execution of programs. For example, go run hello.go uses run and hello.go arguments to the go ...
分类:
其他好文 时间:
2015-03-31 14:26:21
阅读次数:
83
ab是Apache自带的HTTP压力测试工具,全称是ApacheBench路径为\Apache\bin\ab.exe参数文档:http://httpd.apache.org/docs/2.2/programs/ab.html例:ab -n 10 -c 10 http://192.168.1.3/in...
分类:
其他好文 时间:
2015-03-17 17:54:10
阅读次数:
166
Timeouts are import for programs that connect to external resources or that otherwise need to bound execution time. Implementing timeouts in Go is eas...
分类:
其他好文 时间:
2015-03-16 14:18:04
阅读次数:
126
nikon https://sdk.nikonimaging.com/apply/compmail.doDigital-SLR cameras We are offering Library Programs and Command API Specifications for softwar...
分类:
其他好文 时间:
2015-03-15 12:11:42
阅读次数:
244
'xp_taskbar_desktop_fixall.vbs - Repairs the Taskbar when minimized programs don't show. '?Kelly Theriot and Doug Knox - 8/22/2003Set WSHShell = WScri...
分类:
其他好文 时间:
2015-03-13 00:11:40
阅读次数:
159