上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页

2014年3月18日

摘要: Launch Regedit. #r -> regedit 1. Navigate to: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\winlogon Set: AutoAdminLogon = 1 (1 means enable auto login, 0 means disable it.) Tip: T... 阅读全文
posted @ 2014-03-18 08:10 leechau 阅读(216) 评论(0) 推荐(0)
摘要: Workflow of Unit Test without Coberturacompile source code;compile test code;run unit test;Workflow of Uniit Test with Coberturacompile source code;instrument source code;compile test code based on in... 阅读全文
posted @ 2014-03-18 08:10 leechau 阅读(82) 评论(0) 推荐(0)
摘要: Mandatory authenticaion: login as Administrator, Settings -> Authentication -> Check "Authentication required", set "Autologin" as "disabled";Hide Bitnami landing page: modify the of file $REDMINE_HO... 阅读全文
posted @ 2014-03-18 08:10 leechau 阅读(222) 评论(0) 推荐(0)
摘要: 下面的脚本演示了在Ubuntu上安装expect,写一个切换用户的expect脚本,并运行脚本看到效果的过程。root@guserver:~# apt-get install expect godu@guserver:~$ cat su.exp #!/usr/bin/expect set timeout 20 set user [lindex $argv 0] set password ... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(232) 评论(0) 推荐(0)
摘要: user=> (doc repeatedly)clojure.core/repeatedly ([f] [n f]) Takes a function of no args, presumably with side effects, and returns an infinite (or length n if supplied) lazy sequence of calls to it ... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(143) 评论(0) 推荐(0)
摘要: 控制反转(Inversion of Control, IoC)的主要作用是为软件模块解耦,增加可测性,提高模块内部聚合性,依赖注入(Dependency Injection, DI)是IoC的一种特殊形式,Benjamin J Evans: The Well-Grounded Java Developer, Chapter 3: Dependency Injection 很好地解释了什么是依赖注入... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(121) 评论(0) 推荐(0)
摘要: According to "Pro Puppet" 2nd edition, Chapter 2, "Creating a Module to Manage SSH". 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(87) 评论(0) 推荐(0)
摘要: 装好Ubuntu Server 12.04后,用apt-get安装telnetd报"E: Unable to locate package telnetd",解决方法如下:虚拟机采用NAT方式与主机连接;sudo apt-get update(更新apt-get的软件源)sudo apt-get install telnetdsudo /etc/init.d/openbsd-inetd resta... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(1892) 评论(0) 推荐(0)
摘要: 在Win7上用Visual Studio编译putty源代码。安装vs2005,只安装c++和.net framework sdk即可; 将putty-src.zip解压到e:\MyDoc\VSProjects\Putty下;用vs2005打开e:\MyDoc\VSProjects\Putty\WINDOWS\MSVC\PUTTY.DSW;打开C:\Program Files\Microsoft ... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(1018) 评论(0) 推荐(0)
摘要: Install$ sudo aptitude install awesomeBuild from source$ aria2c -s 5 http://awesome.naquadah.org/download/awesome-3.5.2.tar.bz2$ tar jxf awesome-3.5.2.tar.bz2$ cd awesome-3.5.2$ sudo aptitude install ... 阅读全文
posted @ 2014-03-18 08:09 leechau 阅读(168) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页

导航