<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Balder~专栏]]></title><description><![CDATA[每一次的破茧成蝶都是痛苦，但是当到了那一天，你也可以飞翔，你会感激曾经的苦难与煎熬造就了你那一刻的美]]></description><link>https://blog.csdn.net/balderfan</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; balderfan]]></copyright><item><title><![CDATA[Windows和linux下编译boost程序库]]></title><link>https://blog.csdn.net/balderfan/article/details/7975777</link><guid>https://blog.csdn.net/balderfan/article/details/7975777</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 16:59:34 +0800</pubDate><description><![CDATA[一 .Windows下编译boost程序库

Boost库是一个功能强大、构造精巧、跨平台、开源并且完全免费的C++程序库
要使用Boost库，首先确认一下你使用的开发环境是否支持编译boost库(http://www.boost.org/users/history/version_1_46_1.html)
以windows的msvc编译器为例，支持编译boost库是Visual C++:]]></description><category></category></item><item><title><![CDATA[Linux命令之trap - 在脚本中处理信号]]></title><link>https://blog.csdn.net/balderfan/article/details/7975454</link><guid>https://blog.csdn.net/balderfan/article/details/7975454</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 16:07:35 +0800</pubDate><description><![CDATA[转自：http://codingstandards.iteye.com/blog/836588 


用途说明


rap是一个shell内建命令，它用来在脚本中指定信号如何处理。比如，按Ctrl+C会使脚本终止执行，实际上系统发送了SIGINT信号给脚本进程，SIGINT信号的默认处理方式就是退出程序。如果要在Ctrl+C不退出程序，那么就得使用trap命令来指定一下SIGINT的处]]></description><category></category></item><item><title><![CDATA[wget curl axel相关操作方法与参数]]></title><link>https://blog.csdn.net/balderfan/article/details/7975432</link><guid>https://blog.csdn.net/balderfan/article/details/7975432</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 16:03:52 +0800</pubDate><description><![CDATA[内容实在太多，记录下URL先，有空时再慢慢研究：

 

wget:

中文详细说明（参数什么的很多很全）：http://forum.ubuntu.org.cn/viewtopic.php?f=73&t=213029

这个也不错： 
http://os.51cto.com/art/201002/183100.htm

比如，下载整个网站以便底线阅读：http://forum]]></description><category></category></item><item><title><![CDATA[常用linux镜像站与各版本linux镜像站修改方法]]></title><link>https://blog.csdn.net/balderfan/article/details/7974951</link><guid>https://blog.csdn.net/balderfan/article/details/7974951</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 14:51:20 +0800</pubDate><description><![CDATA[网易开源镜像站                            http://mirrors.163.com/
搜狐开源镜像站                            http://mirrors.sohu.com/
兰大开源社区镜像站                    http://mirror.lzu.edu.cn/]]></description><category></category></item><item><title><![CDATA[声音大小计算]]></title><link>https://blog.csdn.net/balderfan/article/details/7974694</link><guid>https://blog.csdn.net/balderfan/article/details/7974694</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 13:44:39 +0800</pubDate><description><![CDATA[转自：http://blog.sina.com.cn/s/blog_648d85ef0100wtkb.html

声卡对声音地处理质量能够用三个根本参数来权衡，即采样频率、采样位数和声道数。 
采样频率是指单位时间内地采样次数。采样频率越大，采样点之间地间隔就越小，数字化后得到地声音就越逼真，但相应地数据量就越大。声卡通常提供11.025kHz、22.05kHz和44.1kHz等不同地采样频]]></description><category></category></item><item><title><![CDATA[python和c++互调]]></title><link>https://blog.csdn.net/balderfan/article/details/7974154</link><guid>https://blog.csdn.net/balderfan/article/details/7974154</guid><author>balderfan</author><pubDate>Thu, 13 Sep 2012 13:40:18 +0800</pubDate><description><![CDATA[1. C/C++调python
    一.关于python库，http://www.python.org/可以从这里下载，编译得到release和debug库。
    二.被调python文件不含有住函数，不能有变量，内存需C/C++来分配。 
test.py
def print_list(list):
    print dict
def show():
    print "hell]]></description><category></category></item><item><title><![CDATA[Linux bonding服务器单网卡绑定多IP在Redhat系列]]></title><link>https://blog.csdn.net/balderfan/article/details/7969712</link><guid>https://blog.csdn.net/balderfan/article/details/7969712</guid><author>balderfan</author><pubDate>Wed, 12 Sep 2012 09:26:06 +0800</pubDate><description><![CDATA[转自：http://os.51cto.com/art/201003/185552.htm

Linux bonding还是比较常用的，于是我研究了一下Linux bonding，在这里拿出来和大家分享一下，希望对大家有用。在Linux bonding下有时候需要给一个网卡绑定多个IP，本文介绍在Redhat系列(redhat,Fedora Core,Centos)中的实现方法和一种在Gento]]></description><category></category></item><item><title><![CDATA[YUV格式说明]]></title><link>https://blog.csdn.net/balderfan/article/details/7714769</link><guid>https://blog.csdn.net/balderfan/article/details/7714769</guid><author>balderfan</author><pubDate>Wed, 04 Jul 2012 12:55:32 +0800</pubDate><description><![CDATA[YUV420P，Y，U，V三个分量都是平面格式，分为I420和YV12。I420格式和YV12格式的不同处在U平面和V平面的位置不同。在I420格式中，U平面紧跟在Y平面之后，然后才是V平面（即：YUV）；但YV12则是相反（即：YVU）。

YUV420SP, Y分量平面格式，UV打包格式, 即NV12。 NV12与NV21类似，U 和 V 交错排列,不同在于UV顺序。

I420: Y]]></description><category></category></item><item><title><![CDATA[grub.conf 详解]]></title><link>https://blog.csdn.net/balderfan/article/details/7676266</link><guid>https://blog.csdn.net/balderfan/article/details/7676266</guid><author>balderfan</author><pubDate>Tue, 19 Jun 2012 13:34:45 +0800</pubDate><description><![CDATA[修改grub.conf
　　系统安装完后，如果不能成功的引导Linux和Win系统，必须要改一下/boot/grub/grub.conf才能让三系统正常运行，用root用户进入系统，先用fdisk-ld 终端中查看你的分区情况，知道分区情况就好办了，用任何文件编辑器来打开/boot/grub/grub.conf,一般来说，Win系统会自动加载到grub里面的，下面是笔者的grub.conf文件，]]></description><category></category></item><item><title><![CDATA[python自动安装工具easy_install的使用]]></title><link>https://blog.csdn.net/balderfan/article/details/7655739</link><guid>https://blog.csdn.net/balderfan/article/details/7655739</guid><author>balderfan</author><pubDate>Tue, 12 Jun 2012 13:36:40 +0800</pubDate><description><![CDATA[安装easy_install完成之后，如何使用easy_install呢，去官网看看吧：--Downloading
 and Installing a Package 

使用一： 
       根据你想要的安装包名来进行easy_install，工具会检索网页查询最新版本的包，自动下载、构建和安装 
       easy_install
 SQLObject 
这办法很简洁并不]]></description><category></category></item><item><title><![CDATA[如何安装Perl模块]]></title><link>https://blog.csdn.net/balderfan/article/details/7655410</link><guid>https://blog.csdn.net/balderfan/article/details/7655410</guid><author>balderfan</author><pubDate>Tue, 12 Jun 2012 11:33:41 +0800</pubDate><description><![CDATA[一  用 CPAN 安装


1.  我用的系统是debian,默认只安装了perl-base，也就是可以使用perl，但没有cpan这个工具，故现在系统里安装perl这个工具。



aptitude install perl

附加把perl-modules也安装上了,此时就可使用cpan工具来安装perl模块了。


  或者，更原始的办法，从www.cpan.org]]></description><category></category></item><item><title><![CDATA[利用tcpcopy引流做模拟在线测试]]></title><link>https://blog.csdn.net/balderfan/article/details/7654851</link><guid>https://blog.csdn.net/balderfan/article/details/7654851</guid><author>balderfan</author><pubDate>Tue, 12 Jun 2012 09:48:49 +0800</pubDate><description><![CDATA[一、工具介绍

        Tcpcopy 是一个分布式在线压力测试工具，可以将线上流量拷贝到测试机器，实时的模拟线上环境，达到在程序不上线的情况下实时承担线上流量的效果，尽早发现 bug，增加上线信心。

        Tcpcopy 是由网易技术部于 2011 年 9 月开源的一个项目，现在已经更新到0.4版本。

        与传统的压力测试工具（如：abench）相比]]></description><category></category></item><item><title><![CDATA[pthread_cleanup_push()  pthread_cleanup_pop()]]></title><link>https://blog.csdn.net/balderfan/article/details/7652973</link><guid>https://blog.csdn.net/balderfan/article/details/7652973</guid><author>balderfan</author><pubDate>Mon, 11 Jun 2012 16:09:40 +0800</pubDate><description><![CDATA[线程终止时的清理

不论是可预见的线程终止还是异常终止，都会存在资源释放的问题，在不考虑因运行出错而退出的前提下，如何保证线程终止时能顺利的释放掉自己所占用的资源，特别是锁资源，就是一个必须考虑解决的问题。

最经常出现的情形是资源独占锁的使用：线程为了访问临界资源而为其加上锁，但在访问过程中被外界取消，如果线程处于响应取消状态，且采用异步方式响应，或者在打开独占锁以前的运行路径上存在取消]]></description><category></category></item><item><title><![CDATA[python logging]]></title><link>https://blog.csdn.net/balderfan/article/details/7644807</link><guid>https://blog.csdn.net/balderfan/article/details/7644807</guid><author>balderfan</author><pubDate>Fri, 08 Jun 2012 11:43:42 +0800</pubDate><description><![CDATA[开发Python, 一直以来都是使用自己编写的logging模块. 比较土......

今天发现python的标准模块的这个功能做的挺好, 记录一下, 以后使用模块来进行logging.

对于这个模块的介绍网上也很多, 我也不用自己写了, 比较好的如下,

http://crazier9527.iteye.com/blog/290018    Python的标准logging模块]]></description><category></category></item><item><title><![CDATA[curl 命令使用]]></title><link>https://blog.csdn.net/balderfan/article/details/7644432</link><guid>https://blog.csdn.net/balderfan/article/details/7644432</guid><author>balderfan</author><pubDate>Fri, 08 Jun 2012 10:34:40 +0800</pubDate><description><![CDATA[1)初体验

curl http://www.yahoo.com

回车之后，www.yahoo.com 的html就稀里哗啦地显示在屏幕上了~

2)保存页面
curl http://www.yahoo.com > page.html

或者用curl的内置option，存下http的结果
curl -o page.html http://www.yahoo.com

3]]></description><category></category></item><item><title><![CDATA[Perl fork()]]></title><link>https://blog.csdn.net/balderfan/article/details/7644229</link><guid>https://blog.csdn.net/balderfan/article/details/7644229</guid><author>balderfan</author><pubDate>Fri, 08 Jun 2012 09:58:59 +0800</pubDate><description><![CDATA[Perl fork()

Forking in perl is a nice thing to do, and for some it’s a hard thing to understand. It can be pretty easy to get lost especially since there are 100 ways to the same thing. I’m going t]]></description><category></category></item><item><title><![CDATA[Perl 中的线程]]></title><link>https://blog.csdn.net/balderfan/article/details/7644196</link><guid>https://blog.csdn.net/balderfan/article/details/7644196</guid><author>balderfan</author><pubDate>Fri, 08 Jun 2012 09:50:28 +0800</pubDate><description><![CDATA[线程概述

线程是一个单一的执行流程，它是所有程序执行过程中最小的控制单位，即能被 CPU 所调度的最小任务单元。线程与进程之间既有联系，又完全不同。简单地说，一个线程必然属于某一个进程，而一个进程包含至少一个或者多个线程。早期的计算机系统一次只能运行一个程序，因此，当有多个程序需要执行的时候，唯一的办法就是让它们排成队，按顺序串行执行。进程的出现打破了这种格局，CPU 资源按时间片被分割开来]]></description><category></category></item><item><title><![CDATA[通过/proc/net/dev分析网络包量，流量，错包，丢包]]></title><link>https://blog.csdn.net/balderfan/article/details/7641697</link><guid>https://blog.csdn.net/balderfan/article/details/7641697</guid><author>balderfan</author><pubDate>Thu, 07 Jun 2012 16:23:07 +0800</pubDate><description><![CDATA[一 /proc/net/dev


user_00@xxxx64:~> cat /proc/net/dev
Inter-    | Receive                                                                                                      |  Transmit
 face]]></description><category></category></item><item><title><![CDATA[shell——tr的用法]]></title><link>https://blog.csdn.net/balderfan/article/details/7641616</link><guid>https://blog.csdn.net/balderfan/article/details/7641616</guid><author>balderfan</author><pubDate>Thu, 07 Jun 2012 13:52:29 +0800</pubDate><description><![CDATA[tr（translate缩写）主要用于删除文件中的控制字符，或进行字符转换。
语法：tr [–c/d/s/t] [SET1] [SET2]
SET1: 字符集1
SET2：字符集2
-c:complement，用SET2替换SET1中没有包含的字符
-d:delete，删除SET1中所有的字符，不转换
-s: squeeze-repeats，压缩SET1中重复的字符
-t: trun]]></description><category></category></item><item><title><![CDATA[cURL简单实例]]></title><link>https://blog.csdn.net/balderfan/article/details/7640757</link><guid>https://blog.csdn.net/balderfan/article/details/7640757</guid><author>balderfan</author><pubDate>Thu, 07 Jun 2012 09:53:26 +0800</pubDate><description><![CDATA[cURL简单实例

curl 是使用URL语法的传送文件工具，支持FTP、FTPS、HTTP HTPPS SCP SFTP TFTP TELNET DICT FILE和LDAP。curl
 支持SSL证书、HTTP POST、HTTP PUT 、FTP 上传，kerberos、基于HTT格式的上传、代理、cookie、用户+口令证明、文件传送恢复、http代理通道和大量其他有用的技巧。详见参]]></description><category></category></item></channel></rss>