<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>HiMySQL - leopku 润物细无声</title>
    <link>https://himysql.now.sh/</link>
    <description>Recent content on HiMySQL - leopku 润物细无声</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 19 Apr 2017 18:05:13 +0800</lastBuildDate>
    
	<atom:link href="https://himysql.now.sh/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>学习 Node.js 运行时——迷失在 npm 包的海洋之际</title>
      <link>https://himysql.now.sh/post/before-you-bury-yourself-in-packages-learn-the-node-js-runtime-itself/</link>
      <pubDate>Wed, 19 Apr 2017 18:05:13 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/before-you-bury-yourself-in-packages-learn-the-node-js-runtime-itself/</guid>
      <description>&lt;p&gt;译序：本文指出了目前大部分人在学习 Node.js 过程的误区，点出了目前大部分 Node.js 学习者知识点中的缺陷。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>深入 ES6 面向对象</title>
      <link>https://himysql.now.sh/post/object-oriented-javascript-deep-dive-es6-classes/</link>
      <pubDate>Mon, 03 Apr 2017 00:00:00 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/object-oriented-javascript-deep-dive-es6-classes/</guid>
      <description>&lt;p&gt;通常我们需要在代码中表述一个想法或概念——一部汽车引擎、一个电脑文件、一个路由器甚至一个温度计的度数。使用代码直接描述这些概念通常分为两部分：「表示状态的数据」与「表示行为的函数」。「类」给我们一个捷径来表述我们想表示的对象的状态和行为。同时，还通过初始化函数确定执行、更方便的定义约定的操作数据与维护状态的函数等机制，使得我们的代码更可控。如果你觉得某些「事物」是一个独立的实体，那么是时候单独为这个「事物」定义一个「类」了&lt;/p&gt;

&lt;p&gt;看一段没有类的代码，有多少错误能肉眼判断出来？又如何修复这些错误？&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>利用 Prometheus 监控 NodeJS 应用</title>
      <link>https://himysql.now.sh/post/monitoring-node-apps-with-prometheus/</link>
      <pubDate>Tue, 28 Mar 2017 17:55:59 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/monitoring-node-apps-with-prometheus/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://askmike.org/articles/setting-up-prometheus-on-ubuntu-16-04/&#34;&gt;「欢快的搭建好 Prometheus」&lt;/a&gt;之后，记录我们 nodejs 应用的指标就是一件更欢快的事了。&lt;/p&gt;

&lt;p&gt;脑洞主要是在应用中引入一个外部的 node 模块，这个模块提供了对 Prometheus &lt;a href=&#34;https://prometheus.io/docs/concepts/metric_types/&#34;&gt;指标类型(metric types)&lt;/a&gt;的支持。本文中用到的是 &lt;em&gt;Counter&lt;/em&gt; 和 &lt;em&gt;Gauge&lt;/em&gt; 。这个模块通过一个轻量的 express 服务暴露统计数据，以便 Prometheus 来抓取。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>解决 Gitlab 中 the project is still being deleted 错误</title>
      <link>https://himysql.now.sh/post/resovling-the-project-is-still-being-deleted-in-gitlab/</link>
      <pubDate>Wed, 22 Mar 2017 15:51:28 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/resovling-the-project-is-still-being-deleted-in-gitlab/</guid>
      <description>&lt;p&gt;团队使用 gitlab 8.16.6，部署在一个基于 Rancher 的 Docker 集群中。&lt;/p&gt;

&lt;p&gt;最近发生了灵异事件：删除某个项目 Repo 之后，重建一个同名项目，系统会不让你建。无论是新建空项目还是 fork 项目。提示信息如下：&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;xxx Error

You tried to xxx {namespace} / {repo} but it failed for the following reason:

– The project is still being deleted. Please try again later.
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>最简洁的 Alamofire、 SwiftyJSON 和 Haneke 示例</title>
      <link>https://himysql.now.sh/post/simplest-demo-of-alamofire-swiftyjson-and-haneke/</link>
      <pubDate>Mon, 06 Jul 2015 22:25:13 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/simplest-demo-of-alamofire-swiftyjson-and-haneke/</guid>
      <description>import Alamofire import SwiftyJSON import Haneke @IBOutlet weak var imageView: UIImageView! Alamofire.request(.GET, &amp;quot;http://jsonplaceholder.typicode.com/photos&amp;quot;).responseJSON { (request, response, json, error) in // println(json) if (json != nil){ var photo = JSON(json!) // println(photo[0][&amp;quot;url&amp;quot;]) if let urlString = photo[0][&amp;quot;url&amp;quot;].string { self.urlString = urlString let url = NSURL(string: urlString) self.imageView.hnk_setImageFromURL(url!) } } }  </description>
    </item>
    
    <item>
      <title>Hugo 皮肤 NeXT</title>
      <link>https://himysql.now.sh/post/hugo-theme-next/</link>
      <pubDate>Sun, 28 Jun 2015 11:28:19 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/hugo-theme-next/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://himysql.now.sh/post/migrate-blog-to-hugo-from-hexo/&#34;&gt;博客切换到 Hugo&lt;/a&gt; 时需要一个快速、简洁的皮肤。经过多次利用零散闲暇时光的探索与雕琢， 定位于快速、简洁的新款 Hugo 皮肤 &lt;a href=&#34;https://github.com/leopku/hugo-theme-next&#34;&gt;NeXT&lt;/a&gt; 终于从内测迈向第一个 release。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>博客迁移到 Hugo</title>
      <link>https://himysql.now.sh/post/migrate-blog-to-hugo-from-hexo/</link>
      <pubDate>Sun, 14 Jun 2015 22:03:32 +0800</pubDate>
      
      <guid>https://himysql.now.sh/post/migrate-blog-to-hugo-from-hexo/</guid>
      <description>&lt;p&gt;我的博客大概经历了几个纪元&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>你所不知道的 console 对象的五个函数</title>
      <link>https://himysql.now.sh/post/five-functions-of-the-console-object-you-didnt-know/</link>
      <pubDate>Thu, 06 Nov 2014 16:00:56 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/five-functions-of-the-console-object-you-didnt-know/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;文档信息&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;原文&lt;/strong&gt;：&lt;a href=&#34;https://shellycloud.com/blog/2014/11/five-functions-of-the-console-object-you-didnt-know?utm_source=himysql&amp;amp;utm_medium=link&amp;amp;utm_campaign=five-functions-of-the-console-object-you-didnt-know&#34;&gt;https://shellycloud.com/blog/2014/11/five-functions-of-the-console-object-you-didnt-know?utm_source=himysql&amp;amp;utm_medium=link&amp;amp;utm_campaign=five-functions-of-the-console-object-you-didnt-know&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;作者&lt;/strong&gt;：&lt;a href=&#34;https://twitter.com/_bkzl&#34;&gt;@_bkzl&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;日期&lt;/strong&gt;：2014年11月&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;翻译信息&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;译者&lt;/strong&gt;：&lt;a href=&#34;https://twitter.com/leopku&#34;&gt;@leopku&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;链接&lt;/strong&gt;：&lt;a href=&#34;http://www.himysql.com/post/five-functions-of-the-console-object-you-didnt-know/&#34;&gt;http://www.himysql.com/post/five-functions-of-the-console-object-you-didnt-know/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;翻译版本&lt;/strong&gt;：1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;翻译日期&lt;/strong&gt;：2014年11月10&lt;/p&gt;

&lt;p&gt;&lt;code&gt;console.log&lt;/code&gt; 常被用来作为日志之用，但是 Console 对象还有一堆类似有用函数鲜为人知。本文中我将选择五个很有意义、在每天的工作中都能实用，却不是很流行的函数。&lt;/p&gt;

&lt;p&gt;&lt;em&gt;所有的功能均在 Google Chrome 38 版本中测试有效&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>自定义Sublime Text 3 皮肤 Spacegray 和括号配对显示插件 BracketHighlighter 适配 base64-ocean.dark 色彩主题</title>
      <link>https://himysql.now.sh/post/custome-spacegray-theme-and-brackethighter-plugin-to-adapte-base16-ocean-dark-color-theme-for-sublime-text-3/</link>
      <pubDate>Tue, 29 Jul 2014 10:35:32 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/custome-spacegray-theme-and-brackethighter-plugin-to-adapte-base16-ocean-dark-color-theme-for-sublime-text-3/</guid>
      <description>&lt;h1 id=&#34;brackethighlighter&#34;&gt;BracketHighlighter&lt;/h1&gt;

&lt;p&gt;先上一张效果图，请注意最&lt;strong&gt;左边&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&#34;http://ww3.sinaimg.cn/large/704a7617jw1eitdvq5ozrj20n40gewg0.jpg&#34; alt=&#34;&#34; /&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>前端开发之 API 跨域请求代理插件 grunt-connect-proxy 配置 （基于0.1.10版）</title>
      <link>https://himysql.now.sh/post/grunt-connect-proxy-configure/</link>
      <pubDate>Tue, 29 Jul 2014 00:10:14 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/grunt-connect-proxy-configure/</guid>
      <description>&lt;h1 id=&#34;grunt-connect-proxy&#34;&gt;Grunt-connect-proxy&lt;/h1&gt;

&lt;p&gt;最近的前端项目均基于 yoeman 搭建。yeoman 基于 grunt ，默认启动 9000 端口的 WEB 服务，开发起来非常方便。&lt;/p&gt;

&lt;p&gt;不过，我们的后端项目监听在 3000 端口。在向后端请求时，出报跨域的错误。&lt;/p&gt;

&lt;p&gt;幸好，找到了 grunt-connect-proxy 用于代理 API 跨域请求。&lt;/p&gt;

&lt;p&gt;不过，网上好多资料看上去都是基于旧版本的。本文写作时 grunt-connect-proxy 最新版为 0.1.10，网上的配置要么太复杂要么不能正常工作。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>OSX系统下随手建高性能静态文件服务器</title>
      <link>https://himysql.now.sh/post/a-simple-but-high-performance-static-server-under-osx/</link>
      <pubDate>Tue, 01 Jul 2014 12:36:27 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/a-simple-but-high-performance-static-server-under-osx/</guid>
      <description>&lt;h2 id=&#34;场景&#34;&gt;场景&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;临时在局域网内共享一个文件&lt;/li&gt;
&lt;li&gt;从网上当了一个项目（尤其是 js 类前端项目），需要临时起个 Web Server 跑一下试试。&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
    <item>
      <title>Centos Tweak——Centos服务器优化工具</title>
      <link>https://himysql.now.sh/post/centos-tweak/</link>
      <pubDate>Sat, 31 May 2014 00:00:00 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/centos-tweak/</guid>
      <description>&lt;h1 id=&#34;we-proudly-announced-for-centos-tweak-first-release&#34;&gt;We proudly announced for CentOS Tweak first release.&lt;/h1&gt;

&lt;p&gt;CentOS Tweak was a set of commands to optimizing CentOS server, including kernel, network and hard disk  optimize etc.&lt;/p&gt;

&lt;p&gt;It is very useful for automation management of CentOS server farms.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>【2014.4.20更新增加epub版】分享两个电子书整理 《Gevent程序员指南》、《七天学会 NodeJS》（PDF版、EPUB版）</title>
      <link>https://himysql.now.sh/post/pdfs-for-gevent-tutorial-and-7-days-nodejs/</link>
      <pubDate>Sun, 20 Apr 2014 11:05:50 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/pdfs-for-gevent-tutorial-and-7-days-nodejs/</guid>
      <description>&lt;p&gt;《Gevent程序员指南》和《七天学会 NodeJS》是两本非常在线技术资料，但是在线版本不利于移动设备离线时观看。&lt;/p&gt;

&lt;p&gt;这两本 PDF 针对字体做了优化，源代码也作了高亮，适合阅读。在制作过程中，对原文一些细节上的错误作了修正。希望这两本 PDF 成为你马桶、公交、地铁上打发时光的好伙伴。&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;2014年4月20日更新：&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;增加封面&lt;/li&gt;
&lt;li&gt;增加 &lt;code&gt;EPUB&lt;/code&gt; 版本&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h1 id=&#34;gevent程序员指南&#34;&gt;Gevent程序员指南&lt;/h1&gt;

&lt;p&gt;内容来自 &lt;a href=&#34;http://xlambda.com/gevent-tutorial/&#34;&gt;http://xlambda.com/gevent-tutorial/&lt;/a&gt; ，版权和中文版版权分别归原作者与译者所有。感谢原作者与译者的辛苦付出。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>推荐一款小清新的皮肤（附atom和sublime text安装使用方法）</title>
      <link>https://himysql.now.sh/post/base16-theme-for-atom-and-sublime-text/</link>
      <pubDate>Thu, 13 Mar 2014 11:33:38 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/base16-theme-for-atom-and-sublime-text/</guid>
      <description>&lt;p&gt;近日发现名叫 &lt;code&gt;base16&lt;/code&gt; 的皮肤，色调比较柔和，眼睛比较舒服。跟之前一直使用 &lt;code&gt;solorized&lt;/code&gt; 相比，有种小清新的感觉。&lt;/p&gt;

&lt;p&gt;这款皮肤在 &lt;code&gt;atom&lt;/code&gt; 和 &lt;code&gt;sublime text&lt;/code&gt; 中都适用&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>新年福利，HiMysql 同款 HTML5 响应式 Wordpress 皮肤【已github托管】</title>
      <link>https://himysql.now.sh/post/a-wordpress-theme-based-on-semantic-ui/</link>
      <pubDate>Mon, 03 Feb 2014 11:02:46 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/a-wordpress-theme-based-on-semantic-ui/</guid>
      <description>&lt;p&gt;前言：新年没啥红包送给大家，将这款 www.himysql.com 正在使用的 theme 送给大家。这款 theme 年前基本搭好架子，并在 www.himysql.com 上运行了几个月，也曾经在小范围内发布过一次。这几天趁过年忙里偷闲，将这款 theme 完善一下，当作新年福利吧。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Sublime text中快速输入erb相关标签</title>
      <link>https://himysql.now.sh/post/sublime-text-erb-sublime-snippets/</link>
      <pubDate>Sat, 16 Nov 2013 13:28:08 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/sublime-text-erb-sublime-snippets/</guid>
      <description>&lt;h2 id=&#34;场景&#34;&gt;场景&lt;/h2&gt;

&lt;p&gt;经常写erb标签，就会想如何快速地输入一些常用的标签，最常用的就是：&lt;code&gt;&amp;lt;% %&amp;gt;&lt;/code&gt;、&lt;code&gt;&amp;lt;%= %&amp;gt;&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Rspec中获取用户id</title>
      <link>https://himysql.now.sh/post/get-signed-in-user-id-of-devise-in-rspec/</link>
      <pubDate>Mon, 11 Nov 2013 14:02:16 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/get-signed-in-user-id-of-devise-in-rspec/</guid>
      <description>&lt;h3 id=&#34;场景&#34;&gt;场景&lt;/h3&gt;

&lt;p&gt;User(用户)跟某个Model是has_many一对多关联关系，这种情况在项目（尤其是互联网项目）中非常见。通常这种关联在Model中有一列user_id。一个用户不能更新、删除user_id不是他自己id的这个Model的实例。对于这种情况，rspec中如何来测试呢？&lt;/p&gt;

&lt;p&gt;简单来说，可以在rspec先通过session来获取user_id。 下面以devise为例，&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Ubuntu命令行下扫描及加入无线网络</title>
      <link>https://himysql.now.sh/post/ubuntu-scan-and-join-wireless-under-command-line/</link>
      <pubDate>Wed, 24 Jul 2013 22:44:34 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/ubuntu-scan-and-join-wireless-under-command-line/</guid>
      <description>&lt;p&gt;新建或编辑/etc/wpa_supplicant.conf&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>ActiveRecord新建记录时指定ID</title>
      <link>https://himysql.now.sh/post/set-a-custom-id-while-creaing-a-new-activerecord-record/</link>
      <pubDate>Mon, 01 Jul 2013 23:20:48 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/set-a-custom-id-while-creaing-a-new-activerecord-record/</guid>
      <description>&lt;p&gt;ActiveRecord默认数据库都用ID作为主键&lt;/p&gt;

&lt;p&gt;而主键默认都自增&lt;/p&gt;

&lt;p&gt;某些特殊情况下，我们需要自定义ID怎么办（前提是不存在ID冲突）&lt;/p&gt;

&lt;p&gt;目前查到的两个方法：&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>收到Example42的Google Group邀请</title>
      <link>https://himysql.now.sh/post/google-group-invitation-from-example42-a-puppet-module/</link>
      <pubDate>Fri, 10 May 2013 12:40:18 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/google-group-invitation-from-example42-a-puppet-module/</guid>
      <description>&lt;p&gt;Example42是一个非常结构化、高度可复用的 Puppet Module&lt;/p&gt;

&lt;p&gt;通过Example42可以非常灵活地作用puppet，让集群工作不在枯燥乏味。&lt;/p&gt;

&lt;p&gt;之前曾经向Example42贡献过代码，详情请移步&lt;a href=&#34;http://github.com/leopku&#34;&gt;我的Github&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;今天竟然收到Exmaple42的Google Group发来邀请加入的邮件，有点意外也挺高兴。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>AngularJS将页面代码从291行减少到63行</title>
      <link>https://himysql.now.sh/post/angularjs-reduce-codes-from-291-to-63-line/</link>
      <pubDate>Mon, 06 May 2013 11:36:51 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/angularjs-reduce-codes-from-291-to-63-line/</guid>
      <description>遗留的旧系统，近期需要作些改动。
原来的代码写的非常糟糕，在js里拼接html（貌似这种现象很普遍？！）
代码可读性和可维护性非常之低。
索性拿一个页面做试验，引入AngularJS，将不必要的代码剔除。
功能完成后，代码从原有的291行减少到63行（这63行里还超值赠送了瀑布流的效果）。</description>
    </item>
    
    <item>
      <title>rails_admin和cancan报No route matches controller home错误</title>
      <link>https://himysql.now.sh/post/rails-admin-cancan-no-route-matches-controller-home/</link>
      <pubDate>Wed, 17 Apr 2013 23:30:33 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/rails-admin-cancan-no-route-matches-controller-home/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://github.com/sferik/rails_admin&#34;&gt;rails_admin&lt;/a&gt;是一个用来快速构建管理界面的RoR gem。对于普通的CRUD操作，rails_admin足够使用了，虽然不能够完全与Django的Admin界面媲美，但也是快速开发的一大利器。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>源码管理系统Gitlab 5.0&#43;Issue跟踪系统Redmine安装与整合(RVM)</title>
      <link>https://himysql.now.sh/post/ubuntu-12-04-lts-rvm-gitlab-5-redmine-integration/</link>
      <pubDate>Wed, 03 Apr 2013 19:33:03 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/ubuntu-12-04-lts-rvm-gitlab-5-redmine-integration/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;作者 Leopku
微博 &lt;a href=&#34;http://www.himysql.com&#34;&gt;http://www.himysql.com&lt;/a&gt;
微博 &lt;a href=&#34;http://weibo.com/leopku&#34;&gt;http://weibo.com/leopku&lt;/a&gt;
最后更新时间 2013年4月26日&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1 id=&#34;前言&#34;&gt;前言&lt;/h1&gt;

&lt;p&gt;Gitlab是一个开源项目，通过Gitlab可以搭建自己的类Github源码管理平台。&lt;/p&gt;

&lt;p&gt;Gitlab 5.0相对之前的版本，最大改进是底层使用Gitlab自己研发的gitlab-shell代替了来自第三方的Gitolite。改进后的Gitlab将更稳定更高效，避免了之前一些用户遇到的莫名其妙的问题。&lt;/p&gt;

&lt;p&gt;另外，Gitlab 5.0开始，加入了一个非常实用的新功能——跟Redmine的Issue系统整合。Gitlab自带的Issue功能跟Github类似，简洁明快。但是对于某些项目来说，有些轻量级。Redmine的Issue系统要强大很多。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Debian wheezy default Jenkins version issue behind nginx: Missing the &#39;n&#39; HTTP header error</title>
      <link>https://himysql.now.sh/post/debian-wheezy-jenkins-issue-nginx-missing-the-n-http-header-error/</link>
      <pubDate>Wed, 19 Dec 2012 20:02:55 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/debian-wheezy-jenkins-issue-nginx-missing-the-n-http-header-error/</guid>
      <description>&lt;h1 id=&#34;install-jenkins-in-debian-wheezy&#34;&gt;Install Jenkins in Debian wheezy&lt;/h1&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$ aptitude install jenkins -y
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Configure Apache Traffic Server as an proxy.&lt;/p&gt;

&lt;h1 id=&#34;issue&#34;&gt;Issue&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;can&amp;rsquo;t access projects configure page while Jenkins auto access &amp;lsquo;job/tiup/buildHistory/ajax&amp;rsquo; and throughout exception &amp;ldquo;Missing the &amp;lsquo;n&amp;rsquo; HTTP header&amp;rdquo;.&lt;/p&gt;

&lt;p&gt;Configuring another server using nginx as the proxy, this issue was also appeared.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
    <item>
      <title>【译】MySQL如何从完全备份恢复单个InnoDB表</title>
      <link>https://himysql.now.sh/post/how-to-recover-a-single-innodb-table-from-a-full-backup/</link>
      <pubDate>Tue, 31 Jan 2012 16:56:48 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/how-to-recover-a-single-innodb-table-from-a-full-backup/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;文档信息&lt;/strong&gt;：&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;原文&lt;/strong&gt;：&lt;a href=&#34;http://www.mysqlperformanceblog.com/2012/01/25/how-to-recover-a-single-innodb-table-from-a-full-backup/&#34;&gt;http://www.mysqlperformanceblog.com/2012/01/25/how-to-recover-a-single-innodb-table-from-a-full-backup/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;作者&lt;/strong&gt;：&lt;a href=&#34;http://www.mysqlperformanceblog.com/author/miguelangelnieto/&#34;&gt;Miguel Angel Nieto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;日期&lt;/strong&gt;：January 25, 2012&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;翻译信息&lt;/strong&gt;：&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;译者&lt;/strong&gt;：&lt;a href=&#34;http://www.himysql.com&#34;&gt;leopku&lt;/a&gt; （&lt;a href=&#34;http://weibo.com/leopku&#34;&gt;weibo&lt;/a&gt;） &lt;a href=&#34;https://twitter.com/leopkku&#34;&gt;twitter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;链接&lt;/strong&gt;：&lt;a href=&#34;http://www.himysql.com/post/how-to-recover-a-single-innodb-table-from-a-full-backup/&#34;&gt;http://www.himysql.com/post/how-to-recover-a-single-innodb-table-from-a-full-backup/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;翻译版本&lt;/strong&gt;：1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;翻译版权&lt;/strong&gt;：&lt;a href=&#34;http://creativecommons.org/licenses/by-sa/2.0/&#34;&gt;创作共享协议Attribution-ShareAlike 2.0、GNU自由文档许可证&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;翻译日期&lt;/strong&gt;：2012年1月31日&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;译者序&lt;/strong&gt;：曾经因为想要从完全备份文件中恢复某个InnoDB表而在搜索引擎中到处翻。这篇文章给了我们一个非常好的指导。另外，本文还涉及了为什么InnoDB不能拷贝数据库文件等话题。&lt;/p&gt;

&lt;p&gt;有时，数据丢失的问题出现在某些表中，我们只需要从完全备份中恢复这少部分表。在这个特殊的场景中，恢复单张表要比做一次完全恢复要快得多。在MyISAM环境中，恢复单张表要容易得多，但是如果你的环境为InnoDB，这项任务就显得不那么容易了。&lt;/p&gt;

&lt;p&gt;在Oracle原版MySQL中，我们不能任意地在数据库或服务器之间移动ibd文件。究其根源，表定义存储在InnoDB共享表空间(ibdata)，而事务ID和日志序列号保存在表空间文件中，这些对于每个服务器来说都是不一样的。因此，我们的例子非常简单：先删除将要恢复表中部分行。&lt;/p&gt;

&lt;p&gt;&lt;em&gt;下述的限制在 Percona Server 中均已解除。 访问本文的结论一节获取更多信息。本文重点讨论原版 MySQL 如何恢复单张表 。&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Apache以及Redmine使用基于zimbra的LDAP帐号验证</title>
      <link>https://himysql.now.sh/post/apache-authorcation-by-ldap-of-zimbra/</link>
      <pubDate>Tue, 01 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/apache-authorcation-by-ldap-of-zimbra/</guid>
      <description>&lt;h1 id=&#34;apache-2-2-with-authldap-module&#34;&gt;Apache 2.2 with AuthLDAP module&lt;/h1&gt;</description>
    </item>
    
    <item>
      <title>命令行下通过smtp发送邮件的工具——SendmailViaSMTP</title>
      <link>https://himysql.now.sh/post/sending-mail-through-smtp-server-under-console/</link>
      <pubDate>Tue, 28 Sep 2010 18:51:13 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/sending-mail-through-smtp-server-under-console/</guid>
      <description>&lt;p&gt;经常需要在脚本运行结束后，通过邮件发送执行结果报告。&lt;/p&gt;

&lt;p&gt;结果在命令下通过smtp帐号发送邮件真是难啊。找来找去，找到mstmp，很强大的工具。百度和google上很多mutt + msmtp结合发邮件的办法。&lt;/p&gt;

&lt;p&gt;不过mutt + msmtp作为桌面解决方案还是不错的，我要在多台上服务器上发送邮件，难道要这些服务器上都安装mutt？好吧，安装也就算了，这些服务器上都配置一遍mutt的……后来是直接使用了msmtp来发送邮件。&lt;/p&gt;

&lt;p&gt;&lt;del&gt;还编译了msmtp截止发稿时的最新版本1.4.21版的rpm，含i386和x86_84两种架构的。有需要的朋友请留下邮箱。（为什么不直接放博客上？因为好戏在后头）&lt;/del&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Linux文件系统优化</title>
      <link>https://himysql.now.sh/post/linux-file-system-ext3-nfs-optimize/</link>
      <pubDate>Sat, 03 Jul 2010 17:07:11 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/linux-file-system-ext3-nfs-optimize/</guid>
      <description>&lt;h1 id=&#34;关闭按时间判定是否运行fsck-系统时间万一改了呢&#34;&gt;关闭按时间判定是否运行fsck，系统时间万一改了呢？&lt;/h1&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;tune2fs -i0 /dev/vgSVN/lvBackup
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>利用SOHU dag镜像为RHEL/CentOS安装软件较新版本</title>
      <link>https://himysql.now.sh/post/centos-dag-sohu/</link>
      <pubDate>Fri, 26 Feb 2010 13:09:31 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/centos-dag-sohu/</guid>
      <description>&lt;p&gt;RHEL/CentOS官方源中的软件少而旧&lt;/p&gt;

&lt;p&gt;一般都安装Base System后，自行下载所需软件的最新版本编译安装&lt;/p&gt;

&lt;p&gt;但是这样也有一些问题，比如某软件出现安全漏洞，不能及时打上最补丁&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Subversion使用Redmine帐户验证简单应用、高级应用以及优化</title>
      <link>https://himysql.now.sh/post/subversion-redmine-advance/</link>
      <pubDate>Mon, 21 Dec 2009 18:29:09 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/subversion-redmine-advance/</guid>
      <description>&lt;h1 id=&#34;简介&#34;&gt;简介&lt;/h1&gt;

&lt;p&gt;Redmine是一套开源、免费跨平台的项目管理系统，是项目管理界的后起之秀。是中小型开发团队项目管理的首选系统。&lt;/p&gt;

&lt;p&gt;Redmine跟Trac类似，但是支持多项目、wiki、多种版本控制系统（Subversion、Git、Mercurial）。&lt;/p&gt;

&lt;p&gt;Subversion就不累述了。&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Subversion的帐号管理默认只能通过htpasswd添加及管理密码。新员工加入团队或者离开团队时SVN帐号管理起来都非常不方便。通过redmine系统可以实现员工自行操作实现修改密码、忘记密码取回等操作。&lt;/p&gt;

&lt;p&gt;今天就探讨一个使用Redmine帐号来验证Subversion的简单应用及高级应用。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Centos上快速搭建Xen虚拟环境</title>
      <link>https://himysql.now.sh/post/centos-xen/</link>
      <pubDate>Tue, 15 Sep 2009 17:27:53 +0000</pubDate>
      
      <guid>https://himysql.now.sh/post/centos-xen/</guid>
      <description>&lt;p&gt;公司需要重新搭建测试环境。&lt;/p&gt;

&lt;p&gt;趁这个机会，将几台测试服务器全部整成Xen，在Xen里搭建测试环境，环境一旦坏了，重新拷贝一下镜像文件即可，不用重新安装系统了。&lt;/p&gt;

&lt;p&gt;宿主系统centos 5.x&lt;/p&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;yum install xen kernel-xen #懒人，就不编译了
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    
  </channel>
</rss>