海鸥航迹

学习之笔记,好文之收集。

09 2010 档案

Redistributing an Application and Binding It to Specific Libraries
摘要: Visual Studio 2008 Updated: July 2008 The libraries for Visual Studio often are updated after a release. For example, this can occur when you install a service pack. Applications that are designed wit...阅读全文

posted @ 2010-09-19 20:56 海天一鸥 阅读(50) | 评论 (0) 编辑

屏蔽DNS劫持弹出的广告
摘要: 最近家里宽带上网,总是弹出来自http://221.174.50.131 的广告,查询这个网站,却又无法访问。刚开始还怀疑电脑病毒或恶意软件,结果家里能上网的设备都如此,看样子时宽带提供商的干活! 要屏蔽这些广告,如果使用IE的话,只需要将他们加入受限站点; 如果是firefox,使用AdBlock可以拦截一部分。 要一劳永逸,可以考虑将对这个IP的访问进行路由禁止:阅读全文

posted @ 2010-09-18 13:35 海天一鸥 阅读(293) | 评论 (0) 编辑

精彩批处理代码
摘要: 接收键盘输入字符串的程序 :: Get user input - includes error check@echo offecho e102'set %%1='> %temp%.\t1.datfor %%? in (w q) do echo %%?>> %temp%.\t1.dat:inputecho.echo Type input:FC con nul /lb1 /n |FI...阅读全文

posted @ 2010-09-12 10:02 海天一鸥 阅读(65) | 评论 (0) 编辑

%cd% 于%~dp0的差别
摘要: %cd% is available either to a batch file or at the command prompt and expands to the drive letter and path of the current directory (which can change e.g. by using the CD command) %~dp0 is only availa...阅读全文

posted @ 2010-09-12 09:57 海天一鸥 阅读(141) | 评论 (0) 编辑

详细的DOS命令和符合说明
摘要: 1 echo 和 @回显命令@         #关闭单行回显echo off      #从下一行开始关闭回显@echo off      #从本行开始关闭回显。一般批处理第一行都是这个echo on       #从下一行开始打开回显echo        #显示当前是 echo off 状态还是 echo on 状态echo.       #输出一个”回车换行”,空白行 #(同echo, e...阅读全文

posted @ 2010-09-12 00:34 海天一鸥 阅读(407) | 评论 (1) 编辑

命令行启动java程序不显示控制台窗口
摘要: 关键:start javaw –jar xxx.jar 一个例子: ============================================= @ECHO OFF REM "zcx eclipse help script" set ehome="f:\eclipse" pushd %ehome% if "%1" == "start" ( explorer http://localh...阅读全文

posted @ 2010-09-12 00:05 海天一鸥 阅读(417) | 评论 (0) 编辑

ICE slice 文档生成命令
摘要: cd /d C:\Ice-3.3.1\slice slice2html -I.\ --ice .\Ice\*.ice .\Freeze\*.ice .\Glacier2\*.ice .\IceBox\*.ice .\IceGrid\*.ice .\IcePatch2\*.ice .\IceStorm\*.ice Technorati 标签: ice阅读全文

posted @ 2010-09-10 23:08 海天一鸥 阅读(81) | 评论 (0) 编辑

公式编辑,拖拽后如何保持变量不变--$
摘要: Excel在单元格横向或纵向拖动的时候,会对数字基于前一单元格自动 +1 即使该单元格是函数,函数里的参数也是同样的情况。 问题:是否能指定其中一个函数自动 +1而其它参数值保持原来的样子呢? 例如:A1:A10 为1:10,B2:B10想得到A2-A1,A3-A1,A4-A1...,A10-A1的值。此时在A2单元格中编辑公式,A2-A1并向下拖拽后,A3单元格内公式自动生成为A3-A...阅读全文

posted @ 2010-09-10 11:40 海天一鸥 阅读(321) | 评论 (0) 编辑

VS2010 未修复BUG:'_ITERATOR_DEBUG_LEVEL': value '2'
摘要: Static Library Dependencies in Visual Studio 2010 I've been porting my Visual Studio 2008 C++ application to Visual Studio 2010. One rough spot I've hit is the change in how static library dependen...阅读全文

posted @ 2010-09-05 21:31 海天一鸥 阅读(1121) | 评论 (1) 编辑