Archive for March, 2007
删除SVN目录SHELL命令
很多时候,需要删除SVN工作目录下的.svn目录,常用的作法是用系统(Windows)自带的搜索功能,搜索出所有.svn目录(需要在“其他高级选项”中选中“搜索隐藏的文件和文件夹”),然后全选删除。这当然不是高效的作法,谁能忍受一遍又一遍重复这种纯体力的劳动?
Jon Galloway提供了一段注册表代码,可以将”Delete SVN Folders”命名增加到资源管理器的右键上,这样,鼠标点两下就能把选中目录下的所有.svn目录干掉了。Works just great!
代码为:
Windows Registry Editor Version 5.00
[HKEYLOCALMACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"
[HKEYLOCALMACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""
将这段代码保存为一个.reg文件,双击确认导入注册表即可。
出自: Jon Galloway : Shell Command - Remove SVN Folders
Shell Command - Remove SVN Folders
The Subversion source control client maintains your local state in hidden folders named .svn inside your project, which can be a problem if you want to copy or share the project directory. This REG file adds “Delete SVN Folders” to the context menu for folders. When you select it, it removes all folders named .svn inside the folder and it’s children (it does nothing if the project’s not under Subversion source control.
I’m not going to bother explaining reg file installation here - I figure if you’re using SVN, you’re good with reg files.
微软I’m慈善计划
转自:I’m
是微软最新的一个资助慈善组织的活动。你可以在你的 Windows Live Messenger 的昵称前加上一串特殊代码,以表示你支持九个慈善组织中的其中一个,而你的昵称前也会出现一个
的标志。
所有参加此活动的慈善组织都将在此活动的第一年获得最低10万美元的捐款,最高不限上额。而最高能达到多少,则取决于有多少人愿意在自己的昵称前加上该组织的代码。
所有的参与活动的慈善组织:
- American Red Cross ——
准备提供帮助,代码 = *red+u
- Boys & Girls Clubs of America ——
为孩子提供理想的环境,代码 = *bgca
- National AIDS Fund ——
与艾滋病(AIDS)抗争,代码 = *naf
- National MS Society ——
参与到解决多发性硬化症(MS)的运动,代码 = *mssoc
- ninemillion.org ——
帮助9百万流离失所的孩子,代码 = *9mil
- Sierra Club ——
探索和保护这个星球,代码 = *sierra
- StopGlobalWarming.org ——
阻止全球变暖,代码 = *help
- Susan G. Komen for the Cure ——
寻找乳腺癌的治愈方法, 代码 = *komen
- UNICEF ——
救助生死边缘徘徊的孩子,代码 = *unicef
点击各个组织后面的
图标进入各个慈善组织的介绍页,除了查询更为详细的介绍信息,还能下载微软为此次活动专门设计的 Windows Live Messenger 皮肤,各个组织各有一款。
最后,此次活动要求你的 Windows Live Messenger 版本要在 8.1 以上。







