<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[技术博客]]></title><description><![CDATA[记载和分享技术成长，探讨计算科学奥秘！]]></description><link>https://blog.youkuaiyun.com/shagpg2008</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shagpg2008]]></copyright><item><title><![CDATA[libevent 编译(with openssl)]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/127847675</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/127847675</guid><author>shagpg2008</author><pubDate>Mon, 14 Nov 2022 15:05:15 +0800</pubDate><description><![CDATA[记录libevent的编译安装过程]]></description><category></category></item><item><title><![CDATA[Python杂记]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/122148434</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/122148434</guid><author>shagpg2008</author><pubDate>Sat, 01 Jan 2022 21:46:41 +0800</pubDate><description><![CDATA[设置默认仓库
vi ~/.pip/pip.config

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/   #阿里云仓库
#index-url = https://pypi.tuna.tsinghua.edu.cn/simple  #清华仓库
#index-url = https://pypi.mirrors.ustc.edu.cn/simple/  #中科大
#index-url = https://pypi.python.or.]]></description><category></category></item><item><title><![CDATA[TFTP RFC]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/17185407</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/17185407</guid><author>shagpg2008</author><pubDate>Sat, 07 Dec 2013 13:23:23 +0800</pubDate><description><![CDATA[THE TFTP PROTOCOL


TFTP Option Extension
TFTP Blocksize Option

TFTP Timeout Interval and Transfer Size Options

TFTP Multicast Option


Extending TFTP]]></description><category></category></item><item><title><![CDATA[JavaScript Class Libs]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/9312677</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/9312677</guid><author>shagpg2008</author><pubDate>Fri, 12 Jul 2013 16:30:15 +0800</pubDate><description><![CDATA[1. ExtJS
2. Formula.js
为Web开发者带来了大多数公式，公式列举了多重分类——日期/时间，文本，逻辑，金融等等。此外，除了在客户端运行，还在服务端（即将发布）上运行。

3. Chart.js
JS独立图表库，大小不足5kb的程序包，建立在HTML5
 canvas之上。目前支持6种图表类型：直线图、条形图、雷达图、饼状图、柱状图和地区区域图。颜色、字体、边框、大]]></description><category></category></item><item><title><![CDATA[VC6创建UNICODE版Windows程序]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/9141597</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/9141597</guid><author>shagpg2008</author><pubDate>Thu, 20 Jun 2013 23:27:47 +0800</pubDate><description><![CDATA[V6中开发可运行在不同语言系统的Unicode程序，大致步骤如下：


1、Project — Settings — C/C++ Tab — Preprocessor definitions：中加入_UNICODE, UNICODE。这里的_UNICODE和UNICODE的区别在于：_UNICODE用于Windows头文件，UNICODE用于C运行时头文件。


2、将代码中的所有所有]]></description><category></category></item><item><title><![CDATA[Imagex 安装 WIN7/8 系统]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/9141005</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/9141005</guid><author>shagpg2008</author><pubDate>Thu, 20 Jun 2013 23:26:29 +0800</pubDate><description><![CDATA[imagex的介绍其实已经很多吧。我这里就是记录下我成功过的步骤。首先，到官网或下载中心下载ISO文件。重启进入PE环境（如果是安装64位Win7, PE也要64位的）或进入win7恢复模式，然后想办法得到source\install.wim文件和
 boot文件夹。不管是通过虚拟光驱，还是WINZIP/7ZIP解压ISO文件，假定放在F:盘。最后把要安装的磁盘主分区准备好，至少30GB吧，一定]]></description><category></category></item><item><title><![CDATA[Kindle Paperwhite 越狱/加字体/支持PDF、EPUB、DjVu、FB2、CHM和DOC文档]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8871584</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8871584</guid><author>shagpg2008</author><pubDate>Wed, 01 May 2013 11:23:55 +0800</pubDate><description><![CDATA[0. 升级
官网固件升级：http://www.amazon.com/gp/help/customer/display.html/ref=hp_left_cn?ie=UTF8&nodeId=201064850

下载完后，断开USB连接，通过Menu> Settings> Menu> Update Your Kindle升级安装


以下操作(1,2,3)本人发现非常多的问题，本人KP]]></description><category></category></item><item><title><![CDATA[自定义VBA函数--访问相对于当前工作表的函数 SheetOffset]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8533607</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8533607</guid><author>shagpg2008</author><pubDate>Wed, 23 Jan 2013 12:49:07 +0800</pubDate><description><![CDATA[原文：http://spreadsheetpage.com/index.php/tip/a_custom_function_for_relative_sheet_references/
批注：经过多个实现版本的比较，认为这个版本兼容性比较好。


我们经常需要引用别的sheet的内容。但是EXCEL只提供基于sheet页名字的访问，并没有提供第几页查询的功能。

Function SH]]></description><category></category></item><item><title><![CDATA[C/C++单元测试框架Framework]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8266918</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8266918</guid><author>shagpg2008</author><pubDate>Thu, 06 Dec 2012 21:11:07 +0800</pubDate><description><![CDATA[以http://lwe.iteye.com/的C++单元测试框架为基础，在自己的理解整理而成。


CUnit C语言环境下的开发源码的白盒测试用例CUnit。CUnit以静态库的形式提供给用户使用，用户编写程序的时候直接链接此静态库就可以了。它提供了一个简单的单元测试框架，并且为常用的数据类型提供了丰富的断言语句支持。


GTest 是Google公司发布的一个开源C/C++单元测]]></description><category></category></item><item><title><![CDATA[C++的XML编程经验――LIBXML2库使用指南]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8162047</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8162047</guid><author>shagpg2008</author><pubDate>Thu, 08 Nov 2012 14:19:12 +0800</pubDate><description><![CDATA[C++的XML编程经验――LIBXML2库使用指南

转载网址：http://www.blogjava.net/wxb_nudt/archive/2007/11/18/161340.html

写这篇文章的原因有如下几点：1)C++标准库中没有操作XML的方法，用C++操作XML文件必须熟悉一种函数库，LIBXML2是其中一种很优秀的XML库，而且它同时支持多种编程语言；2)LIBXML2]]></description><category></category></item><item><title><![CDATA[给C++初学者的50个忠告]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8131137</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8131137</guid><author>shagpg2008</author><pubDate>Wed, 31 Oct 2012 09:37:40 +0800</pubDate><description><![CDATA[给C++初学者的50个忠告 （转载自www.ieee.org.cn）


1.把C++当成一门新的语言学习（和C没啥关系！真的。）； 
　　2.看《Thinking In C++》，不要看《C++变成死相》； 
　　3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看；]]></description><category></category></item><item><title><![CDATA[C 中 getline (类似fgets) 的实现方法]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/8004804</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/8004804</guid><author>shagpg2008</author><pubDate>Fri, 21 Sep 2012 16:10:57 +0800</pubDate><description><![CDATA[long getline(int fd, char *buf, long len)
{
long cur = lseek(fd, 0, SEEK_CUR);
long ret = read(fd, buf, len);
int index = 0;

if(ret 
return ret;
}


while(buf[index++] != '\n' && index]]></description><category></category></item><item><title><![CDATA[Windows 非常用命令锦集]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7951659</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7951659</guid><author>shagpg2008</author><pubDate>Thu, 06 Sep 2012 17:11:55 +0800</pubDate><description><![CDATA[压缩CAB文件: makecab.exe  src  dst
解压缩CAB文件：expand.exe  src dst]]></description><category></category></item><item><title><![CDATA[Grub引导方式收集]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7950963</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7950963</guid><author>shagpg2008</author><pubDate>Thu, 06 Sep 2012 15:56:30 +0800</pubDate><description><![CDATA[title Boot from a primary partition
rootnoverify (hd0,0)
chainloader +1


title Windows 7 or above
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr

title Windows 2003/XP or be]]></description><category></category></item><item><title><![CDATA[Linux下刻录CD/DVD详解]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7937041</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7937041</guid><author>shagpg2008</author><pubDate>Mon, 03 Sep 2012 11:06:54 +0800</pubDate><description><![CDATA[http://www.jcwcn.com/forum.php?mod=viewthread&tid=8896


Linux 为创建 CD 提供了功能强大且灵活的工具。您可以创建在几乎任何平台上都可读的盘，还可以创建 .iso 文件以供下载和分发。 

在任何平台上从命令行刻录 CD 都是一件令人费解且烦躁的事情，Linux 当然也不例外。不过，由于在各平台上所用到的命令和术语都十分相似]]></description><category></category></item><item><title><![CDATA[Linux 非常用命令锦集]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7936871</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7936871</guid><author>shagpg2008</author><pubDate>Mon, 03 Sep 2012 10:51:02 +0800</pubDate><description><![CDATA[关闭显示器命令 xset dpms force off]]></description><category></category></item><item><title><![CDATA[符合web标准的媒体播放器代码]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7333645</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7333645</guid><author>shagpg2008</author><pubDate>Thu, 08 Mar 2012 17:14:10 +0800</pubDate><description><![CDATA[http://www.blueidea.com/tech/site/2006/3820.asp



再见了Embed，一些媒体播放器的符合web标准的代码
由于Embed标签是Netscape的私有财产，故一直未被W3C认可，对于各种媒体文件使用Embed标签是非标准的，如何改变？Elizabeth Castro的
Bye Bye Embed 一文对于各种媒体播放器给出了很好的符合w]]></description><category></category></item><item><title><![CDATA[Socket 编程 小知识库]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7073687</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7073687</guid><author>shagpg2008</author><pubDate>Fri, 16 Dec 2011 18:04:43 +0800</pubDate><description><![CDATA[1. 阻塞描述符(有文件描述符和Socket描述符)。调用 函数(read/write/recv/recvfrom/recvmsg)返回的时间。非阻塞是不管有没有数据，马上返回。阻塞是要等到有数据的时候再返回。Linux/Unix/Windows默认都是阻塞的。
（1）在Unix类系统设置
设置非阻塞：

int flags = fcntl(sockfd,F_GETFL) | 
O_NO]]></description><category></category></item><item><title><![CDATA[【技巧】UE使用技巧]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/7031630</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/7031630</guid><author>shagpg2008</author><pubDate>Thu, 01 Dec 2011 16:56:51 +0800</pubDate><description><![CDATA[【技巧】UE使用技巧 

http://apps.hi.baidu.com/share/detail/19104299



UltraEdit 是每天必用的工具之一．但想想看，实际使用到的功能只是这个工具强大功能的极小的一部分．灵活使用这个工具有的时候能起到事半功倍的效果．记录并收集一些小技巧对自己对别人都有帮助．因为我在使用"列编辑"这样的编辑方式还令我的一个同事看到之后很惊讶，之]]></description><category></category></item><item><title><![CDATA[WEB IM URLs (Official Web sites)  (Shagpg2009 me too)]]></title><link>https://blog.youkuaiyun.com/shagpg2008/article/details/6608771</link><guid>https://blog.youkuaiyun.com/shagpg2008/article/details/6608771</guid><author>shagpg2008</author><pubDate>Mon, 18 Jul 2011 10:42:33 +0800</pubDate><description><![CDATA[1. Official Site
 
QQ:      http://web2.qq.com
Fetion: http://webim.feixin.10086.cn
 
MSN:     http://login.live.com/login.srf,  
(Login, then mail and messager will be)
GTALK: https://www.goog]]></description><category></category></item></channel></rss>