自动清除firefox缓存1.在firefox的地址栏上输入about:config回车2.找到browser.cache.check_doc_frequency选项,双击将3改成1保存即可。选项每个值都是什么含义的。请看下面的解释:0: Once per session 每个进程一次 每次启动Fi...
分类:
其他好文 时间:
2014-07-13 22:51:53
阅读次数:
280
传送门:
POJ:点击打开链接
HDU:点击打开链接
下面是POJ上的题;
Wall
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 29121
Accepted: 9746
Description
Once upon a tim...
分类:
其他好文 时间:
2014-07-13 20:40:31
阅读次数:
246
项目中要用到采集的数据,所以就先拿CSDN博客来试了试。这里使用Simple HTML DOM(官网)这个库,它能够方便的遍历HTML文档。
php
include_once('simple_html_dom.php');
header('Content-Type:text/html;charset=utf-8');
$html = file_get_htm...
分类:
Web程序 时间:
2014-07-13 15:29:04
阅读次数:
262
#pragma once#include "student.h"#include "Teacher.h"typedef enum _EPersonType{ ePersonUndefin = 0, ePersonStudent, ePersonTeacher}EPersonType...
分类:
其他好文 时间:
2014-07-13 00:36:51
阅读次数:
216
#pragma once
#include
#include
#include
#include
#include
class CountDownLatch : boost::noncopyable
{
public:
explicit CountDownLatch(int count);
void wait();
void countDown();
int getCo...
1. onAttach ------called once the fragment is associated with its activity2. onCreate-------called to do initial creation of the fragment3. onCreateVi...
分类:
移动开发 时间:
2014-07-11 10:23:34
阅读次数:
252
1 #pragma once 2 3 #include 4 #include 5 6 class cyclebuffer 7 { 8 protected: 9 volatile int32_t m_nReadIndex; 10 volatile int3...
分类:
其他好文 时间:
2014-07-09 00:35:34
阅读次数:
189
Java是当今世界三大编程语言之一。它可被用来开发Web应用和桌面应用,而且它是跨平台的 - 一次编译,多处运行(write once, run everywhere)。而且,Java上手十分简单。如果你想要成为一名合格的Java开发者,你需要看看自己是否知道一下内容。
下面的列表是由一个高级Java开发者Vivek Vermani总结的。
对于一个核心Java开发者来说,他最...
分类:
编程语言 时间:
2014-07-08 15:07:20
阅读次数:
250
public function post_tweet($tweet_text) {
include_once('twitter/tmhOAuth.php');//tmhOAuth.php为twitter api,放到/lib/twitter下,下载地址请往下阅读
$connection = new tmhOAuth(array(
'consumer_key...
分类:
其他好文 时间:
2014-07-04 07:59:39
阅读次数:
376
按着书里面讲述的方法,根据某一位来将整个数组拆分成两个部分,取每一部分中出现一次的数。书中的处理略显复杂,这里简化下分类的方法。
def once(array):
reOR = 0
for x in array:
reOR ^= x
bit1 = firstBit1(reOR)
first = 0
second = 0
for x in array:
if x & ...
分类:
其他好文 时间:
2014-07-03 13:50:52
阅读次数:
181