<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Nana的荔枝园_分类_杂物堆</title><id>http://feed.cnblogs.com/blog/u/63191/category/279703/rss</id><updated>2012-05-28T07:05:32Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/category/279703.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/63191/category/279703/rss"/><entry><id>http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html</id><title type="text">另一种在字节数组和十六进制字符串之间转换的手段</title><summary type="text">几年前我使用国外的一个流行的Blog服务来撰写博文，但是因为一些众所周知的原因我打不开自己的博客了，于是才刚刚开始写博的我就不得不中断这种行为了，直到后来在园子重新开博。前几天我弄到了条VPN，一时兴起就翻出原来的博客来看，结果在上面找到了以前的一些小研究，其中之一便是标题所指的东西。用途什么的就不再废话了，总之在.NET编程中通常来说从字节数组到十六进制的转换是要用BitConverter.ToString，返回的字符串会包含减号/横线作为每个字节所对应的十六进制数之间的分隔符，不想看到的话就只能再Replace掉，而且BitConverter类名不能省略，用起来不怎么方便；从十六进制到字节</summary><published>2012-05-24T09:42:00Z</published><updated>2012-05-24T09:42:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2012/05/24/2516860.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/06/21/cnblogs-css-glitch.html</id><title type="text">园子的模板 CSS 有点小毛病</title><summary type="text">#green_channel a{/* ... 省略 ... */-moz-border-radius: 5px;-webkit-border-radius: 10px;-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);/* ... 省略 ... */}这段 CSS 是针对 Mozilla 和 WebKit 引擎的，所以其它浏览器认不出来。实际上 Opera 和 IE9 早就可以正确呈现这样的效果了，只要换成这样就可以了：#green_channel a{/* ...</summary><published>2011-06-21T07:49:00Z</published><updated>2011-06-21T07:49:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/06/21/cnblogs-css-glitch.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/06/21/cnblogs-css-glitch.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/06/16/regular-expression-that-validate-email-address-format.html</id><title type="text">两则用于验证 Email 地址的正则表达式</title><summary type="text">网络上所流传的大部分验证信箱格式的正则表达式往往会对一些实际上有效的信箱地址作出错误地判断，所以我参考 RFC 写了个比较完善的，可以用来对付几乎所有可能的信箱地址格式。</summary><published>2011-06-16T06:35:00Z</published><updated>2011-06-16T06:35:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/06/16/regular-expression-that-validate-email-address-format.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/06/16/regular-expression-that-validate-email-address-format.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html</id><title type="text">分享 Visual Studio 2010 扩展制作的心得：基本功能篇</title><summary type="text">在制作为 Visual Studio 2010 添加背景的扩展时遭遇了很多问题，现在我把这些问题以及解决的办法分享出来，希望能帮到同样对 Visual Studio 扩展感兴趣的同学。这一篇先说说“添加背景”这一基本功能的实现。</summary><published>2011-01-21T03:09:00Z</published><updated>2011-01-21T03:09:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/21/KyuuBackground-implementing-basic-functions.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html</id><title type="text">悄悄地进村，打枪的不要——KyuuBackground(原 ItaBackgroundKyuu)改造完成</title><summary type="text">增加 OptionPage 支持花了不少时间，只有 OptionPage 是不行的，还得改变装饰物的实现好随时响应设置的变化。改造的过程中又发现一个之前没注意到的问题，改变缩放比例会导致背景图案错位……为了修正这个问题也花了好几个小时去研究，最后用了一些算不上太漂亮的办法让它勉勉强强看不出来。我把它扔到了 Visual Studio 资源库上，下载页面的链接是http://visualstudiogallery.msdn.microsoft.com/zh-cn/2d4f653f-262a-4d3a-b42c-c6f8e35e777e。技术细节什么的等精神好的时候再补吧。</summary><published>2011-01-18T18:24:00Z</published><updated>2011-01-18T18:24:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/19/KyuuBackground-rc-1.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934785.html</id><title type="text">【备忘】ASP.NET MVC 2 是怎么样支持 ASP.NET 4 的自动 HTML 转移的 —— TypeBuilder 的利用</title><summary type="text">http://msdn.microsoft.com/en-us/library/dd394709.aspxhttp://aspnet.codeplex.com/releases/view/41742</summary><published>2011-01-13T09:59:00Z</published><updated>2011-01-13T09:59:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934785.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934785.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934730.html</id><title type="text">【备忘】とある画像の自动生成</title><summary type="text">好吧，这是 IE Only 的版本，我是用在一个 MSHTA 工具里面的。</summary><published>2011-01-13T08:59:00Z</published><updated>2011-01-13T08:59:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934730.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934730.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934687.html</id><title type="text">【备忘】ASP.NET 输出缓存导致 HttpModule 产生双重压缩</title><summary type="text">http://forums.asp.net/p/1539558/3748425.aspx...The solution I happened upon was to hook into the pipeline later on (PreSendRequestHeaders or ReleaseRequestState rather than BeginRequest). This solution is implemented in theblowery compression module. I gave it a shot and suddenly things started work</summary><published>2011-01-13T08:31:00Z</published><updated>2011-01-13T08:31:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934687.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934687.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934663.html</id><title type="text">【备忘】想从 Bitmap 得到 BitmapSource 还真麻烦</title><summary type="text">http://www.codeproject.com/KB/WPF/BitmapToBitmapSource.aspx</summary><published>2011-01-13T08:18:00Z</published><updated>2011-01-13T08:18:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934663.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934663.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934640.html</id><title type="text">【备忘】大概是拿来生成静态文件的吧</title><summary type="text">public static void RenderView&lt;T&gt;(this ControllerContext ctxt, string viewPath, string masterPath, TextWriter tw, T model){ var view = new WebFormView(viewPath, masterPath); var vctxt = new ViewC...</summary><published>2011-01-13T08:00:00Z</published><updated>2011-01-13T08:00:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934640.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/13/1934640.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2011/01/01/insert-flash-content-by-bbs-code.html</id><title type="text">【备忘】一段用于在论坛上插入Flash内容的JavaScript代码</title><summary type="text">这是我去年年初给我的一个朋友写的，不过后来因为种种原因没有利用上。时间相隔了近一年，也不记得会不会有什么细节问题了，先bia上再说。</summary><published>2011-01-01T05:42:00Z</published><updated>2011-01-01T05:42:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2011/01/01/insert-flash-content-by-bbs-code.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2011/01/01/insert-flash-content-by-bbs-code.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/27/1917776.html</id><title type="text">【备忘】按给定几率进行随机抽取</title><summary type="text">没啥技术含量的随机抽取</summary><published>2010-12-27T03:19:00Z</published><updated>2010-12-27T03:19:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/27/1917776.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/27/1917776.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/23/1915252.html</id><title type="text">【备忘】T-SQL XML查询：从UDF返回、展开为行集、再将所有行集合并</title><summary type="text">两次cross apply：一次cross apply，但被选择的列不能省略：</summary><published>2010-12-23T12:41:00Z</published><updated>2010-12-23T12:41:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/23/1915252.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/23/1915252.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913328.html</id><title type="text">【备忘】JavaScript 中的字符串转义等</title><summary type="text">var spcEsc = { '\x00': "x00", '\n': "n", '\r': "r", '\u8232': "u2028", '\u8233': "u2029"};var escStr = /[\x00\n\r"'\\\u2028\u2029]/g;//var escRX = /[-$^.[\]()?+*{}\\\/|\x00\r\n\u2028\u2029]/g;// $()*+ </summary><published>2010-12-21T22:08:00Z</published><updated>2010-12-21T22:08:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913328.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913328.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913326.html</id><title type="text">【备忘】用于过滤空白字符的几种常见的正则表达式pattern——在JavaScript中的表现形式</title><summary type="text">注意：列出的代码只是为了方便程序处理而采用了正则表达式的语法，但实际上并不是可以直接用于过滤的正则表达式。根据实际的使用情况，可能需要增加“g”等标志，或者进一步加工成更复杂的正则表达式。</summary><published>2010-12-21T21:25:00Z</published><updated>2010-12-21T21:25:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913326.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/22/1913326.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/NanaLich/archive/2010/12/20/t-sql-base64.html</id><title type="text">【备忘】SQL Server的一个有意思的功能</title><summary type="text"/><published>2010-12-20T07:27:00Z</published><updated>2010-12-20T07:27:00Z</updated><author><name>Nana's Lich</name><uri>http://www.cnblogs.com/NanaLich/</uri></author><link rel="alternate" href="http://www.cnblogs.com/NanaLich/archive/2010/12/20/t-sql-base64.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/NanaLich/archive/2010/12/20/t-sql-base64.html"/><content type="html"/></entry></feed>
