checking for CRYPTO_free in -lcrypto...
noconfigure: error: libcrypto not found!http://www.openssl.org/source/
openssl-0.9.8y.tar.gz cd openssl-0.9.8y...
分类:
Web程序 时间:
2014-05-18 19:11:48
阅读次数:
376
Leetcode 151题 Reverse Words in a String...
分类:
其他好文 时间:
2014-05-18 10:51:21
阅读次数:
243
【题目】
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only n...
分类:
其他好文 时间:
2014-05-18 10:22:34
阅读次数:
367
题意:
Evaluate the value of an arithmetic expression in
Reverse Polish Notation.
Valid operators are +, -, *,
/. Each operand may be an integer or another expression.
So...
分类:
其他好文 时间:
2014-05-18 08:09:15
阅读次数:
190
IPC进程间通信+共享内存Mapping
IPC(Inter-Process Communication,进程间通信)。
文件映射(Mapping)是一种将文件内容映射到内存地址的技术,通过对映射内存,读写文件如同读写内存一般简单。
多个进程映射同一个文件映射对象,也即多个进程映射到同一个物理存储页面,因此,当一个进程...
分类:
移动开发 时间:
2014-05-18 04:28:39
阅读次数:
324
题目:
Given an input string, reverse the string word by word.
For example,
Given s = "the sky is blue",
return "blue is sky the".
Clarification:
What constitutes a word?
A sequence of non-spa...
分类:
其他好文 时间:
2014-05-18 04:12:07
阅读次数:
198
系列文章[Nhibernate]体系结构[NHibernate]ISessionFactory配置[NHibernate]持久化类(Persistent
Classes)[NHibernate]O/R Mapping基础[NHibernate]集合类(Collections)映射[NHibernat...
分类:
移动开发 时间:
2014-05-18 02:38:01
阅读次数:
394
Given a linked list, reverse the nodes of a
linked list k at a time and return its modified list.If the number of nodes is
not a multiple of k then le...
分类:
其他好文 时间:
2014-05-18 01:53:53
阅读次数:
331
sorted函数:iterable:是可迭代类型;cmp:用于比较的函数,比较什么由key决定,有默认值,迭代集合中的一项;key:用列表元素的某个属性和函数进行作为关键字,有默认值,迭代集合中的一项;reverse:排序规则.
reverse = True 或者 reverse = False,有...
分类:
编程语言 时间:
2014-05-17 23:36:24
阅读次数:
511
如果你仅仅是要检查一个document是否存在,而对document的内容不感兴趣,你可以使用HEAD进行查询curl -i -XHEAD
/website/blog/123如果document存在将会返回如下数据:HTTP/1.1200 OKContent-Type: text/plain;
ch...
分类:
其他好文 时间:
2014-05-15 17:07:40
阅读次数:
293