EXEC sp_password NULL, 'NewPassword', 'Sa'
分类:
数据库 时间:
2014-07-16 23:05:09
阅读次数:
197
因为实验室项目好久没刷题了。从今天开始重新开始刷题。 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers...
分类:
其他好文 时间:
2014-07-16 23:04:15
阅读次数:
166
find [起始目录] 寻找条件 操作还有种表述方式:find PATH OPTION [-exec COMMAND { } \;]因为find命令会根据我们给的option,也就是寻找条件从我们给出的目录开始对其中文件及其下子目录中的文件进行递归搜索,所以我觉的这个地方说是“起始目录”是非常好的。...
分类:
系统相关 时间:
2014-07-16 23:03:03
阅读次数:
332
xargs命令把从stdin接受到的数据重新格式化。例如:$command | xargs xargs命令可以将多行输入转换成单行输出$cat example.txt1 2 3 4 5 67 8 9 1011 12$cat example.txt | xargs1 2 3 4 5 6 7 8 9 ....
分类:
其他好文 时间:
2014-07-16 23:02:37
阅读次数:
299
从cookie中取值:var userid = $.cookie("remoteuserid");例子:function delUser() { var table = $('#grid-user-list'); var chkBoxes = table.find('input.invechk...
分类:
其他好文 时间:
2014-07-16 21:37:48
阅读次数:
218
vartext="sesssges";varreg=/\s/;if(reg.exec(text)==null)alert('没有空格');elsealert('有空格');
分类:
其他好文 时间:
2014-07-16 21:06:02
阅读次数:
141
1、删掉工程中main.storyboard 后要删除plist文件中对应的键值,否则会报如下错误:Could not find a storyboard named 'Main' in bundle NSBundle2、删除main.storyboard后,需要在AppDelegate.m中初始化...
分类:
其他好文 时间:
2014-07-16 20:43:35
阅读次数:
151
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.思路:这道题主要是找出重叠结点和相同斜率之和。此时我们要判断有斜率和无斜率个数,并判断那个数量比较大,...
分类:
其他好文 时间:
2014-07-16 20:26:01
阅读次数:
123
/* 打开修改系统表的开关 */sp_configure 'allow updates', 1RECONFIGURE WITH OVERRIDE存储过程如下:create procedure sp_droplogin@loginame sysnameas declare @exec_stmt nva...
分类:
数据库 时间:
2014-07-12 08:48:49
阅读次数:
1136
daniel@daniel-mint ~/msf/metasploit-framework $ ruby msfpayload windows/exec CMD=calc.exe NWARNING: Nokogiri was built against LibXML version 2.8.0, b...
分类:
其他好文 时间:
2014-07-12 08:35:11
阅读次数:
204