<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_♨  NewSea#'s Sky_分类_开源，底层，工具</title><id>http://feed.cnblogs.com/blog/u/21750/category/133493/rss</id><updated>2012-06-04T23:37:33Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/category/133493.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/21750/category/133493/rss"/><entry><id>http://www.cnblogs.com/newsea/archive/2012/05/28/2521368.html</id><title type="text">利用宏，转换Json数据格式。</title><summary type="text">IE9+，Chrome ，会按Json的Key排序。 这个做法，对需要顺序的数据来说，是个灾难。自定义一个格式，进行数据传递，格式如下：1. 字符串2. 没有树级结构。3. 没有 { } 标志。4. 每一个对象用 “，” 分隔。5. 每一个键值对用 “：” 分隔。如原Json : { "Id": 1 , "Name": “张三” }转换后： "Id:1,Name:张三“Sub Json2MyStringJson() Dim strJson As String Dim ja As String() 'json array Dim jsa </summary><published>2012-05-28T07:11:00Z</published><updated>2012-05-28T07:11:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/05/28/2521368.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/05/28/2521368.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2012/05/23/2514891.html</id><title type="text">[转]利用正则表达式，统计代码行数。</title><summary type="text">真是个牛B的想法。原文：http://blog.csdn.net/pyliang_2008/article/details/7406459按CTRL+SHIFT+F (Find in files)，勾上支持正则表达式，然后输入搜索内容：^:b*[^:b#/]+.*$#开头和/开头或者空行都不计入代码量。如果需要只统计代码文件的代码量，可以选择查找文件的类型，比如什么*.xml, *.resx….可以不检查，只查*.cs,*.c,*.h…搜索出来以后最后一行就是代码行数了。</summary><published>2012-05-23T07:44:00Z</published><updated>2012-05-23T07:44:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/05/23/2514891.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/05/23/2514891.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2012/04/28/2474818.html</id><title type="text">[转]SVN操作手册</title><summary type="text">原文：http://hi.baidu.com/caiqiupeng/blog/item/2ce2e9df55284e1a622798fa.html1.为什么要用VisualSVN Server，而不用Subversion？回答：因为如果直接使用Subversion，那么在Windows 系统上，要想让它随系统启动，就要封装SVN Server为windws service，还要通过修改配置文件来控制用户权限，另外如果要想以Web方式【http协议】访问，一般还要安装配置Apache，如果是新手，岂不是很头痛？而VisualSVN Serve集成了Subversion和Apache，省去了以上所</summary><published>2012-04-28T03:26:00Z</published><updated>2012-04-28T03:26:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/04/28/2474818.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/04/28/2474818.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2012/04/17/2454038.html</id><title type="text">试用 CouchBase。</title><summary type="text">Memcached 问世以来，风声水起，也不断更新着，当初只是做分布式缓存， 到 MemBase ，已经是可以分布式缓存+存储机制的产品了。 最后听说与 CouchDb 合并成了： CacheBase 。试用了一下，效果不错。CacheBase网址：下载服务器端和客户端：http://www.couchbase.com/download教程：http://www.couchbase.com/docs/couchbase-sdk-net-1.0/getting-started.html按照例子做了一个。服务器界面很舒服。例子的配置文件 需要把 servers 的 bucket (桶？) 和 bu</summary><published>2012-04-17T09:32:00Z</published><updated>2012-04-17T09:32:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/04/17/2454038.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/04/17/2454038.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2012/04/04/2432388.html</id><title type="text">常用工具</title><summary type="text">1. 图标资源http://www.easyicon.cn/2. 图片PNG瘦身工具http://icolaice.blogbus.com/logs/189492853.html需要下载下面两个文件http://jedisthlm.com/2006/03/16/manfred-a-pngquant-gui/http://prdownloads.sourceforge.net/png-mng/pngquant-0.95-win32.zip?download3.</summary><published>2012-04-04T13:24:00Z</published><updated>2012-04-04T13:24:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/04/04/2432388.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/04/04/2432388.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2012/03/23/2414366.html</id><title type="text">开发笔记，Excel VBA。</title><summary type="text">1. 取得所有的Sheet，并在当前单元格上列出 Sub GetAllSheets() For i = 1 To Sheets.Count ActiveCell.Offset(1, 0).Range("A1").Select ActiveCell.Value = Sheets(i).Name Next iEnd Sub2. 在上面的基础上，加上链接：Sub GetAllSheets() For i = 1 To Sheets.Count ActiveCell.Offset(1, 0).Range("A1").Se...</summary><published>2012-03-23T14:25:00Z</published><updated>2012-03-23T14:25:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2012/03/23/2414366.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2012/03/23/2414366.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/12/20/2294703.html</id><title type="text">使用 WPS中粘贴VS里的代码,并整理格式</title><summary type="text">从 VS 粘贴到 WPS 或 Word中,代码会惨不忍睹.几个月前,Word打开时总安装几分钟的东西,跟SB一样,忍无可忍,换了WPS.今天同样忍无可忍,决定搞定它.不让它如此烦人.选中代码 , WPS 里 开始-&gt;文字工具-&gt;智能格式整理.搞定.WPS就如此简单,如此小巧,如此智能(没弹出安装,比Word智能100000000倍.) 太帅了.</summary><published>2011-12-20T06:58:00Z</published><updated>2011-12-20T06:58:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/12/20/2294703.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/12/20/2294703.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/12/09/2282516.html</id><title type="text">安装 Microsoft Silverlight 4 Tools for Visual Studio 2010 时报错 的解决办法.</title><summary type="text">安装Microsoft Silverlight 4 Tools for Visual Studio 2010 时报错:安装需求:必须先安装与 Silverlight Tools 4 语言版本相一致的 Visual Studio 2010、Visual Web Developer 学习版 2010 或 Visual Phone Developer 学习版 2010，Silverlight Tools 的安装才能继续。以下网址提供了其他语言版本的 Silverlight Tools: &lt;A HREF="http://go.microsoft.com/fwlink/?LinkId=1</summary><published>2011-12-09T09:18:00Z</published><updated>2011-12-09T09:18:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/12/09/2282516.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/12/09/2282516.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/11/05/2237113.html</id><title type="text">垃圾软件列表</title><summary type="text">第一名： PowerDesigner。 低级用户众多。完全没必要存在。第二名： iBatis 它什么都没做，而且配置超级复杂。其它：Oracle 开放给客户而非开发放给开发者，大小写问题从未规范。Office 相比 WPS ， 它的产品太大了，无故的提示安装，和 SB一样。VSS SVN完胜。IE 用VS调试，IE会卡死FireFox Chrome 完胜, 版本一个月一个, 脑袋让驴踢了. 要命的是, Copy URL , Close FireFox , 它居然清空剪贴板, 我顶你个肺.</summary><published>2011-11-05T08:11:00Z</published><updated>2011-11-05T08:11:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/11/05/2237113.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/11/05/2237113.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/05/12/2044250.html</id><title type="text">借助 FireBug 进行轻量级代码自动生成。</title><summary type="text">前段时间遇到 存储过程传值时， 把 “” 变成 “ ” 在 Sql server 里 借助 正则表达式，比较麻烦。 写程序同样。借助 FireBug 。 $(["@UserId","@Company","@Project","@Building","@Room","@Reporter","@Phone","@PageIndex","@PageSize","@OrderField","@O</summary><published>2011-05-12T05:09:00Z</published><updated>2011-05-12T05:09:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/05/12/2044250.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/05/12/2044250.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/04/18/2019677.html</id><title type="text">内存盘配置IIS临时目录</title><summary type="text">http://www.cnblogs.com/atomsoft/archive/2009/08/04/1538439.html#1973906安装 VSuite Ramdisk (Free Edition)但安装 RAMDisk 更好。原文：【内存变硬盘】技术详解 用内存装系统 也可做缓存盘+图解http://www.deepin.org/thread-1786865-1-1.html-----------------------------------------------------------------------配置 matchine.config .C:\WINDOWS\Micr</summary><published>2011-04-18T03:32:00Z</published><updated>2011-04-18T03:32:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/04/18/2019677.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/04/18/2019677.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/03/06/1972349.html</id><title type="text">[转]位运算</title><summary type="text">原文:http://www.cnblogs.com/c2303191/articles/914074.html?login=1#commentform5.按位逻辑运算的应用例3-8：设intx=7，求y=~xy=~x=~7=~(0000,0000,0000,0111)=1111,1111,1111,1000=-8可见，对x的值(7)按位求反结果恰为-8的补码表示，其原因是计算机中有：整数求负＝整数求补＝按位求反＋１所以：按位求反＝整数求负－１。请注意求反运算与单目减和逻辑非运算的区别：y=-x;结果为：y=-7，y=!x;结果为：y=0。例3-9：用按位与运算屏蔽特定位（将指定位清为０）。</summary><published>2011-03-06T08:25:00Z</published><updated>2011-03-06T08:25:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/03/06/1972349.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/03/06/1972349.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2011/03/04/1971157.html</id><title type="text">dos 技巧</title><summary type="text">想找一个列出当前目录下所有的 *.js 文件,能导入Excel 进行操作的干净的内容.发现 dir 早有的功能.dir *.js /s/b不错.</summary><published>2011-03-04T10:31:00Z</published><updated>2011-03-04T10:31:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2011/03/04/1971157.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2011/03/04/1971157.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/11/14/1876953.html</id><title type="text">VS.Net 正则表达式.</title><summary type="text">VS.Net 里的 正则表达式是用 {} 来捕获分组. 用 \1 \2 来获取分组内容的.</summary><published>2010-11-14T05:44:00Z</published><updated>2010-11-14T05:44:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/11/14/1876953.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/11/14/1876953.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/10/19/1855502.html</id><title type="text">CS0016 一个解决方案:</title><summary type="text">今天上午发现网站起动不起来.CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ipms\a79a7669\becfa694\App_global.asax.5uiczwhf.dll”--“目录名称无效。但是用 VS2010 自带的 WebD...</summary><published>2010-10-19T05:52:00Z</published><updated>2010-10-19T05:52:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/10/19/1855502.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/10/19/1855502.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/10/11/1848087.html</id><title type="text">Copy 连接UTF8文件的Bug.</title><summary type="text">被 Dos 命令的Copy害惨了.UTF8 文件在二进制存储结构上以 “FF FE”开始.所以,连接Utf8文件用二进制连接的话,会在每一个文件开头都加入 "FF FE".自行实现连接文件.C# Or Js脚本.COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B] [+ source [/A | /B...</summary><published>2010-10-11T09:28:00Z</published><updated>2010-10-11T09:28:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/10/11/1848087.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/10/11/1848087.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/07/29/1787993.html</id><title type="text">Viso问题及技巧。</title><summary type="text">原文地址： http://dingyu.me/blog/posts/view/flowchart-howtos用MS的东西。有时很舒服，有时也很晕。 因为它几乎做成什么样，你就用什么样。 对于很挑剔的我们来说，它需要修改但是不能修改的东西太多了。上面文章列了一些Viso心得，形状。Viso 最大的问题是默认字体是 8Pt ， 想把 《流程》形状改为 10 Pt，你需要：1.新建模具2.把形状拖入到...</summary><published>2010-07-29T08:03:00Z</published><updated>2010-07-29T08:03:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/07/29/1787993.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/07/29/1787993.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/06/23/1763502.html</id><title type="text">Win7,未识别的网络,设置为工作网络, 使客户端机器能访问该Win7.</title><summary type="text">只保留该连接,把其它的连接断掉.在&lt;查看网络基本信息并设置连接&gt;中点 未识别网络.弹出对话框,问: 设置现有连接为专用网络. 还是打开公共网络连接的 文件发现 ? 先第一个. OK.如果有多个网络,就很不方便,有没有人知道更简单的方法 ,或者有个小工具啥的.</summary><published>2010-06-23T04:46:00Z</published><updated>2010-06-23T04:46:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/06/23/1763502.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/06/23/1763502.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/06/17/1759378.html</id><title type="text">SourceGear Vault 3.1.5 客户端在 Win7 不兼容.</title><summary type="text">有文章说在 Win7 上双击文件夹会在新窗口打开: http://www.cnblogs.com/Ewait/archive/2009/09/19/1570233.html确实如此. 而些, VS2010 也会打不开. 报错: Microsoft Visual Studio 遇到了问题, 需要关闭.太郁闷了. 搞了好长时间.以为是中毒 .最新版官方下载: http://www.sourcegear...</summary><published>2010-06-17T02:28:00Z</published><updated>2010-06-17T02:28:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/06/17/1759378.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/06/17/1759378.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/newsea/archive/2010/06/02/1749831.html</id><title type="text">[转]StarUML 启动时候出现&amp;quot;System Error. Code:1722. RPC服务器不可用.&amp;quot;错误的解决办法</title><summary type="text">StarUML是用得很顺手的UML工具,但是启动时候每次都会出现"System Error. Code:1722. RPC服务器不可用."错误.一般来说这个应该是某个Windows服务没有打开所导致的问题.后来才发现:原来是Print Spooler这个服务没有启动,只要启动这个服务就可以了,启动StarUML的时候就不会报错了.</summary><published>2010-06-02T03:14:00Z</published><updated>2010-06-02T03:14:00Z</updated><author><name>NewSea.</name><uri>http://www.cnblogs.com/newsea/</uri></author><link rel="alternate" href="http://www.cnblogs.com/newsea/archive/2010/06/02/1749831.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/newsea/archive/2010/06/02/1749831.html"/><content type="text">StarUML是用得很顺手的UML工具,但是启动时候每次都会出现"System Error. Code:1722. RPC服务器不可用."错误.一般来说这个应该是某个Windows服务没有打开所导致的问题.后来才发现:原来是Print Spooler这个服务没有启动,只要启动这个服务就可以了,启动StarUML的时候就不会报错了.</content></entry></feed>
