A. Vasya the Hipster(水题) One day Vasya the Hipster decided to count how many socks he had. It turned out that he had a red socks and b blue socks. Acc ...
分类:
其他好文 时间:
2017-05-07 12:55:55
阅读次数:
303
多线程的start_routine指明了CPU的一个可执行流; 多线程的上线文说明了执行流现在的运行情况; 多线程的属性说明了上线文的数据结构。 https://computing.llnl.gov/tutorials/pthreads/ pthread_create arguments: thre ...
分类:
编程语言 时间:
2017-05-02 18:21:22
阅读次数:
212
参考http://ixdba.blog.51cto.com/2895551/1566856/ 安装extundelete 实践使用extundlete恢复数据 ...
分类:
其他好文 时间:
2017-05-01 10:02:13
阅读次数:
171
出现E: Sub-process /usr/bin/dpkg returned an error code的解决办法 ...
分类:
其他好文 时间:
2017-04-29 11:53:53
阅读次数:
133
转http://www.cnblogs.com/svennee/p/4083359.html 昨天客户反映说在下午某时间段有几个事务失败了,让我查下当时数据库系统的负载是否正常,看了下CPU的历史负载,很正常,于是看了下日志发现有几个timeout错误和一个ORA-02050错误。Tue Feb 1 ...
分类:
其他好文 时间:
2017-04-24 12:33:49
阅读次数:
225
近期发现NotePad++不支持按行号区间的文本复制,就想自己动手开发一个NotePad++插件,支持输入起始行号和结束行号,然后复制该区域的文本到新文档或者拷贝到系统剪切板,方便文本的操作。效果例如以下图: 本文主要介绍NotePad++插件开发的基本流程以及相关的注意点。 1、Notepad++ ...
分类:
其他好文 时间:
2017-04-16 19:25:04
阅读次数:
653
Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central Loowater had always ...
分类:
其他好文 时间:
2017-04-16 11:24:03
阅读次数:
215
运行 django-admin.py startproject [project-name] 命令会生成一系列文件,在Django 1.6版本以后的 settings.py 文件中有以下语句: 1 2 3 # Build paths inside the project like this: os. ...
分类:
其他好文 时间:
2017-04-06 19:49:22
阅读次数:
133
When using most POCO entities the determination of how an entity has changed (and therefore which updates need to be sent to the database) is handled ...
分类:
其他好文 时间:
2017-03-28 00:31:19
阅读次数:
265
numpy.nonzero(a) Return the indices of the elements that are non-zero. Returns a tuple of arrays, one for each dimension of a, containing the indices ...
分类:
编程语言 时间:
2017-03-26 11:49:44
阅读次数:
178