安装Git, 到项目目录下右击->Git Bash, 输入命令:find . -name
"*.cs" | xargs wc -l效果如下, 还是挺简便的.
分类:
其他好文 时间:
2014-06-13 14:02:58
阅读次数:
221
"The password could not be validated" when
attempting to provision an AD RMS server. Symptoms When you attempt to provision
an Active Directory Rights...
分类:
其他好文 时间:
2014-06-13 13:37:09
阅读次数:
271
Export Wizard Error Errors occurred during the
buildProblems occured when invoking code from plug-in: "org.eclipse.resources".
The builder launch con....
分类:
其他好文 时间:
2014-06-11 23:31:49
阅读次数:
255
Implement an algorithm to print all valid (
properly opened and closed) combinations of n-pairs of parentheses.思路:比如 n = 3,
((())) 就是一个valid combinati...
分类:
其他好文 时间:
2014-06-11 13:19:00
阅读次数:
306
Alert alert =
driver.switchTo().alert();alert.accept();
分类:
其他好文 时间:
2014-06-11 13:05:22
阅读次数:
169
第零章:扯扯淡
出一个有意思的题目:用一个宏定义FIND求一个结构体struct里某个变量相对struc的编移量,如struct student{ int a;
//FIND(struct student,a) 等于0 char b; //FIND(struct st...
分类:
系统相关 时间:
2014-06-11 10:23:14
阅读次数:
361
原题地址:https://oj.leetcode.com/problems/edit-distance/题意:Given
two wordsword1andword2, find the minimum number of steps required to
convertword1toword2....
分类:
编程语言 时间:
2014-06-11 08:58:49
阅读次数:
293
1. 查找和排序查找:顺序查找、二分查找、二叉搜索树、哈希表顺序查找:T(n) = O(n)
std::find二分查找:T(n) = O(log n) std::binary_search std::lower_bound
std::upper_bound哈希表: T(n) = O...
分类:
其他好文 时间:
2014-06-11 07:45:31
阅读次数:
250
You are given an n x n 2D matrix representing
an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?实现题。从最外圈顺时针交换,最...
分类:
其他好文 时间:
2014-06-07 20:33:17
阅读次数:
283
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially fille...
分类:
其他好文 时间:
2014-06-07 12:51:12
阅读次数:
225