最近在写<Writing Compilers and Interpreters>一书的代码,本来打算用vim敲代码,一来每个字母都要自己敲,而来就当练习vim,但是感觉真是太不方便了,各种小错误,而且更奇怪的是放在这个目录不报错,换个目录就报错了,编译通过,但是运行就有错误: 粘贴复制到另一个目录,发现很多错误刚才目录下编译竟然通过了,这时候倒知道报错了 无奈,时间有限还是转移到IDEA了,果然各种小错误: 总结,一下,这么大的项目确实不适合练手,为了把明确中心,还是用IDE以提高开发效率吧!…
1.8.2016 Royal trumpeters heralded the beginning of the annual ceremony, as Norway's royal family and this year's Nobel laureates entered the hall. The Nobel Committee chose the three women for their activism in the cause of peaceful change in their…
1.先安装java环境= = 1. 下载1.8u121的JAVA JDK (新的java JDK不稳定)!!原因:https://blog.cobaltstrike.com/2017/04/26/java-startup-bug-in-java-1-8u131/ (即使你安装了新的也没关系接下来你就知道了) http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8…
2018-01-1818:20:48 感觉自己最近有点凌乱,一个很简单的问题都能困扰自己很久.以前能很好使用和调试的DS18B20温度传感器,今天愣是搞了很久,妈卖批. 仅仅一个上拉电阻就困扰了我很久,同时也颠覆了我一直以来"电阻"无用的理论.有一些敏感元件,电阻的作用不容小觑. 调试代码简单精简版本如下,极客工坊大神修改版 #include "DS18B20_S.h" //传感器设定为10位模式,每次转换时间<187.5ms,如果需要12位模式,请修改库文件…
目标:自定义一个C\C++矩阵类,有几个用于演示的矩阵运算函数或者操作,将其通过 PyTypeOject newType的方式注册到python中成为一种新的类型,并且要可继承. 预备知识 建议先运行python源码剖析第6章smallpython的代码,有个直观认识,再从书的第一章看起. 知乎相关type和oject的回答链接放这. 熟悉python和C\C++的混合编程. C: https://www.cnblogs.com/btchenguang/archive/2012/09/04/26…
Black Hat Python Python Programming for Hackers and Pentesters by  Justin Seitz December 2014, 192 pp. ISBN-13:  978-1-59327-590-7 Print Book and FREE Ebook, $34.95 Ebook (PDF, Mobi, and ePub), $27.95 Add to cart Contents Reviews Updates Download Cha…
描述 Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles, and they have periods of lengths 23, 28, and 33 days, respectively. T…
The gaming company Sandstorm is developing an online two player game. You have been asked to implement the ranking system. All players have a rank determining their playing strength which gets updated after every game played. There are 25 regular ran…
每次码博客,都觉得自己怀才不遇,哎~脑袋有瑕疵,文笔拿不粗手,就直接上干货吧. 在使用boostrapValidator这个验证插件的时候,如果某一个字段是动态添加来的,我们需要调用方法:addField 这个方法的官方使用说明是这样的: 可是!!!! 当我在表单中动态加入一个checkbox列表,使用addField方法将这个checkbox加入验证队列时,我一开始是这么操作的: 此时我加入验证队列: //注意!!这里我传入的是Jquery对象 $("#testForm").boot…
ubuntu安装过程(硬盘安装)http://www.cnblogs.com/zhbzz2007/p/5493395.html“但是千万不要用麒麟版!!!比原版体验要差很多!!!”开关机的时候电脑最上面 有一行 提示 一晃即过,/dev/sda6: clean(未知,单没关系)http://blog.csdn.net/xuezhisdc/article/details/48649575(意义) 1.教程1http://blog.csdn.net/zwyjg/article/details/163…