In Professor McGonagall's class of Transfiguration, Harry Potter is learning how to transform one object into another by some spells. He has learnt th ...
分类:
其他好文 时间:
2017-10-22 14:40:51
阅读次数:
265
单一职责原则(SRP:The Single Responsibility Principle) 一个类应该有且只有一个变化的原因。 There should never be more than one reason for a class to change. 为什么将不同的职责分离到单独的类中是 ...
分类:
其他好文 时间:
2017-10-18 00:12:09
阅读次数:
207
多线程计数,每个线程累加10个数。 实现: ...
分类:
编程语言 时间:
2017-10-15 21:21:32
阅读次数:
168
问题: hadoop启动的时候报错 HTTP ERROR 500 Problem accessing /nn_browsedfscontent.jsp. Reason: Cannot issue delegation token. Name node is in safe mode. The rep ...
分类:
其他好文 时间:
2017-10-13 12:43:41
阅读次数:
126
1、在一个DLL中有函数被某个进程所调用就会先调用DllMain函数,然后进行reason选择, 进行进程启动的执行时进行你的hook,全局当然是最先被初始化的,在全局区此时也可以进行你需要的hook, 当然的这些hook的前提是你能把你的Dll注入到所有的进程中。 2、而1中,我们可以通过SetW ...
例题1: Question : char a[20]; int *ptr = (int * )a; ptr++ Practice : Reason : Reason : #include <bits/stdc++.h> using namespace std; int main() { char a ...
分类:
编程语言 时间:
2017-10-08 14:49:13
阅读次数:
231
(The other reason (and the one more pertinent to Java developers), is that it provides a nice way to handle common exceptions. Why do I say nice? Firs ...
分类:
其他好文 时间:
2017-10-07 17:45:25
阅读次数:
164
深度学习三巨头之一来清华演讲了,你只需要知道这7点 http://wemedia.ifeng.com/10939074/wemedia.shtml Yann LeCun还提到了一项FAIR开发的,用于检测、分割、识别单张图像中每个物体的技术,比如在一盘菜里检测、分割、并识别出西兰花来、又或是在一堆羊 ...
分类:
其他好文 时间:
2017-10-05 18:26:36
阅读次数:
244
在日常工作中,大家有时会遇到过这样的情况:使用Excel编制的报表、表格、程序等,在单元格中设置了公式、函数等,为了防止其他人修改您的设置或者防止您自己无意中修改,您可能会使用Excel的工作表保护功能,但时间久了保护密码容易忘记,这该怎么办?有时您从网上下载的Excel格式的小程序,您想修改,但是 ...
分类:
其他好文 时间:
2017-09-27 13:18:42
阅读次数:
225
1.读入待分析的字符串 2.分解提取单词 3.计数字典 4.排除语法型词汇 5.排序 6.输出TOP(20) 运行结果: ...
分类:
其他好文 时间:
2017-09-26 20:57:14
阅读次数:
142