by agate - Published: 2010-04-11 [10:00 上午] - Category: 开发环境, 系统操作

这几天疲惫于在 ubuntu 和 windows 环境下的来回切换(虽然 ubuntu 已经让我对 linux 的桌面环境刮目相看了, 但是还是有诸多的不便...). 同时也在公司里头使用了多个月的 MAC OS X. 总体还是感觉:
* windows 是让我使用起来最舒服的系统
* linux 是让我开发最舒服的系统
* mac 是让我最赏心悦目的系统.

所以呢, 如果工作我会选择 linux (呵呵我是程序员呀). 如果平时上网生活我还是喜欢 windows (丰富的应用程序). 但是我不会选择 mac (软件没有 windows 多, 问题虽然比 linux 少得多, 但是碰到问题想要找解决方案也比 linux 难得多)

于是我又回到了 windows + linux 的时代. 但是人总是要进步的呀. 过去我老是傻乎乎地装一个 desktop version 的 ubuntu 虚拟机, 然后在虚拟机中操作 ubuntu. 卡得不行不说还浪费内存. 于是想到是不是可以直接只用 linux 的命令行, 就想在公司开发那样. 于是我查了一些文档, 找到了一种方式可以不启动图形化的 virtualbox 直接以 daemon 的方式启动的方法, 再装一个 ubuntu server version. 可以减小很多的内存使用. 方法就是在命令行中键入:

"c:\Program Files\Sun\VirtualBox\VBoxHeadless.exe" -s SERVER_NAME -v off

但是仅仅这样的话你还是会看到一个 cmd 的窗口. 如果你想让它就在背后安静地运行你还可以写一个 VB Script 来放到启动项里让 ubuntu server 跟你的电脑一起启动(linux 和 windows 合二为一咯)

' 创建一个文件叫做 start_server.vbs 内容如下
CreateObject("Wscript.Shell").run """C:\Program Files\Sun\VirtualBox\VBoxHeadless.exe"" -s SERVER_NAME -v off",0

当然更重要的是 virtualbox 还可以使用 shared folder 来共享文件.

至少目前这样的系统配置是让我感觉最舒服的, 开着迅雷电驴, 聊着QQ和MSN, 逛着淘宝, 和朋友视频, 想到点子了就开上 PuTTY 开发一下看看效果. 反正我一直是觉得程序员的生活是离不开写程序的即便是在最舒服的家里. 突然摆脱了系统的切换, 好惬意 :)

Tags: [ , , ] - Comments: View Comments
by agate - Published: 2008-04-14 [9:07 下午] - Category: 系统操作

Replacer is an easy to use system file replacer for Windows 2000 and XP. It safely replaces protected or in-use system files.

This is the description on the Replacer's WebSite. Here is the download link for the stable version.

There is two way to use this bat tool.

1. double click the file "Replacer.bat". and follow the tips to replace you system file.

2. use the text script file.
replace file is:
;; ReplacerScript
xxxxx.xxx, yyyyy.yyy
---------------------
restore file is:
;; ReplacerScript
xxxxx.xxx,Restore

more use information please check out the website.

Tags: [ , , ] - Comments: View Comments