gc d:\vm.txt|foreach -begin {write-host "It's beginning."} -process {$_ +"aa"} -end {write-host "The end"}
分类:
其他好文 时间:
2014-06-25 22:50:17
阅读次数:
243
1.欧拉筛法在线性时间内求素数以及欧拉函数代码: 1 procedure get; 2 var i,j,k:longint; 3 begin 4 tot:=0; 5 fillchar(check,sizeof(check),false); 6 for i:=2 to n do 7 be...
分类:
其他好文 时间:
2014-06-25 22:11:51
阅读次数:
574
JS正则表达式获取分组内容。支持多次匹配的方式:var testStr = "now test001 test002"; var re = /test(\d+)/ig; var r = ""; while(r = re.exec(testStr)) { alert(r[0] + " " + r[1]...
分类:
Web程序 时间:
2014-06-24 11:27:32
阅读次数:
220
iOS Dev (55) 获取当前年、月、日等信息
作者:大锐哥博客:http://prevention.iteye.com
-
NSDate *now = [NSDate date];
NSCalendar *calendar = [NSCalendar currentCalendar];
NSUInteger unitFlags =
NSYearCalendarUnit...
分类:
移动开发 时间:
2014-06-22 22:39:27
阅读次数:
291
1、表格的插入
一般的表格插入的代码如下:
\begin{table}[H]
\centering
\begin{tabular}{|c|c|c|}
\hline
感知方法&优点&缺点\\ \hline
单用户检测&计算与执行简单& \tabincell{c}{隐藏终端问题\\多径与阴影效应}\\ \hline
多用户合作检测& \tabince...
分类:
其他好文 时间:
2014-06-22 22:35:15
阅读次数:
281
1. 登录服务器查看后,发现router的日志很大,有超过100G,导致无法打开, 决定,先重启router服务,删除日志。
2. 重启完毕router后,日志又出现了猛刷的情况,进入查看,显示
2014-06-19T20:08:25.170+0800[conn8956] end connection 10.4.1.101:7389(100 connections now...
分类:
数据库 时间:
2014-06-22 20:35:45
阅读次数:
243
Strange fuction
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2982 Accepted Submission(s): 2202
Problem Description
Now, here ...
分类:
其他好文 时间:
2014-06-22 17:53:42
阅读次数:
221
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
1.知识点
--第一个存储过程
/*
打印Hello World
create [or replace] PROCEDURE 过程名(参数列表)
AS
PLSQL子程序体;
调用存储过程:
1. exec sayHelloWorld();
2. begin
sayHelloWorld();
sayHelloWorld();
end;
/
...
分类:
数据库 时间:
2014-06-22 16:33:52
阅读次数:
354
????用hibernate访问sybase时遇见的异常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set ...
分类:
系统相关 时间:
2014-06-22 06:19:49
阅读次数:
1188