实用技巧 Archive

  • 从远程用 SSH 登录 FreeBSD 的时候,一直提示 Using keyboard-interactive authentication,即键盘交互认证模式,而不是传统的 password 模式。FreeBSD 5.3 起,默认sshd 的认证方式就是这个。 要更改登录方式只要做如下操作: 修改配置文件,把 /etc/ssh/sshd_config 中的 PasswordAuthentication 选项取消注释,并改成 yes...

    FreeBSD SSH远程登录方式更改

    从远程用 SSH 登录 FreeBSD 的时候,一直提示 Using keyboard-interactive authentication,即键盘交互认证模式,而不是传统的 password 模式。FreeBSD 5.3 起,默认sshd 的认证方式就是这个。 要更改登录方式只要做如下操作: 修改配置文件,把 /etc/ssh/sshd_config 中的 PasswordAuthentication 选项取消注释,并改成 yes...

    Continue Reading...

  •   To view a list and status of currently installed zones: —————————————————— # zoneadm list -vi ID NAME STATUS PATH...

    Generate a zone in Solaris 10 system

      To view a list and status of currently installed zones: —————————————————— # zoneadm list -vi ID NAME STATUS PATH...

    Continue Reading...

  • 你可能每天都使用信用卡,但你有没有想过你的信用卡号码究竟是如何产生?本文不是教你破解信用卡,只是叫你更了解每一个号码堂中的含意。你的信用卡号码是一个复合标识符组成,当中包含了发卡机构、账号、校验等。看看下图,冗长的号码被分解成单个组件,当你了解过后,就可以计算出其有效性任何信用卡号码。

    一张图教你拆解信用卡号码

    你可能每天都使用信用卡,但你有没有想过你的信用卡号码究竟是如何产生?本文不是教你破解信用卡,只是叫你更了解每一个号码堂中的含意。你的信用卡号码是一个复合标识符组成,当中包含了发卡机构、账号、校验等。看看下图,冗长的号码被分解成单个组件,当你了解过后,就可以计算出其有效性任何信用卡号码。

    Continue Reading...

  • 佳能的dpp不断在升级,官网上下载的又不能全新安装.在此提供的小方法,让大家能直接安装DPP的升级版 1.在电脑上,打开注册表编辑器(就是开始菜单,选”运行”,输入”regedit”), 2.找到 HKEY_LOCAL_MACHINE\SOFTWARE, 看看里边有没有一个叫Canon的分支,如果没有,右键建立一个”新建->项”. 如果有,直接到下一步. 3.在Canon项中,看是否有DPP一项,没有的话右键建立一个”新建->项”,输入”DPP” ok了,现在关掉注册表编辑器,你已经可以装升级版的DPP了 原理:升级版只是在直接安装的版本基础上,增加了一个安装前检查注册表的步骤,如果有HKEY_LOCAL_MACHINE\SOFTWARE\Canon\DPP就能装,没有就不行.所以我们只要让他有就好了

    直接安装Canon DPP升级版

    佳能的dpp不断在升级,官网上下载的又不能全新安装.在此提供的小方法,让大家能直接安装DPP的升级版 1.在电脑上,打开注册表编辑器(就是开始菜单,选”运行”,输入”regedit”), 2.找到 HKEY_LOCAL_MACHINE\SOFTWARE, 看看里边有没有一个叫Canon的分支,如果没有,右键建立一个”新建->项”. 如果有,直接到下一步. 3.在Canon项中,看是否有DPP一项,没有的话右键建立一个”新建->项”,输入”DPP” ok了,现在关掉注册表编辑器,你已经可以装升级版的DPP了 原理:升级版只是在直接安装的版本基础上,增加了一个安装前检查注册表的步骤,如果有HKEY_LOCAL_MACHINE\SOFTWARE\Canon\DPP就能装,没有就不行.所以我们只要让他有就好了

    Continue Reading...

  • 70-620 15% off 70-640 15% off 70-642 15% off 70-643 20% off 70-646 25% off 70-647 25% off Offer valid...

    Up to 25% off for MS Certification Exams

    70-620 15% off 70-640 15% off 70-642 15% off 70-643 20% off 70-646 25% off 70-647 25% off Offer valid...

    Continue Reading...

  • PHP正则表达式介绍: 1.中括号 [0-9]匹配0-9 [a-z]匹配a-z小写字母 [A-Z]匹配A-Z大写字母 [a-zA-Z]匹配所有大小写字母 可以使用ascii来制定更多 2.量词 p+匹配至少一个含p的字符串 p*陪陪任何包含0个或多个p的字符串 p?匹配任何包含0个或一个p的字符串 p{2}匹配包含2个p的序列的字符串 p{2,3}匹配任何包含2个或3个的字符串 p$匹配任何以p结尾的字符串 ^p匹配任何以p开头的字符串 [^a-zA-Z]匹配任何不包含a-zA-Z的字符串 p.p匹配任何包含p、接下来是任何字符、再接下来有又是p的字符串 ^.{2}$匹配任何值包含2个字符的字符串 (.*)匹配任何被包围的字符串 p(hp)*匹配任何一个包含p,后面是多个或0个hp的字符串

    PHP正则表达式介绍

    PHP正则表达式介绍: 1.中括号 [0-9]匹配0-9 [a-z]匹配a-z小写字母 [A-Z]匹配A-Z大写字母 [a-zA-Z]匹配所有大小写字母 可以使用ascii来制定更多 2.量词 p+匹配至少一个含p的字符串 p*陪陪任何包含0个或多个p的字符串 p?匹配任何包含0个或一个p的字符串 p{2}匹配包含2个p的序列的字符串 p{2,3}匹配任何包含2个或3个的字符串 p$匹配任何以p结尾的字符串 ^p匹配任何以p开头的字符串 [^a-zA-Z]匹配任何不包含a-zA-Z的字符串 p.p匹配任何包含p、接下来是任何字符、再接下来有又是p的字符串 ^.{2}$匹配任何值包含2个字符的字符串 (.*)匹配任何被包围的字符串 p(hp)*匹配任何一个包含p,后面是多个或0个hp的字符串

    Continue Reading...

  • Got an error in even log ton DC 2003 Google the problem and get a newsgroup post: “One of my...

    Windows Server Log: Event ID 12317 Source SRMSVC

    Got an error in even log ton DC 2003 Google the problem and get a newsgroup post: “One of my...

    Continue Reading...

  • When you try to install Powershell 2.0, you are prompted to uninstall other versions of Powershells before going ahead with...

    Uninstall Powershell 1.0

    When you try to install Powershell 2.0, you are prompted to uninstall other versions of Powershells before going ahead with...

    Continue Reading...

  • This problem is caused by the firmware not loading correctly. Follow the steps below to fix this: Note: This process...

    Power Light Blinking on the Linksys WRT54G

    This problem is caused by the firmware not loading correctly. Follow the steps below to fix this: Note: This process...

    Continue Reading...

  • Identify the Secondary Name Server Install DNS on the Secondary Name Server Configure the Forward Lookup Zone Configure the Reverse...

    Install a Secondary DNS in 2003 Domain

    Identify the Secondary Name Server Install DNS on the Secondary Name Server Configure the Forward Lookup Zone Configure the Reverse...

    Continue Reading...

Page 1 of 612345...Last »