摘要: \[[\u4e00-\u9fa5]+\] txt[国加]ll[国加]ll[国加][国加]http://regexpal.com/ 阅读全文
posted @ 2014-04-15 15:33 anjsxz 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1. std::thread t(hello); t.join();//等hello 执行完,也就是会阻塞 t.detach();//把线程放到后台,与当前线程脱离。此时t.joinable() =false 阅读全文
posted @ 2014-04-15 10:12 anjsxz 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1. socket close() fd引用计数减一,shutdown() 立即关闭。sys/socket.h 阅读全文
posted @ 2014-04-15 10:11 anjsxz 阅读(89) 评论(0) 推荐(0) 编辑
摘要: find . -type d -name '.svn' -print -exec rm -rf {} \; 阅读全文
posted @ 2014-04-15 10:09 anjsxz 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Go的常量定义可以限定常量类型,但不是必需的给接口赋值时,用&总不会错。 阅读全文
posted @ 2014-04-15 07:47 anjsxz 阅读(89) 评论(0) 推荐(0) 编辑
摘要: scala 阅读全文
posted @ 2014-04-15 07:47 anjsxz 阅读(94) 评论(0) 推荐(0) 编辑