« | December 2019 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | |
|
公告 |
Back Today!
Hold on~
Come on~ |
统计 |
blog名称:执著 日志总数:39 评论数量:43 留言数量:0 访问次数:232308 建立时间:2005年3月4日 | |
[.net]正规判断email |
执著 发表于 2007-3-30 14:45:15 |
function checkemail(inputemail) //设置参数值 { var email = inputemail.value; var re = /^.+@.+\..{2,3}$/ if (re.test(email)) { var tempstring = email.split("@") if (tempstring[2] == undefined) return true; else   | |
|
[.net]文件md5值 |
public static string md5_hash(string path) { try { FileStream get_file = new FileStream(path, FileMode.Open, FileAccess.Read,
FileShare.Read); &nb | |
|
javascript:操作url参数的函数 |
执著 发表于 2007-1-16 15:25:16 |
平时不做javascript开发的,但是最近的web项目用到,自已写的,
<script language="javascript"> function getQueStr(url,ref) //取获参数值 { var str = url.substr(url.indexOf('?')+1); if(str.indexOf('&')!=-1) { var arr = str.split('&'); for(i in arr) { &nb | |
|
[.net]C#淡出淡入窗体 |
执著 发表于 2006-10-4 13:47:36 |
using System.Runtime.InteropServices;
public class Win32 { public const Int32 AW_HOR_POSITIVE = 0x00000001; // 从左到右打开窗口 public const Int32 AW_HOR_NEGATIVE = 0x00000002; // 从右到左打开窗口 public cons | |
|
[.net]VSS 6 admin用户的密码破解 |
the secret is to hack the um.dat file to remove the Admin password
from offset 80 the bytes are (all numbers are hex)
0:80 55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00 0:90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0:a0 00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00
Just load the um.dat file into a hex editor and change the bytes from = offset 80 to exactly what is shown above. When the SourceSafe admin tool = star | |
|
[SQLSERVER]没用过的东东(sql) |
执著 发表于 2006-8-18 16:28:42 |
B: EXCEPT 运算符 EXCEPT 运算符通过包括所有在 TABLE1 中但不在 TABLE2 中的行并消除所有重复行而派生出一个结果表。当 ALL 随 EXCEPT 一起使用时 (EXCEPT ALL),不消除重复行。 C: INTERSECT 运算符 INTERSECT 运算符通过只包括 TABLE1 和 TABLE2 中都有的行并消除所有重复行而派生出一个结果表。当 ALL 随 INTERSECT 一起使用时 (INTERSECT ALL),不消除重复行。
先去试试! | |
|
初学ajax(C#) |
执著 发表于 2006-8-18 16:12:46 |
由于刚到新公司,事情并不是很多,无聊中看起了ajax,完全是初学,加上基础,看了半天才能看了解一点点皮毛,免得忘了一干二净,把还记得的东东,写下来吧!
Post数据:
h.html
----------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <script language = "javascript"> var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); var bloglist = new Array();
function StartLoad() {   | |
|
[.net]页面开发的准则一 |
执著 发表于 2006-8-17 16:28:39 |
结构(html,xhtml,xml..)
表现(CSS,xslt..)
行为(Dom,EcmaSCRIPT..)
三种要素分离 | |
|
|
|
|