像这种常见的「普通」计算器,其实啥都能算(有了极限,啥玩意都能变成加减乘除)。其中,自然对数尤其好算,本文将提供一种方法,主要利用的是计算器的开平方功能。 众所周知,自然对数有如下展开式: \( ln{x} = x-\frac{x^{2}}{2}+\frac{x^{3}}{3}-\frac{x^{4 ...
分类:
其他好文 时间:
2016-06-16 13:24:04
阅读次数:
169
A Basic Example Now that the Knockout library is installed, let’s get right to an example of using it. Knockout works with ViewModels, which are compr ...
分类:
Web程序 时间:
2016-06-15 23:55:15
阅读次数:
214
常常有新人问我,我该学哪一门编程语言呢?编程语言太多了,我都不知道该选择哪一门编程语言来深入学习了!是的,我也曾被这个问题所困恼,当初学习软件编程时也经历了C/Java/C#这样的路线,后来我也接触并使用过C++/Visual Basic/JavaScript/PHP/Python等语言,并了解过一 ...
分类:
编程语言 时间:
2016-06-15 20:47:54
阅读次数:
201
Greedy using priority_queue and hashmap. The basic idea is to have k buckets - and we fill it greedily. And I agree that the code below can be cleaner ...
分类:
其他好文 时间:
2016-06-15 08:01:01
阅读次数:
249
设置PL/SQL客户端(前提条件Oracle数据库的监听和服务已经设置好) 一、虚拟机的网络连接方式设置为Bridget。二、oracle官方网站下载instantclient-basic-nt-11.2.0.3.0.zip,解压到E盘(这样就不用安装Oracle客户端)三、打开解压的文件夹,新建文 ...
分类:
数据库 时间:
2016-06-15 01:36:49
阅读次数:
396
实例:importurllib2importbase64,loggingdefhttpDownload(testModule,var):testModule=testModule+‘.zip‘url=var[‘HttpRes‘]+‘/‘+testModule########此url为下载路径request=urllib2.Request(url)downDir=‘/home/Elves/agent/module/‘file=downDir+testModulebase64string=bas..
分类:
编程语言 时间:
2016-06-15 00:07:13
阅读次数:
152
0x00 作为一个仰慕黑客技术已久的小白能有一个合法hack以及测试自己能力水平的地方一直是我梦寐以求的(特别是像我这种不怎么会搭环境的超级小白--),所以一听到ISCC2016的比赛消息,就屁颠屁颠的、迫不及待的去参赛了。 0x01 ISCC比赛分为信息安全知识、basic、web、pwn、rev ...
分类:
其他好文 时间:
2016-06-14 23:53:26
阅读次数:
1380
First, what is 'High Order function', basic just a function, inside the function return another fuction. For example: Decorators is a subset of high o ...
分类:
编程语言 时间:
2016-06-14 06:23:59
阅读次数:
197