<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/hailongchang" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/hailongchang" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 18 Mar 2009 16:56:00 GMT</lastBuildDate><title>常海龙的blog</title><description>A day is a miniature of eternity</description><link>http://blog.csdn.net/hailongchang/</link><item><title>用程序网上投票参赛获奖</title><link>http://blog.csdn.net/hailongchang/archive/2009/03/18/4001911.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/4001911.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/4001911.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4001911</trackback:ping><description>用一个自动投票程序参加佳能星光宝贝大赛最终获奖&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/4001911.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 19 Mar 2009 00:56:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2009/03/18/4001911.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2009/03/18/4001911.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>用shell脚本批量连续更改FreeBSD主机ip</title><link>http://blog.csdn.net/hailongchang/archive/2009/02/03/3859930.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3859930.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3859930.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3859930</trackback:ping><description>年前写过一个自动投票的小程序，因为对方的网站限制为一个ip地址一天只能投10票，所以这个自动投票的程序在设计初期主要是通过代理服务器投票，后来同事提供了局域网内的30个ip地址，虽然自动投票的代码已经完成了，但是在windows下手动更改ip，真的很累人，而windows的WMI编程又不会，最后找到一台不用的FreeBSD机器，写了个脚本，并配置为每天凌晨12点后运行，效果很好。&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3859930.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 03 Feb 2009 20:01:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2009/02/03/3859930.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2009/02/03/3859930.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>Unix下UTF-8和GB2312互相转换的函数</title><link>http://blog.csdn.net/hailongchang/archive/2008/12/24/3596523.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3596523.aspx</wfw:comment><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3596523.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3596523</trackback:ping><description>在windows下进行utf-8和gb2312相互转化的代码网上流传了很广了,因为实现里面使用了两个windows函数 (WideCharToMultiByte 和 MultiByteToWideChar)，在Unix下编程就没有办法使用了，上网google研究了下，发现在Unix下就是对iconv库功能的调用，非常简便。&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3596523.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 24 Dec 2008 22:26:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/12/24/3596523.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/12/24/3596523.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>隐藏Windows系统托盘图标(改进版)</title><link>http://blog.csdn.net/hailongchang/archive/2008/12/10/3490353.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3490353.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3490353.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3490353</trackback:ping><description>在上一篇文章中，写了一个sample，用于隐藏图标，但是有网友提出，能不能在程序界面上显示当前的托盘图标，这样更直观一些。这一点我也曾想到过，也知道奥秘就在TBBUTTON这个结构体的dwData域里面，可惜这个域的结构在MSDN中没有描述。我也曾试着发送TB_GETIMAGELIST消息获取image list的句柄，然后用CImageList::FromHandle加载到CImageList中，但却都失败了。在csdn网友的帮助下，我弄清了dwData的结构，并据此改进了程序。&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3490353.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 10 Dec 2008 22:17:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/12/10/3490353.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/12/10/3490353.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>隐藏Windows系统托盘图标</title><link>http://blog.csdn.net/hailongchang/archive/2008/12/05/3454569.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3454569.aspx</wfw:comment><slash:comments>6</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3454569.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3454569</trackback:ping><description>曾经写过一篇Windows下的任务栏图标编程，其实那篇文章讲的是如何将我们自己的程序最小化到任务栏并进行操作的编程方法。前两天看到论坛里有人讨论如何隐藏任务栏图标，记得从前为朋友写过一个隐藏大智慧软件的程序，采用的方法就是将窗口最小化并隐藏大智慧在任务栏上的图标，但是因为涉及到键盘钩子，最后并没有这么做，而是用添加一个虚拟桌面的方法达到了效果。看到这篇帖子，依稀想起我曾经做过的一些尝试，平时总是没有动力整理一些零碎的代码，这回碰到了也算给自己一个机会。&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3454569.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 06 Dec 2008 02:06:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/12/05/3454569.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/12/05/3454569.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>用awk下载YouTube视频</title><link>http://blog.csdn.net/hailongchang/archive/2008/12/03/3436981.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3436981.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3436981.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3436981</trackback:ping><description>    上次用gawk搭配curl实现了下载优酷视频，相比较而言，YouTube虽然影响要大于优酷，但从程序的实做而言，YouTube要简单的多。&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3436981.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 03 Dec 2008 21:54:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/12/03/3436981.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/12/03/3436981.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>在FreeBSD中自动配置声卡</title><link>http://blog.csdn.net/hailongchang/archive/2008/12/02/3427742.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3427742.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3427742.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3427742</trackback:ping><description>用一段脚本自动配置FreeBSD声卡&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3427742.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 02 Dec 2008 20:00:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/12/02/3427742.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/12/02/3427742.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>用awk下载优酷视频</title><link>http://blog.csdn.net/hailongchang/archive/2008/11/20/3341061.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3341061.aspx</wfw:comment><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3341061.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3341061</trackback:ping><description>        awk是一种优秀的文本处理工具，用它来处理文本中的数据非常方便。我们现在用的绝大部分是gawk，也就是gnu awk，gnu的软件一贯表现不错，跟其他AWK的实现版本比起来，gawk添加了对网络的支持，比如我可以用awk模拟发送http请求给浏览器，然后用正则表达式过滤网页内容，例如这里是一个awk和sed搭配获取五大联赛计分表的shell程序。        gawk编程最权威的资料在其info帮助文件里，这份帮助资料值得称道的并不是它全面的reference,而是里面包含了大量akw应用的实例。虽然用gawk进行网络编程有点类似所谓的奇技淫巧，但是相比用c来完成同样的工作，awk还是颇具生产力的。        下面这个程序是用来获取youku视频的，程序运行起来是这个样子：        程序的基本原理是用gawk发送http请求，获取服务器返回的信息，然后根据这些信息进行一些处理后重新发送，经过三次请求，youku会发送真正的flv地址，根据这个真实地址就可以下载&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3341061.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 20 Nov 2008 23:22:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/11/20/3341061.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/11/20/3341061.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>用shell script查看五大联赛积分表</title><link>http://blog.csdn.net/hailongchang/archive/2008/11/17/3319673.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/3319673.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/3319673.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3319673</trackback:ping><description>平时很少能有时间和精力收看五大联赛的直播，可还是比较关注赛程赛况，但是上网查看信息，要点很多链接，上周写了一个用awk来下载YouTube视频的程序，这次仍然想用gawk提供的网络功能完成这样一个程序，但是遇到了不小的困难，例如我需要在BEGIN过程中获取排名信息的网页，并利用regular expressions对该网页进行多次过滤。于是想到用sed与awk的组合来完成这项工作，另外获取网页用的是curl，比gawk中分析http头的方法又简单得多了，程序在Cygwin中运行起来是这个样子：&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/3319673.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 17 Nov 2008 22:46:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/11/17/3319673.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/11/17/3319673.aspx</guid><dc:creator>常海龙</dc:creator></item><item><title>手工打造一个QQ空间备份工具</title><link>http://blog.csdn.net/hailongchang/archive/2008/06/26/2587951.aspx</link><wfw:comment>http://blog.csdn.net/hailongchang/comments/2587951.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/hailongchang/comments/commentRss/2587951.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2587951</trackback:ping><description>下面这个程序是我利用COM和Win32 SDK来实现的，将QQ空间中的文章备份为html格式&lt;img src =&quot;http://blog.csdn.net/hailongchang/aggbug/2587951.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 26 Jun 2008 19:09:00 +0800</pubDate><author>常海龙</author><comments>http://blog.csdn.net/hailongchang/archive/2008/06/26/2587951.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/hailongchang/archive/2008/06/26/2587951.aspx</guid><dc:creator>常海龙</dc:creator></item></channel></rss>