上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 45 下一页
摘要: 借鉴自http://blog.csdn.net/the__one/article/details/6567443和http://blog.yufeng.info/archives/1509单命令启动ct_run -shell -logdir ./logs -config ./sshdemo.conf... 阅读全文
posted @ 2015-10-12 21:19 自由出土文物 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 直接贴代码,一切尽在不言中%% cowboy的restful的文档,一定要好好阅读http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/%% 几大post提交方式https://imququ.com/post/four-ways-to-... 阅读全文
posted @ 2015-10-11 19:26 自由出土文物 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 用的是诺顿的开源库,参考url来自这里下载git clone git@github.com:/norton/lets.git编译cd lets./rebar get-deps./rebar compilecd ebinerl -pa ../deps/*/ebin测试application:start... 阅读全文
posted @ 2015-10-09 23:27 自由出土文物 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 抄自这里首先,库存在的目的大致可分为:1、提供便利2、尽可能解决一些痛点首先,我们先明确一下Erlang编程语言的一些痛点(伪痛点):1,单进程问题Erlang虚拟机属于抢占式调度,抢占式调度有很多好处,但是同样也存在这弊端。虚拟机在默认情况下分配个每个进程的资源都是相同的,但是若一个进程(gen_... 阅读全文
posted @ 2015-10-09 21:44 自由出土文物 阅读(2302) 评论(1) 推荐(1) 编辑
摘要: goqueryhttps://github.com/PuerkitoBio/goquery例子aa.html qqq ttt ... 阅读全文
posted @ 2015-10-02 22:38 自由出土文物 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 参考这里很多年没有装过系统了,手贱用xxcleaner清理了下,好吧,我觉得只能重装了,直接贴过程吧1,开机同时command+R,进入菜单2,抹掉磁盘3,重启,等在线更新(看各位运气了,网速好的话,速度还行,30分钟以内)4,点击安装系统(我看到的是45个小时,比参考的帖子里面的大神的58个小时要... 阅读全文
posted @ 2015-09-27 11:19 自由出土文物 阅读(189) 评论(0) 推荐(0) 编辑
摘要: https://github.com/mitchellh/copystructure 阅读全文
posted @ 2015-09-18 23:12 自由出土文物 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 中文长度,直接贴代码package mainimport ( "fmt" "unicode/utf8")func main() { aa := "猪头" bb := "12345" fmt.Println(utf8.RuneCountInString(aa),len(a... 阅读全文
posted @ 2015-09-11 23:52 自由出土文物 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 直接贴代码MainActivity.javapublic class MainActivity extends AppCompatActivity { private GridView _gridView = null; private List _dataSource = null; ... 阅读全文
posted @ 2015-09-08 18:09 自由出土文物 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 转自通九大神的博客起因最近公司RabbitMQ的集群出了点问题,然后有些亲就说RabbitMQ慢且不好用,是一个瓶颈,不如换成Kafka。而我本人,使用RabbitMQ有一点久了,认为这个事情应当辩证的去看。所以就在没事的时候简单的看了看RabbitMQ的代码。但是我并没有看太多Kafka的代码,我... 阅读全文
posted @ 2015-09-06 17:56 自由出土文物 阅读(4413) 评论(2) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 45 下一页