摘要: bool split_str(const string& s, const string& delim, vector* ret) { int last = 0; int index = s.find_first_of(delim, last); int length = s.size(); int end = string::npos; while (i... 阅读全文
posted @ 2017-05-26 16:01 我就是熊吉 阅读(352) 评论(0) 推荐(1) 编辑
摘要: https://www.youtube.com/watch?v=Ccbpu7YXVuA 纽约时间比加州时间早三个小时,New York is 3 hours ahead of California,但加州时间并没有变慢。but it does not make California slow.有人2 阅读全文
posted @ 2017-05-26 10:08 我就是熊吉 阅读(11403) 评论(0) 推荐(0) 编辑
摘要: 转10进制 阅读全文
posted @ 2017-05-25 10:08 我就是熊吉 阅读(1832) 评论(0) 推荐(0) 编辑
摘要: from nuanyangyang大神。。你需要一个领域专门语言(DSL)erchashu = ( ( ( (), 1,() ), 2, ... 阅读全文
posted @ 2015-12-08 13:31 我就是熊吉 阅读(339) 评论(0) 推荐(1) 编辑
摘要: linux diff工具的原理 阅读全文
posted @ 2014-07-20 15:59 我就是熊吉 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 周末有活干了mark 阅读全文
posted @ 2014-07-18 16:34 我就是熊吉 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 当使用or的时候是不会用到索引的mysql> explain SELECT * FROM aladdin_resource WHERE state = 1 OR state = 2;+----+-------------+------------------+------+------------... 阅读全文
posted @ 2014-07-03 21:57 我就是熊吉 阅读(7883) 评论(0) 推荐(0) 编辑
摘要: mark 阅读全文
posted @ 2014-07-01 16:56 我就是熊吉 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 负载均衡:负载均衡实质是4-7层交换机的一种。做负载均衡可以使用DNS实现,同一域名对应多个IP。也可以通过应用层程序实现,例如webserver,通过程序将前端请求分发到后端多台服务器。 阅读全文
posted @ 2014-06-24 13:31 我就是熊吉 阅读(136) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-06-15 11:06 我就是熊吉 阅读(3) 评论(0) 推荐(0) 编辑