Java has won the TIOBE Index programming language award of the year. This is because Java has the largest increase in popularity in one year time (+5.94%). Java leaves runner ups Visual Basic.NET (+1.5...
分类:
编程语言 时间:
2016-01-18 22:53:00
阅读次数:
524
Reverse Linked List II: Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 and n...
分类:
其他好文 时间:
2016-01-18 20:35:23
阅读次数:
125
A number of K balls are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first visits a non-ter...
分类:
其他好文 时间:
2016-01-18 13:40:25
阅读次数:
131
一、选择符1. querySelector()方法:返回与该模式匹配的第一个元素//取得body元素var body = document.querySelector("body");//获取的ID为"one"的元素var one = document.querySelector("#one");/...
分类:
Web程序 时间:
2016-01-18 11:41:22
阅读次数:
209
重定向dup和dup2函数#include int dup(int file_descriptor);int dup2(int file_descriptor_one, int file_descriptor_two);dup创建一个新的文件描写叙述符, 此描写叙述符和原有的file_descrip...
分类:
系统相关 时间:
2016-01-17 20:07:11
阅读次数:
330
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved此问题的解决:1、要确...
分类:
Web程序 时间:
2016-01-16 21:03:56
阅读次数:
179
nginx自带缓存 nginx自己有单独的进程来对磁盘上的缓存文件进行扫描,在内存中建立缓存索引。并且有管理进程来对缓存进行过期判断,更新等操作 定义:只能在http段中使用 proxy_cache_path /dev/shm/nginx/cache levels=1:2 keys_zone=one...
分类:
系统相关 时间:
2016-01-16 18:59:30
阅读次数:
256
上面一篇文章说到: process_one_work中最重要的一件事情就是worker->current_func(work);这里就具体到一项很具体的任务了,由于我要研究文件系统嘛,所以很自然就到具体的任务里:void wb_workfn(struct work_struct *work)首先,w...
分类:
其他好文 时间:
2016-01-16 14:10:54
阅读次数:
735
来源:http://www.ruanyifeng.com/blog/2013/06/rsa_algorithm_part_one.html如果你问我,哪一种算法最重要? 我可能会回答"公钥加密算法"。因为它是计算机通信安全的基石,保证了加密数据不会被破解。你可以想象一下,信用卡交易被破解的后果。进入...
分类:
编程语言 时间:
2016-01-16 14:08:23
阅读次数:
231
Singleton is a most widely used design pattern. If a class has and only has one instance at every moment, we call this design as singleton. For exampl...
分类:
其他好文 时间:
2016-01-16 07:37:34
阅读次数:
174