查找文件中指定字符串并且高亮显示: find .|xargs grep --color=auto "hello" dos下查找: netstat -ano|findstr "8001" 查看端口号是否开启: netstat -pant | fgrep 9009 给父进程发送一个TERM信号,试图杀死 ...
分类:
系统相关 时间:
2016-08-12 20:06:36
阅读次数:
233
在查询一个DB中的Table时,SQL Server 抛出异常: The operating system returned error 2(The system cannot find the file specified.) to SQL Server during a read at offs ...
分类:
数据库 时间:
2016-08-12 19:40:03
阅读次数:
347
错误写法(但是网上都是这样写,无语): $("#s_province").find("option[text='天津市']").attr("selected","selected"); 正确的写法: $("#s_province option:contains('天津市')").attr("sele ...
分类:
Web程序 时间:
2016-08-12 19:38:06
阅读次数:
233
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to find the number of connected ...
分类:
其他好文 时间:
2016-08-12 15:01:03
阅读次数:
117
Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given ...
分类:
其他好文 时间:
2016-08-12 13:35:08
阅读次数:
125
题目: You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element fro ...
分类:
编程语言 时间:
2016-08-12 13:33:21
阅读次数:
225
题目: Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Example: 分析:采用 ...
分类:
编程语言 时间:
2016-08-12 11:36:26
阅读次数:
191
1.工程文件中的内容的查找替换 例: 想要把工程文件中的“山东”改为“云南”。 1)首先选中工程文件夹 2)右击出现下拉菜单,选择 find&replace 选项 3)出现在编辑框内输入要查找替换的内容,以及查找替换的范围即可, 4)最后save All 2. ...
分类:
其他好文 时间:
2016-08-12 11:33:01
阅读次数:
90
Sometimes you find a bug in your project that has been around for a while without being noticed; it can be hard to track down where that bug was intro ...
分类:
其他好文 时间:
2016-08-12 06:45:47
阅读次数:
185
1. Find all objects and the corrensponding function of each object.2. Extract the classes from the above objects.2.1 List multiple objects of a same c... ...
分类:
其他好文 时间:
2016-08-12 01:23:25
阅读次数:
133