param($a,$b )#region 关键代码:强迫以管理员权限运行$currentWi =[Security.Principal.WindowsIdentity]::GetCurrent()$currentWp =[Security.Principal.WindowsPrincipal]$cu...
分类:
其他好文 时间:
2014-06-28 10:32:29
阅读次数:
797
原文:05. 取SQL分组中的某几行数据对表中数据分组,有时只需要某列的聚合值;有时却需要返回整行数据,常用的方法有:子查询、ROW_NUMBER、APPLY,总体感觉还是ROW_NUMBER比较直观。测试数据:if OBJECT_ID('testGroup') is not nulldrop ta...
分类:
数据库 时间:
2014-06-25 23:30:14
阅读次数:
369
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using ...
分类:
Web程序 时间:
2014-06-25 21:16:23
阅读次数:
263
【Application.LoadLevel】 只有在File->Build Setting中设置了的按钮才能被加载。 当level加载完成后,MonoBehaviour.OnLevelWasLoaded is called on all active game objects。 When...
分类:
移动开发 时间:
2014-06-25 19:43:36
阅读次数:
254
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro...
分类:
Web程序 时间:
2014-06-25 19:35:14
阅读次数:
262
解决方法如下 On the Windows 7 machine:Run secpol.mscDrill down through Local Policies | Security Options.Find Network Security: LAN Manager authentication l...
http://www.h3c.com.cn/Products___Technology/Technology/Security_Encrypt/Other_technology/Representative_collocate_enchiridion/201010/697325_30003_0.ht...
分类:
Web程序 时间:
2014-06-24 11:32:01
阅读次数:
318
??大家好,今天微软最新发布一篇安全通报2974294,介绍了一个微软恶意软件防护引擎(Malware Protection Engine)中的一个拒绝服务漏洞,这个漏洞主要存在于微软的安全防护软件中,其中包括了Forefront Client Security, Forefront EndPoint Protection 2010, System Center 2012 EndPoint Pro...
分类:
其他好文 时间:
2014-06-22 16:50:28
阅读次数:
151
##1.邮箱注册这里需要扩展User,两种解决办法,1,注册时将email字段内容赋给username,这种瞒天过海型的,另一种就是扩展user,这里介绍django1.5的扩展方法。**1.setting配置** AUTH_USER_MODEL = 'manager.MyUser' ...
分类:
其他好文 时间:
2014-06-22 11:02:42
阅读次数:
288
LINUX平时工作中用到的常用命令:scp是有Security的文件copy,基于ssh登录。操作起来比较方便,比如要把当前一个文件copy到远程另外一台主机上,可以如下命令。scp/home/1.gifroot@172.19.2.75:/home/root然后会提示你输入另外那台172.19.2.75主机的root用户的登录密码,接着就..
分类:
系统相关 时间:
2014-06-22 10:23:46
阅读次数:
211