<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[编码无悔]]></title><description><![CDATA[主站：www.codelast.com  人生就像最优化算法中的求解过程，努力寻找全局最优解，绘出最漂亮准确的曲线]]></description><link>https://blog.csdn.net/learnhard</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; learnhard]]></copyright><item><title><![CDATA[在WordPress中添加GA统计]]></title><link>https://blog.csdn.net/learnhard/article/details/5883569</link><guid>https://blog.csdn.net/learnhard/article/details/5883569</guid><author>learnhard</author><pubDate>Tue, 14 Sep 2010 15:07:00 +0800</pubDate><description><![CDATA[GA（Google Analytics）是网站统计的好工具，如果你要对wordpress站点进行GA监测，那么如果你先上GA网站取监测代码、再贴到你的wordpress页面中，并不是一个聪明的办法（我差点就这样做了）。更好的办法是使用Google Analytics for WordPress插件。关于该插件，有下面一段话的介绍：Google Analytics for WordPress is the most complete Google Analytics plugin for WordPress.]]></description><category></category></item><item><title><![CDATA[Techniques 中文翻译（Google Protocol Buffers中文教程）]]></title><link>https://blog.csdn.net/learnhard/article/details/5873905</link><guid>https://blog.csdn.net/learnhard/article/details/5873905</guid><author>learnhard</author><pubDate>Thu, 09 Sep 2010 17:28:00 +0800</pubDate><description><![CDATA[Techniques 技巧注：这是本人的翻译，可能不准确，可能有错误，但是基本上可以理解，希望能对大家有所帮助！（转载请注明出处：本文来自learnhard的CSDN博客：http://blog.csdn.net/learnhard/）·         Streaming Multiple Messages·         Large Data Sets·         Union Types·         Self-describing MessagesThis page describes s]]></description><category></category></item><item><title><![CDATA[使shell 命令脱离终端在后台运行]]></title><link>https://blog.csdn.net/learnhard/article/details/5871723</link><guid>https://blog.csdn.net/learnhard/article/details/5871723</guid><author>learnhard</author><pubDate>Wed, 08 Sep 2010 19:54:00 +0800</pubDate><description><![CDATA[你是否遇到过这样的情况：从终端软件登录远程的Linux主机，将一堆很大的文件压缩为一个.tar.gz文件，在还没有完成的时候，你断网了，你登录不上远程Linux主机了，那么就会前功尽弃，你非常气愤……在Linux下，如果你要执行的shell命令耗时特别长，并且：（1）你的网络不稳定，随时可能断网；或者（2）你在执行了shell命令之后必须要关闭终端软件（例如SecureCRT）或计算机，那么你就需要以脱离终端的方式在后台运行这个shell命令。方法如下：（1）输入命令：nohup 你的shell命令 &（2]]></description><category></category></item><item><title><![CDATA[安装JDK和Tomcat的步骤（Linux）]]></title><link>https://blog.csdn.net/learnhard/article/details/5869112</link><guid>https://blog.csdn.net/learnhard/article/details/5869112</guid><author>learnhard</author><pubDate>Tue, 07 Sep 2010 17:56:00 +0800</pubDate><description><![CDATA[本文陈述的是在32位Linux系统下安装JDK和Tomcat的步骤。先确定服务器版本，命令为：getconf WORD_BIT如果返回32则表示是32位机器，如果返回64则表示是64位机器，注意下载JDK和Tomcat的时候千万不要弄错了版本。先安装JDK：（1）下载JDK（例如jdk-6u21-linux-i586.bin）：https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFi]]></description><category></category></item><item><title><![CDATA[Google Protocol Buffers中文教程]]></title><link>https://blog.csdn.net/learnhard/article/details/5863846</link><guid>https://blog.csdn.net/learnhard/article/details/5863846</guid><author>learnhard</author><pubDate>Sat, 04 Sep 2010 22:24:00 +0800</pubDate><description><![CDATA[注：这些是本人的翻译，可能不准确，可能有错误，但是基本上可以理解，希望能对大家有所帮助！（转载请注明出处：本文来自learnhard的CSDN博客：http://blog.csdn.net/learnhard/）请参看如下几个链接：Style Guide中文翻译（Google Protocol Buffers中文教程）Language Guide中文翻译（Google Protocol Buffers中文教程）Style Guide中文翻译（Google Protocol Buffers中文教程）]]></description><category></category></item><item><title><![CDATA[Style Guide中文翻译（Google Protocol Buffers中文教程）]]></title><link>https://blog.csdn.net/learnhard/article/details/5855533</link><guid>https://blog.csdn.net/learnhard/article/details/5855533</guid><author>learnhard</author><pubDate>Wed, 01 Sep 2010 14:16:00 +0800</pubDate><description><![CDATA[Style Guide 风格指南注：这是本人的翻译，可能不准确，可能有错误，但是基本上可以理解，希望能对大家有所帮助！（转载请注明出处：本文来自learnhard的CSDN博客：http://blog.csdn.net/learnhard/）This document provides a style guide for .proto files. By following these conventions, you'll make your protocol buffer message definit]]></description><category></category></item><item><title><![CDATA[Language Guide中文翻译（Google Protocol Buffers中文教程）]]></title><link>https://blog.csdn.net/learnhard/article/details/5852782</link><guid>https://blog.csdn.net/learnhard/article/details/5852782</guid><author>learnhard</author><pubDate>Tue, 31 Aug 2010 13:56:00 +0800</pubDate><description><![CDATA[Language Guide注：这是本人的翻译，可能不准确，可能有错误，但是基本上可以理解，希望能对大家有所帮助！（转载请注明出处：本文来自learnhard的CSDN博客：http://blog.csdn.net/learnhard/）·         Defining A Message Type·         Scalar Value Types·         Optional And Default Values·         Enumerations·         Using O]]></description><category></category></item><item><title><![CDATA[Protocol Buffer Basics: C++中文翻译（Google Protocol Buffers中文教程）]]></title><link>https://blog.csdn.net/learnhard/article/details/5846595</link><guid>https://blog.csdn.net/learnhard/article/details/5846595</guid><author>learnhard</author><pubDate>Sat, 28 Aug 2010 20:50:00 +0800</pubDate><description><![CDATA[注：这是本人的翻译，可能不准确，可能有错误，但是基本上可以理解，希望能对大家有所帮助！（转载请注明出处：本文来自learnhard的CSDN博客：http://blog.csdn.net/learnhard/）Protocol Buffer Basics: C++（Protocol Buffer基础：C++篇）This tutorial provides a basic C++ programmer's introduction to working with protocol buffers. By wa]]></description><category></category></item><item><title><![CDATA[Google Protocol Buffers安装、使用二三事]]></title><link>https://blog.csdn.net/learnhard/article/details/5841936</link><guid>https://blog.csdn.net/learnhard/article/details/5841936</guid><author>learnhard</author><pubDate>Thu, 26 Aug 2010 21:45:00 +0800</pubDate><description><![CDATA[先说一句题外话：与Google Protocol Buffers类似的项目还有：源自Facebook的Thrift。        本文只陈述Linux下的情况。  （1）首先下载得到文件protobuf-2.3.0.tar.gz。  在Linux下，解压，然后请务必仔细看README.txt，文档的一开头就是说明在Unix下安装的注意事项。  安装过程为：  $ ./configure    $ make     $ make check       $ make install  注意第3步有个比较奇怪]]></description><category></category></item><item><title><![CDATA[看看Google Test项目的SVN目录结构（创建自己的项目时可以参考）]]></title><link>https://blog.csdn.net/learnhard/article/details/5839968</link><guid>https://blog.csdn.net/learnhard/article/details/5839968</guid><author>learnhard</author><pubDate>Thu, 26 Aug 2010 11:37:00 +0800</pubDate><description><![CDATA[<br />看看Google Test项目的SVN目录结构（创建自己的项目时可以参考）：<br /> <br />]]></description><category></category></item><item><title><![CDATA[logging libraries / 一些写日志的库]]></title><link>https://blog.csdn.net/learnhard/article/details/5827320</link><guid>https://blog.csdn.net/learnhard/article/details/5827320</guid><author>learnhard</author><pubDate>Fri, 20 Aug 2010 17:44:00 +0800</pubDate><description><![CDATA[（1）google-glogLogging library for C++项目链接：http://code.google.com/p/google-glog/文档：http://google-glog.googlecode.com/svn/trunk/doc/glog.html（2）loglite（依赖于boost，一个号称轻量级的库竟然依赖于boost，非常雷人吧）A small logging library项目链接：http://code.google.com/p/loglite/]]></description><category></category></item><item><title><![CDATA[SecureCRT全屏切换的快捷键]]></title><link>https://blog.csdn.net/learnhard/article/details/5826527</link><guid>https://blog.csdn.net/learnhard/article/details/5826527</guid><author>learnhard</author><pubDate>Fri, 20 Aug 2010 14:41:00 +0800</pubDate><description><![CDATA[如果你不小心按了什么键使得SecureCRT进入全屏模式的话，可能会发现找不到按钮可以让它切换到非全屏模式，很恼人。请按 Alt + Enter 切换到正常模式。]]></description><category></category></item><item><title><![CDATA[在Ubuntu下用tar包安装MySQL]]></title><link>https://blog.csdn.net/learnhard/article/details/5797625</link><guid>https://blog.csdn.net/learnhard/article/details/5797625</guid><author>learnhard</author><pubDate>Sun, 08 Aug 2010 23:39:00 +0800</pubDate><description><![CDATA[<br />在Ubuntu上安装MySQL Server，由于不是RedHat，所以MySQL官网上的rpm包都不能用，有两个包可用：mysql-5.1.49-linux-i686-icc-glibc23.tar.gz 和	mysql-5.1.49-linux-i686-glibc23.tar.gz ，这两个包有什么区别？官网上没有写，我也没查到。我安装的时候用的是mysql-5.1.49-linux-i686-icc-glibc23.tar.gz。<br />下面的安装方法的步骤中，有些可能很奇怪（为什么]]></description><category></category></item><item><title><![CDATA[mysql_store_result()与mysql_use_result()的区别]]></title><link>https://blog.csdn.net/learnhard/article/details/5792046</link><guid>https://blog.csdn.net/learnhard/article/details/5792046</guid><author>learnhard</author><pubDate>Fri, 06 Aug 2010 00:47:00 +0800</pubDate><description><![CDATA[函数mysql_store_result()与mysql_use_result()类似，它们都有连接处理程序参数，并返回结果集。但实际上两者间的 区别还是很大的。两个函数之间首要的区别在于从服务器上检索结果集的行。当调用时，mysql_store_result()立即检索所有的行，而 mysql_use_result()启动查询，但实际上并未获取任何行，mysql_store_result()假设随后会调用 mysql_fetch_row()检索记录。这些行检索的不同方法引起两者在其他方面的不同。本节加以比]]></description><category></category></item><item><title><![CDATA[[转]C++中的explicit关键字]]></title><link>https://blog.csdn.net/learnhard/article/details/5787634</link><guid>https://blog.csdn.net/learnhard/article/details/5787634</guid><author>learnhard</author><pubDate>Wed, 04 Aug 2010 11:48:00 +0800</pubDate><description><![CDATA[<br /><br />c++中的explicit关键字用来修饰类的构造函数，表明该构造函数是显式的，既然有"显式"那么必然就有"隐式"，那么什么是显示而什么又是隐式的呢？<br /> <br />如果c++类的构造函数有一个参数，那么在编译的时候就会有一个缺省的转换操作：将该构造函数对应数据类型的数据转换为该类对象，如下面所示：<br />class MyClass<br />{<br />public:<br />MyClass( int num );<br />}<br />....<br />MyC]]></description><category></category></item><item><title><![CDATA[使用 if (对象名) {...} 来判断一个对象是否“有效”]]></title><link>https://blog.csdn.net/learnhard/article/details/5787458</link><guid>https://blog.csdn.net/learnhard/article/details/5787458</guid><author>learnhard</author><pubDate>Wed, 04 Aug 2010 11:00:00 +0800</pubDate><description><![CDATA[假设我们有一个class A的对象：A a;那么如何可以实现这样的判断：if (a){//......}请看这一篇文章：http://www.artima.com/cppsource/safebool.html最简单的方法就是重载operator bool。]]></description><category></category></item><item><title><![CDATA[一些发送Email的C/C++库/软件]]></title><link>https://blog.csdn.net/learnhard/article/details/5779484</link><guid>https://blog.csdn.net/learnhard/article/details/5779484</guid><author>learnhard</author><pubDate>Sat, 31 Jul 2010 21:25:00 +0800</pubDate><description><![CDATA[spnetkit（无文档，有示例程序）： http://code.google.com/p/spnetkit/msmtp：http://msmtp.sourceforge.net/index.htmlLibESMTP：http://www.stafford.uklinux.net/libesmtp/index.htmlPOCO：http://pocoproject.org/index.html]]></description><category></category></item><item><title><![CDATA[web服务性能测试工具http_load（Linux平台）]]></title><link>https://blog.csdn.net/learnhard/article/details/5779422</link><guid>https://blog.csdn.net/learnhard/article/details/5779422</guid><author>learnhard</author><pubDate>Sat, 31 Jul 2010 20:35:00 +0800</pubDate><description><![CDATA[http_load的主页（实在是有点简陋）：http://www.acme.com/software/http_load/下载回来一个压缩包，解压出来之后连configure都不用，直接make即可生成可执行程序 http_load（视系统情况不同，可能你需要自己修改Makefile再编译）。注意：make的时候可能会有若干警告，但是可能并不影响使用生成的http_load程序，例如我在自己的机器上make，出现了这些警告：gcc -Wall -O    -c http_load.chttp_load.c:]]></description><category></category></item><item><title><![CDATA[[转]十个免费的Web压力测试工具]]></title><link>https://blog.csdn.net/learnhard/article/details/5777129</link><guid>https://blog.csdn.net/learnhard/article/details/5777129</guid><author>learnhard</author><pubDate>Fri, 30 Jul 2010 17:06:00 +0800</pubDate><description><![CDATA[<br /><br />Grinder –  Grinder是一个开源的JVM负载测试框架，它通过很多负载注射器来为分布式测试提供了便利。 支持用于执行测试脚本的Jython脚本引擎HTTP测试可通过HTTP代理进行管理。根据项目网站的说法，Grinder的 主要目标用户是“理解他们所测代码的人——Grinder不仅仅是带有一组相关响应时间的‘黑盒’测试。由于测试过程可以进行编码——而不是简单地脚本 化，所以程序员能测试应用中内部的各个层次，而不仅仅是通过用户界面测试响应时间。<br /> <br />Py]]></description><category></category></item><item><title><![CDATA[Linux下shell脚本输出带颜色文字]]></title><link>https://blog.csdn.net/learnhard/article/details/5758674</link><guid>https://blog.csdn.net/learnhard/article/details/5758674</guid><author>learnhard</author><pubDate>Fri, 23 Jul 2010 18:56:00 +0800</pubDate><description><![CDATA[<br /><br />文本终端的颜色可以使用“ANSI非常规字符序列”来生成。举例：<br /> <br />　　echo -e "/033[44;37;5m ME /033[0m COOL"<br /> <br />　　以上命令设置作用如下：背景色为蓝色，前景色为白色，字体闪烁，输出字符“ME”，然后重新设置屏幕到缺省设置，输出字符 “COOL”。“e”是命令 echo 的一个可选项，它用于激活特殊字符的解析器。“/033”引导非常规字符序列。“m”意味着设置属性然后结束非常规字符序列，这个例子里真正有]]></description><category></category></item></channel></rss>