Querying SQLite from Python 1. We use connect() in the library sqlite3 to connect the database we would like to query. Once it is connected, the targe ...
分类:
其他好文 时间:
2016-11-18 07:44:34
阅读次数:
171
SQL And Database: 1.SQL query is to request the data from the database. 2.We use SELECT command to pick the specific column from the database. SELECT ...
分类:
其他好文 时间:
2016-11-18 07:30:06
阅读次数:
171
Web Scriping: 1. We can also use requests.get to get the HTML file form a webpage. 2. If we would like to extract the content from the webpage, we can ...
分类:
其他好文 时间:
2016-11-17 08:05:30
阅读次数:
114
首先要明白线程的工作原理,jvm有一个main memory,而每个线程有自己的working memory,一个线程对一个variable进行操作时,都要在自己的working memory里面建立一个copy,操作完之后再写入main memory。多个线程同时操作同一个variable,就可能 ...
分类:
编程语言 时间:
2016-11-15 13:55:57
阅读次数:
233
1. While we would like to get some data from the server with authorization, we should apply token from the website frist. Then we pass token in the re ...
分类:
其他好文 时间:
2016-11-15 10:35:32
阅读次数:
121
1. The API is the link to request data from the host. 2. A endpoint is a route to retrive different data from the API. 3. Status codes indicate inform ...
分类:
其他好文 时间:
2016-11-15 08:22:27
阅读次数:
137
为了加深对缓存算法的理解,特转此篇,又由于本文内容过多,故不做翻译,原文地址Working Set页面置换算法 In the purest form of paging, processes are started up with none of their pages in memory. As ...
分类:
编程语言 时间:
2016-11-13 19:28:25
阅读次数:
248
SSH 为 Secure Shell 的缩写,由 IETF 的网络小组(Network Working Group)所制定;SSH 为建立在应用层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以有效防止远程管理过程中的信息泄露问题。SSH ...
分类:
其他好文 时间:
2016-11-12 16:14:35
阅读次数:
126
http://www.easybots.cn/api/holiday.php?d=20160104 返回值: 工作日对应结果为 0, 休息日对应结果为 1, 节假日对应的结果为 2; 检查一个日期是否为节假日 http://www.easybots.cn/api/holiday.php?d=2013 ...
My last column in Datatable is link, but only work on the first page, whenever I changed the page number or number shown on page the links were not wo ...
分类:
编程语言 时间:
2016-11-10 07:43:00
阅读次数:
152