运行regeditHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders找到Desktop%USERPROFILE% 默认为C:\Users\用户名,替换成要更改的目录如F:\系统...
if(templatejquery.browser.msie){ ckb.onpropertychange=function() { UpdateEnableState(current_checklist_ID);} }else{ ckb.onchange=function() { UpdateEn...
分类:
其他好文 时间:
2014-07-07 08:57:02
阅读次数:
176
bootsect部分已经执行完成,程序也跳转到setup部分:
start:
! ok, the read went well so we get current cursor position and save it for
! posterity.
mov ax,#INITSEG ! this is done in bootsect already, but...
mov...
分类:
系统相关 时间:
2014-07-03 18:38:19
阅读次数:
329
登录时存:HttpCookiecookieUserPower=newHttpCookie("UserPower");cookieUserPower.Value=loginuser._UserPower.ToString();HttpContext.Current.Response.Cookies.Add(cookieUserPower);页面判断:if(Request.Cookies["UserID"]==null){ClientScript.RegisterClientScriptBlo..
分类:
其他好文 时间:
2014-07-03 15:10:26
阅读次数:
343
controller def uploadss @attachment = Attachment.new(:file => request.raw_post) @attachment.author = User.current @attachment.filename = params[:filen...
分类:
其他好文 时间:
2014-07-03 12:38:19
阅读次数:
169
The Methods to Get Current TimestampA. CACurrentMediaTime()B. gettimeofdayC. CFAbsoluteTimeGetCurrentD. [NSDate date] timeIntervalSince1970]E. mach_ab...
分类:
移动开发 时间:
2014-07-02 23:53:15
阅读次数:
443
snapshotViewAfterScreenUpdatesThis method very efficiently captures the current rendered appearance of a view and uses it to build a new snapshot view...
分类:
其他好文 时间:
2014-07-02 20:07:46
阅读次数:
166
查看所有postgre语句执行时间:select procpid, start, now() - start as lap, current_query from (select backendid, pg_stat_get_backend_pid(s.backendid) as procpid, ...
分类:
其他好文 时间:
2014-07-01 17:35:56
阅读次数:
810
1操作系统接口os模块提供了一系列与系统交互的模块:>>> os.getcwd() # Return the current working directory'/home/minix/Documents/Note/Programming/python/lib1'>>> os.chdir('~/p....
分类:
编程语言 时间:
2014-07-01 14:07:44
阅读次数:
249
sd5:0:0:0:[sdd]Unhandledsensecodesd5:0:0:0:[sdd]Result:hostbyte=DID_OKdriverbyte=DRIVER_SENSEsd5:0:0:0:[sdd]SenseKey:MediumError[current][descriptor]Descriptorsensedatawithsensedescriptors(inhex):720311040000000c000a8000000000004c69a958sd5:0:0:0:[sdd]Add.Se..
分类:
其他好文 时间:
2014-07-01 09:55:07
阅读次数:
856