TT and FF are ... friends. Uh... very very good friends -________-b FF is a bad boy, he is always wooing TT to play the following game with him. This ...
分类:
其他好文 时间:
2017-05-29 14:05:44
阅读次数:
344
Description Pashmak's homework is a problem about graphs. Although he always tries to do his homework completely, he can't solve this problem. As you ...
分类:
其他好文 时间:
2017-05-29 13:29:31
阅读次数:
215
A bird is known by its note, and a man by his talk. 闻其声而知鸟,听其言而知人。 One of the lessons I learned recently is not to compalin about your colleagues, you ...
分类:
其他好文 时间:
2017-05-29 00:59:22
阅读次数:
218
对于异步FIFO。最基本的两个方面是地址控制和空、满标志位的产生。首先地址控制分别为读地址和写地址,每次读写时能读写地址应该加1.计数次数为ram深度的2倍。当读写地址相等时则空标志位有效,当读写地址最高位互补其余位相等时则满标志位有效。存储部分採用双口RAM实现。 以下是详细的Verilog代码: ...
分类:
其他好文 时间:
2017-05-27 21:13:10
阅读次数:
264
需要的ingress网络映射,还是host宿主机端口映射: https://docs.docker.com/compose/compose-file/#secrets docker service create --name web \ --publish mode=host,published=8 ...
分类:
其他好文 时间:
2017-05-26 10:50:50
阅读次数:
155
开发过程中,日志记录是必不可少的事情,尤其是生产系统中经常无法调试,因此日志就成了重要的调试信息来源。 Node.js,已经有现成的开源日志模块,就是log4js,源码地址:点击打开链接 项目引用方法: npm install log4js 1、配置说明(仅以常用的dateFile日志类型举例,更多 ...
分类:
Web程序 时间:
2017-05-25 13:33:46
阅读次数:
294
It is easy to see that for every fraction in the form 1k(k > 0), we can always find two positive integersx and y, x ≥ y, such that:1k=1x+1yNow our que ...
分类:
其他好文 时间:
2017-05-24 22:38:56
阅读次数:
244
http://androidren.com/index.php?qa=322&qa_1=java-%E4%B8%AD-modifer-public-is-reduntant-for-interface-methods 常常会看到接口上写了public修饰方法,然后IDE,比方:Eclipse或者ID ...
分类:
编程语言 时间:
2017-05-24 14:32:42
阅读次数:
275
硬件环境DellR730软件环境CentoS6.8minimal1、看物理机(主要是CPU)是否支持虚拟机技术通过以下命令查看:(注意xen和kvm不能共存,在带xen内核的系统中使用下面的命令会无效,即使你的机器支持VT技术也不会查到vmx或者svm)egrep‘(vmx|svm)‘--color=always/proc/cpuinfo2、安..
分类:
其他好文 时间:
2017-05-23 21:46:41
阅读次数:
179
在JavaScript中,回调函数具体的定义为:函数A作为参数(函数引用)传递到另一个函数B中,并且这个函数B执行函数A。我们就说函数A叫做回调函数。如果没有名称(函数表达式),就叫做匿名回调函数。 callback 不一定用于异步,一般同步(阻塞)的场景下也经常用到回调,比如要求执行某些操作后执行 ...
分类:
编程语言 时间:
2017-05-22 16:50:21
阅读次数:
183