response.buffer=false
'为防止程序陷入死循环,初始化一些最大重试值
Dim MaxPassLen,MaxPassAsc
MaxPassLen=20 '密码最大长度
MaxPassAsc=20
'==== 字符转换
Function bytes2BSTR(vIn)
strReturn = ""
For j = 1 To LenB(vIn)
Th...
分类:
其他好文 时间:
2014-05-12 14:47:40
阅读次数:
327
原文第14章 命令模式(Command Pattern)命令模式(Command
Pattern) 概述
在软件系统中,“行为请求者”与“行为实现者”通常呈现一种“紧耦合”。但在某些场合,比如要对行为进行“记录、撤销/重做、事务”等处理,这种无法抵御变化的紧耦合是不合适的。在这种情况下,如何将“行....
分类:
其他好文 时间:
2014-05-12 08:35:12
阅读次数:
321
ServerStatus返回信息ServerStatus返回mongodb中很多信息http://docs.mongodb.org/manual/reference/command/serverStatus/目录ServerStatus返回信息...
11.实例信息... 12.锁... 13.全局...
分类:
数据库 时间:
2014-05-12 06:05:36
阅读次数:
694
题目描述Jim is boss of a big company . There are so
many workers in his company that it will take a long time for his command send
to all of his workers ....
分类:
其他好文 时间:
2014-05-12 04:51:29
阅读次数:
307
本文首先发布在
CSDN的文章编辑器实在太烂了,建议大家用Cmd Markdown。它不但支持markdown,还支持VIM模式。
智能化的命令行工具-betty
betty tool command ruby
betty 是一个用Ruby实现的非常简单,好玩的智能化命令行提示工具。主要解决的问题是将英文翻译成机器可以理解的unix命令。在它的官方文...
分类:
其他好文 时间:
2014-05-11 20:00:09
阅读次数:
355
Whenyouexecuteaunixshell-scriptorcommandthattakesalongtime,youcanrunitasabackgroundjob.Inthisarticle,letusreviewhowtoexecuteajobinthebackground,bringajobtotheforeground,viewallbackgroundjobs,andkillabackgroundjob.1.ExecutingabackgroundjobAppendinganampersan..
分类:
其他好文 时间:
2014-05-11 19:35:31
阅读次数:
484
ArticlebyAlexioBashpublishedonhiswebsiteaboutArchLinuxinitalian.Knowwhatishappeningin“realtime”onyoursystemsisinmyopinionthebasistouseandoptimizeyourOS.OnArchLinuxorbetteronGNU/Linuxingeneralthetopcommandcanhelpus,thisisaveryusefulsystemmonitorthatisreall..
分类:
系统相关 时间:
2014-05-11 19:30:22
阅读次数:
546
在使用D3D开发游戏的过程中,很多情况下都会用到depth
buffer来完成特定的效果,比如DOF,Shadows,SSAO等等。在这些情况下我们就可能需要预览depth
buffer来确定它是正确的,以免导致后续运算渲染出错。此时有一个问题就出现了,因为原始的depth buffer中保存的de...
分类:
其他好文 时间:
2014-05-11 18:01:02
阅读次数:
315
C++中打开文件的方法。
1.system();
函数原型: int system(char *command);
作用:发出一个DOS命令。
特点:该函数是同步的,不灵活。
2.WinExec()
3.ShellExecute()
4.CreateProcess()
{CSDN:CODE:337983}...
分类:
其他好文 时间:
2014-05-11 14:28:00
阅读次数:
334
功能:任意输入一个字符串,去掉其中的空格后反序输出
编译器使用的是MASMPlus
;#Mode = DOS
MAXLEN = 64 ;设置字符串的最大长度
SPACE = ' ' ;空格
datasg segment
buffer db MAXLEN+1,0,MAXLEN+1 dup(0) ;字符串输入缓冲区
string db MAXLEN+3 dup(0)...
分类:
其他好文 时间:
2014-05-11 14:25:57
阅读次数:
353