#enconding:utf-8
require 'selenium-webdriver'
require 'rspec'
describe "baidu main page" do
it "should have 百度一下 button on the baidu main page"do
dr = Selenium::WebDriver.for:ie
url = 'www.baid...
分类:
其他好文 时间:
2014-11-10 23:21:48
阅读次数:
1334
常用英语词汇1. spiral order 螺旋形顺序Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should...
分类:
其他好文 时间:
2014-11-10 21:33:26
阅读次数:
217
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-11-10 17:15:00
阅读次数:
173
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two lists.
递归版
/**
* Definition for singly-linked list.
...
分类:
其他好文 时间:
2014-11-10 13:55:03
阅读次数:
195
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.这道混合插入有序链...
分类:
其他好文 时间:
2014-11-10 06:27:42
阅读次数:
191
解决参考http://www.rafalinux.com/La búsqueda fue bastante infructuosa, y hasta hace un par de días, nadie respondió a un llamamiento en losforos de Ellisl...
分类:
Web程序 时间:
2014-11-09 20:47:05
阅读次数:
274
我也是从网上看到的这种解决办法。
遇到这种情况后,通过dmesg看一下内核日志。
如果发现有如下日志,那就好办了。
hello: version magic '2.6.33.3 ' should be '2.6.33.3-85.fc13.i686.PAE SMP mod_unload 686 '
修改内核源码文件include/linux/vermagic.h
把如下VERMAGIC...
分类:
其他好文 时间:
2014-11-09 16:40:55
阅读次数:
113
归并两个有序序列为一个有序序列Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the n...
分类:
其他好文 时间:
2014-11-09 16:34:47
阅读次数:
182
遇到的问题:mysqldump: Error 1194: Table 'user' is marked as crashed and should be repaired when dumping table `user` at row: 1161435登陆到数据库:mysql> select co...
分类:
数据库 时间:
2014-11-09 08:37:40
阅读次数:
417
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the...
分类:
系统相关 时间:
2014-11-08 23:28:09
阅读次数:
295