会动的耳朵  

2013年11月21日

摘要: 虽然感觉代码有点二,效果终就实现了请css高手不吝指点,谢谢 1 #six_border_red, #six_border_black, #six_border_pink, #six_border_purple, #six_border_green, #six_border_gray { 2 color:white; 3 height: 60px; 4 width:30px; 5 line-height: 60px; 6 ... 阅读全文
posted @ 2013-11-21 17:57 会动的耳朵 阅读(753) 评论(0) 推荐(0) 编辑
 
摘要: 1 // blank_identifer 2 package main 3 4 import ( 5 "fmt" 6 //"math" 7 ) 8 9 func main() {10 var a, b int11 var c float3212 //a, b, c = treeValues(10, 11, float32(math.Floor(12.3111)))13 a, b, c = treeValues(10, 11, 312.33332)//这里的g是看文档做的,但是没有理解中文文档里的意思14 fmt.Printf("a=... 阅读全文
posted @ 2013-11-21 17:50 会动的耳朵 阅读(4545) 评论(1) 推荐(0) 编辑

2013年11月19日

摘要: 1 /** 2 * Linux 系统 根据共享内存块获取一个增长的整型 3 */ 4 function getNxtValFromSharedMemory() 5 { 6 $string_seed = 'global_sharedmemory_' . $_SERVER['SERVER_... 阅读全文
posted @ 2013-11-19 11:46 会动的耳朵 阅读(728) 评论(0) 推荐(0) 编辑

2013年11月14日

摘要: 参照: https://github.com/Daniel-ccx/the-way-to-go_ZH_CN/blob/master/eBook/03.3.md 阅读全文
posted @ 2013-11-14 22:02 会动的耳朵 阅读(141) 评论(0) 推荐(0) 编辑
 
摘要: http://code.google.com/p/golangide/因为开发php一直在Linux下,所以,现在开发go,还是保持了cmd终端开发的习惯。但是有个IDE还是必须的环境:go.googlecode.com 阅读全文
posted @ 2013-11-14 22:00 会动的耳朵 阅读(207) 评论(0) 推荐(0) 编辑

2013年11月13日

摘要: GO安装 http://code.google.com/p/go/downloads 配置参考 https://github.com/Unknwon/the-way-to-go_ZH_CN/blob/master/eBook/02.3.md 1. 配置 环境变量 有的系统是~/.profile ~/.bashrc 记得把go 包安装到/usr/local,可以是其他目录,担心引起其他不必要的 然后重启 cmd终端,再执行go evn: 2. Install Go 我下载的是source包, 参考官方文档:ht... 阅读全文
posted @ 2013-11-13 17:05 会动的耳朵 阅读(414) 评论(0) 推荐(0) 编辑

2013年11月3日

摘要: sudo passwd root 阅读全文
posted @ 2013-11-03 14:39 会动的耳朵 阅读(189) 评论(0) 推荐(0) 编辑

2013年8月16日

摘要: /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -C 100 -u apache -f /usr/bin/php-cgispawn-fcgi可以自动释放内存kill -9 `ps aux | grep "php-cgi" | awk {'print $2'}`yum卸载yum -y remove httpd 阅读全文
posted @ 2013-08-16 13:18 会动的耳朵 阅读(353) 评论(0) 推荐(0) 编辑

2013年8月6日

摘要: "}> current pr"> 阅读全文
posted @ 2013-08-06 11:44 会动的耳朵 阅读(222) 评论(0) 推荐(0) 编辑

2013年7月25日

摘要: http://www.pythoner.cn/http://html5sec.org/http://codepen.io/http://www.mhtml5.com/2011/03/676.htmlhttp://modernizr.com/http://caniuse.com/https://code.google.com/p/golang-china/wiki/Installhttp://blog.csdn.net/hzbooks/article/details/8206571http://www.cnblogs.com/mikewolf2002/category/343145.htmlht 阅读全文
posted @ 2013-07-25 16:05 会动的耳朵 阅读(148) 评论(0) 推荐(0) 编辑