链式编程思想 链式编程是什么 链式编程就是将调用多个方法用点语法连接起来,让代码更加简洁和可读性更高刚开始接触链式编程是Masonry,用起来真的非常爽 1 make.left.right.top.equalTo(self.view); 这样一句语句就调用了4个方法.left调用了left属性的ge ...
分类:
其他好文 时间:
2016-04-10 12:44:54
阅读次数:
214
Linux讲一个东西,我就选择了系统调用。。 中间主要是系统原本是64的,我之前用32的内核安装,自然是失败了...(也不知道是不是失败的主要原因) 然后3.19.0的内核我换成了3.19.2的内核,然后成功添加了系统调用。 由于多次make,还没清除内核,变成巨大的45G的文件夹了。。 链接:ht ...
分类:
系统相关 时间:
2016-04-09 16:52:26
阅读次数:
162
windows下使用GNU make命令报错的解决方法=> 错误信息:make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)## 1.原因环境变量中配置了`D:\Program Files (x86)\Git\bin ...
编译多个C源代码文件 当程序文件越来越多,修改了其中的一部分代码文件,我们并不需要全部重新编译,只需要编译其中一部分就可以,下面我们创建了一个launch程序,除了主程序,我们创建了3个功能代码文件reaction.c pitch.c engine.c 首先将源代码编译为目标文件 gcc -c *. ...
分类:
编程语言 时间:
2016-04-09 12:13:04
阅读次数:
224
4.4 R1 In which of the following problems is Case/Control Sampling LEAST likely to make a positive impact? A. Predicting a shopper's gender based on t ...
分类:
其他好文 时间:
2016-04-09 07:02:33
阅读次数:
188
Description Farmer John made a profit last year! He would like to invest it well but wonders how much money he will make. He knows the interest rate R ...
分类:
其他好文 时间:
2016-04-09 00:15:48
阅读次数:
147
Going from u to v or from v to u? Description In order to make their sons brave, Jiajia and Wind take them to a big cave. The cave has n rooms, and on ...
分类:
其他好文 时间:
2016-04-08 21:44:14
阅读次数:
365
这两天在看指针,不过,每天上班都有很大的怨气。 我该不该辞职去参加培训,然后去考研呢?这样的选择是不是对父母不公平?我太自私了,23岁却不想挣钱,却整天想着 那些不可能的成功,我一定能考上研究生吗?我一定能通过编程实现自己的价值吗? 但是想想 自己每天花2个小时学习编程,周末在花6个小时,我可能永远 ...
分类:
其他好文 时间:
2016-04-08 06:31:35
阅读次数:
103
Ansible自动化运维(一)一、ansible自动化运维二、ansible安装1、基本软件安装(1)安装python-2.7.8cdpython-2.7.8./configure--prefix=/usr/local&&make&&makeinstall#如果ansible找不到python头文件的话,将Pytho头文件复制到标准目录cp-a/usr/local/include/p..
分类:
其他好文 时间:
2016-04-08 01:04:55
阅读次数:
208
Trackerserver:10.2.84.200Storageserver:10.2.84.202 10.2.84.204一、安装部署1.配置trackerserver、storageserver#unziplibfastcommon-master.zip#cdlibfastcommon-master#./make.sh#./make.shinstallLibfastcommon.so安装到了/usr/lib64/libfastcommon.so,但是FastDFS主程..
分类:
其他好文 时间:
2016-04-07 18:43:30
阅读次数:
130