<?php xml version="1.0" encoding="UTF-8"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><![CDATA[曲文庆&#39;s Blog]]></title>
<link>http://www.quwenqing.com/</link>
<description><![CDATA[]]></description>
<language>zh-tw</language>
<copyright><![CDATA[CopyRight 2008 F2Blog.com|F2Cont.com All Rights Reserved.]]></copyright>
<webMaster><![CDATA[quwenqing@quwenqing.com ()]]></webMaster>
<atom:link href="http://www.quwenqing.com/rss.html" rel="self" type="application/rss+xml" />
<generator>F2blog .cont 1.1 Build 090810</generator> 
<image>
	<title>曲文庆&#39;s Blog</title> 
	<url>http://www.quwenqing.com/attachments/8278598901.jpg</url> 
	<link>http://www.quwenqing.com/</link> 
	<description>曲文庆&#39;s Blog</description> 
</image>
<item>
	<link>http://www.quwenqing.com/read-252.html</link>
	<title><![CDATA[OpenSSH 7.0 disables ssh-dss keys by default]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[操作系统]]></category>
	<pubDate>Sat, 24 Sep 2016 14:28:28 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-252.html</guid>	
	<description><![CDATA[<p>error:</p><p>ssh -v 1.1.1.1</p><p>debug1: Skipping ssh-dss key /Users/xxx/.ssh/id_dsa - not in PubkeyAcceptedKeyTypes&nbsp;</p><p>Starting with the 7.0 release of OpenSSH, support for ssh-dss keys has</p><p>been disabled by default at runtime due to their inherit weakness. &nbsp;If</p><p>you rely on these key types, you will have to take corrective action or</p><p>risk being locked out.</p><p>Your best option is to generate new keys using strong algos such as rsa</p><p>or ecdsa or ed25519. &nbsp;RSA keys will give you the greatest portability</p><p>with oth</p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-251.html</link>
	<title><![CDATA[sed 中如何替换换行符]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[语言技术]]></category>
	<pubDate>Wed, 24 Aug 2016 15:10:55 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-251.html</guid>	
	<description><![CDATA[<div>使用如下解决方案:</div><div><br /></div><div>sed &#39;:a;N;$!ba;s/n/,/g&#39;</div><div>（/n/ n前面有反斜杠，安全机制过滤了）&nbsp;</div><div>这将在一个循环里读取整个文件，然后将换行符替换成一个空格。</div><div><br /></div><div>说明：</div><div><br /></div><div>1、通过 :a创建一个标记</div><div>2、通过N追加当前行和下一行到模式区域</div><div>3、如果处于最后一行前，跳转到之前的标记处。 $!ba ($! 意思是不在最后一行做这操作 (最后一行就被当成最后的一行）).</div><div>4、最后置换操作把模式区域（就是整个文件）的每一个换行符换成一个空格。</div><div><br /></div><div>示例追加：</div><div>$ echo -e &quot;1 2&quot; | sed &#39;:a;N;$!ba;s/n/,/g&#39;</div><div><span style="font-size: 14.6666669845581px; line-height: 20.5333347320557px">（/n/ n前面有反斜杠，安全机制过滤了）&nbsp;</span>&nbsp;</div><div>1,2</div><div>&nbsp;</div>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-249.html</link>
	<title><![CDATA[sudo: timestamp too far in the future问题解决]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[其他]]></category>
	<pubDate>Mon, 21 Sep 2015 15:16:59 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-249.html</guid>	
	<description><![CDATA[<p><span style="color: #666666; font-family: 宋体, Arial; font-size: 16px; line-height: 26px">今天出现下面的错误，但是系统的当前时间 是对的</span><br /><span style="color: #666666; font-family: 宋体, Arial; font-size: 16px; line-height: 26px">$ sudo -i</span><br /><span style="color: #666666; font-family: 宋体, Arial; font-size: 16px; line-height: 26px">sudo: timestamp too far in the future: Apr 27 11:47:31 2026;</span><br /><br /><span style="color: #666666; font-family: 宋体, Arial; font-size: 16px; line-height: 26px">解决如下：</span><br /><span style="word-wrap: break-word; color: #666666; font-family: 宋体, Arial; font-size: 16px; line-height: 26px" class="postbody">method 1:&nbsp;<br /> =========&nbsp;<br /> I was able to get around this by doing the following:&nbsp;<br /><br /> 1. Check the timestamp sudo reports (will look something like below).&nbsp;<br /> sudo: timestamp too far in the future:&nbsp;Apr 27 11:47:31 2026;&nbsp;<br /><br /> 2. Use Adjust Date &amp; Time to set the date/time to the sudo timestamp or later.&nbsp;<br /><br /> 3. Execute the &#39;sudo -k&#39; command. (Clears the timestamp).&nbsp;<br /><br /> 4.</span></p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-248.html</link>
	<title><![CDATA[Mysql 5.6原生支持单个表的迁移，不需要导出操作]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[数据库]]></category>
	<pubDate>Fri, 29 May 2015 13:02:09 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-248.html</guid>	
	<description><![CDATA[<p>转载：</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">在5.6之前，迁移一个表到另外的服务器，需要使用导入和导出的方式。在5.6版本，可以直接拷贝.ibd文件进行快速的迁移，这对大表的迁移非常有用。</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">前提必须开启innodb_file_per_table选项。</p><p><span style="color: #555555; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 24px; background-color: #f7f7f7">set&nbsp;global&nbsp;innodb_file_per_table&nbsp;=&nbsp;1:</span>&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px"><strong style="margin: 0px; padding: 0px">验证：</strong></p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">源服务器：</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">1、创建表</p><pre class="brush:sql;toolbar: true; auto-links: false;" style="margin-bottom: 1em; padding: 0px; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; width: 653.390625px; overflow: auto; color: #555555; line-height: 24px; background: #f7f7f7">use&nbsp;test;CREATE&nbsp;TABLE&nbsp;t(c1&nbsp;INT)&nbsp;engine=InnoDB;</pre><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">目标服务器：</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">2、创建同样结构的表</p><pre class="brush:sql;toolbar: true; auto-links: false;" style="margin-bottom: 1em; padding: 0px; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; width: 653.390625px; overflow: auto; color: #555555; line-height: 24px; background: #f7f7f7">use&nbsp;test;CREATE&nbsp;TABLE&nbsp;t(c1&nbsp;INT)&nbsp;engine=InnoDB;</pre><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">3、丢弃表空间，在导入之前必须做这步</p><pre class="brush:sql;toolbar: true; auto-links: false;" style="margin-bottom: 1em; padding: 0px; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; width: 653.390625px; overflow: auto; color: #555555; line-height: 24px; background: #f7f7f7">ALTER&nbsp;TABLE&nbsp;t&nbsp;DISCARD&nbsp;TABLESPACE;</pre><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">在mysql 5.6或更高版本，导入表空间的之间的服务版本必须都是GA版本，并在同一个系列；</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">&nbsp;</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">源服务器：</p><p style="margin: 10px 0px; padding: 0px; color: #555555; font-family: STHeiti; font-size: 14px; line-height: 24px">4、静默表，创建.</p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-247.html</link>
	<title><![CDATA[MySQL 5.6 Warning - Using a password on the command line interface can be insecur 解决方案]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[数据库]]></category>
	<pubDate>Thu, 23 Apr 2015 11:52:03 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-247.html</guid>	
	<description><![CDATA[<!--[if gte mso 9]><xml><o:DocumentProperties><o:Revision>0</o:Revision><o:TotalTime>0</o:TotalTime><o:Pages>1</o:Pages><o:Words>103</o:Words><o:Characters>589</o:Characters><o:Company>360</o:Company><o:Lines>4</o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>691</o:CharactersWithSpaces><o:Version>14.0</o:Version></o:DocumentProperties><o:OfficeDocumentSettings><o:AllowPNG/></o:OfficeDocumentSettings></xml><![endif]--><!--[if gte mso 9]><xml><w:WordDocument><w:View>Normal</w:View><w:Zoom>0</w:Zoom><w:TrackMoves/><w:TrackFormatting/><w:PunctuationKerning/><w:DrawingGridVerticalSpacing>10 pt</w:DrawingGridVerticalSpacing><w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery><w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery><w:ValidateAgainstSchemas/><w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid><w:IgnoreMixedContent>false</w:IgnoreMixedContent><w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText><w:DoNotPromoteQF/><w:LidThemeOther>EN-US</w:LidThemeOther><w:LidThemeAsian>ZH-CN</w:LidThemeAsian><w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript><w:Compatibility><w:SpaceForUL/><w:BalanceSingleByteDoubleByteWidth/><w:DoNotLeaveBackslashAlone/><w:ULTrailSpace/><w:DoNotExpandShiftReturn/><w:AdjustLineHeightInTable/><w:BreakWrappedTables/><w:SnapToGridInCell/><w:WrapTextWithPunct/><w:UseAsianBreakRules/><w:DontGrowAutofit/><w:SplitPgBreakAndParaMark/><w:EnableOpenTypeKerning/><w:DontFlipMirrorIndents/><w:OverrideTableStyleHps/><w:UseFELayout/></w:Compatibility><w:NoLineBreaksAfter Lang="JA">$([{£¥·‘“〈《「『【〔〖〝﹙﹛﹝＄（．［｛￡￥</w:NoLineBreaksAfter><w:NoLineBreaksBefore Lang="JA">!%),.:;&gt;?]}¢¨°·ˇˉ―‖’”…‰′″›℃∶、。〃〉》」』】〕〗〞︶︺︾﹀﹄﹚﹜﹞！＂％＇），．：；？］｀｜｝～￠</w:NoLineBreaksBefore><m:mathPr><m:mathFont m:val="Cambria Math"/><m:brkBin m:val="before"/><m:brkBinSub m:val="&#45;-"/><m:smallFrac m:val="off"/><m:dispDef/><m:lMargin m:val="0"/><m:rMargin m:val="0"/><m:defJc m:val="centerGroup"/><m:wrapIndent m:val="1440"/><m:intLim m:val="subSup"/><m:naryLim m:val="undOvr"/></m:mathPr></w:WordDocument></xml><![endif]--><!--[if gte mso 9]><xml><w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="276"><w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal"/><w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/><w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/><w:LsdException Locked="false" Priority="39" Name="toc 1"/><w:LsdException Locked="false" Priority="39" Name="toc 2"/><w:LsdException Locked="false" Priority="39" Name="toc 3"/><w:LsdException Locked="false" Priority="39" Name="toc 4"/><w:LsdException Locked="false" Priority="39" Name="toc 5"/><w:LsdException Locked="false" Priority="39" Name="toc 6"/><w:LsdException Locked="false" Priority="39" Name="toc 7"/><w:LsdException Locked="false" Priority="39" Name="toc 8"/><w:LsdException Locked="false" Priority="39" Name="toc 9"/><w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/><w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title"/><w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/><w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/><w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong"/><w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/><w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/><w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/><w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/><w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/><w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote"/><w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/><w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6"/><w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6"/><w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6"/><w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/><w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/><w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/><w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/><w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/><w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/><w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/><w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6"/><w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/><w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6"/><w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/><w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/><w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/><w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/><w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/><w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title"/><w:LsdException Locked="false" Priority="37" Name="Bibliography"/><w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/></w:LatentStyles></xml><![endif]--><!--[if gte mso 10]><style>  /* Style Definitions */ table.MsoNormalTable &nbsp;&nbsp;&nbsp;&nbsp;{mso-style-name:普通表格; &nbsp;&nbsp;&nbsp;&nbsp;mso-tstyle-rowband-size:0; &nbsp;&nbsp;&nbsp;&nbsp;mso-tstyle-colband-size:0; &nbsp;&nbsp;&nbsp;&nbsp;mso-style-noshow:yes; &nbsp;&nbsp;&nbsp;&nbsp;mso-style-priority:99; &nbsp;&nbsp;&nbsp;&nbsp;mso-style-parent:""; &nbsp;&nbsp;&nbsp;&nbsp;mso-padding-alt:0cm 5.4pt 0cm 5.4pt; &nbsp;&nbsp;&nbsp;&nbsp;mso-para-margin:0cm; &nbsp;&nbsp;&nbsp;&nbsp;mso-para-margin-bottom:.0001pt; &nbsp;&nbsp;&nbsp;&nbsp;mso-pagination:widow-orphan; &nbsp;&nbsp;&nbsp;&nbsp;font-size:12.0pt; &nbsp;&nbsp;&nbsp;&nbsp;fon</style><![endif]-->]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-246.html</link>
	<title><![CDATA[关于confluence头部导航栏快捷链接丢失]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[其他]]></category>
	<pubDate>Mon, 16 Mar 2015 15:35:41 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-246.html</guid>	
	<description><![CDATA[<p style="margin: 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1">confluence使用一段时间后，突然导航栏中的&ldquo;空间&rdquo;、&ldquo;人员&rdquo;、&ldquo;创建&rdquo;、&ldquo;搜索&rdquo;等功能链接丢失，同事大牛查看后如下结论：</p><p style="margin: 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1">&nbsp;</p><p style="margin: 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">这个是1个月后，license 过期的问题。虽然是破解了，但是那种破解不完美，比如导航烂这个，刚初始安装后，导航栏一些配置应该都保存在DB里面（或者其他地方如本地文件），不过是1个月的有效期，而破解的过程应该没有对这个数据做一些变更（变更过期时间），所以没有进一步去细看改哪个数据，所以直接，通过硬编码进来：</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p2">&nbsp;</p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">具体的代码如下：</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1"><br /></span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">$ cat confluence/decorators/includes/aui-header-primary.vm&nbsp;</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p2">&nbsp;</p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">&lt;ul class=&quot;aui-nav&quot;&gt;</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">&nbsp; &nbsp; #* 因为找不到可以改的地方，所以就硬编码进来了 *#</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">&nbsp; &nbsp; #menuMacros_renderHeaderLeftImageLinks()</span></p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px" class="p1"><span class="s1">&nbsp; &nbsp;</span></p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-245.html</link>
	<title><![CDATA[修改了SSH默认端口之后，如何配置git？]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[其他]]></category>
	<pubDate>Fri, 06 Mar 2015 11:29:06 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-245.html</guid>	
	<description><![CDATA[<div><br /></div><div><p style="margin: 1.6em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: baseline; word-wrap: break-word">由于安全或者其它原因，我们可能会修改默认的SSH服务端口号，默认情况下，已有的git项目在pull或者push的时候会报错。</p><p style="margin: 1.6em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: baseline; word-wrap: break-word">现在假设原来的项目的remote设置为git@domain.com:Projects/p1.git，将服务器SSH默认端口修改为3022后，导致push出错。</p><p style="margin: 1.6em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: baseline; word-wrap: break-word"><span style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; font-stretch: inherit; line-height: inherit; vertical-align: baseline">有两个解决办法：</span></p><h2 style="margin: 0.75em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: 1em; font-size: 2.25em; vertical-align: baseline; word-wrap: break-word">一、直接修改URL为SSH://开头</h2><pre style="margin-top: 1.6em; margin-bottom: 1.6em; padding: 6px 10px; border-left-width: 1px; border-color: rgb(170, 170, 170) rgb(170, 170, 170) rgb(204, 204, 204); font-family: monospace, serif; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: middle; box-sizing: border-box; width: 605.484375px; height: auto; border-radius: 2px; outline: none; -webkit-box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; white-space: pre-wrap; word-wrap: break-word; background: #f4f4f4">git remote set-url origin ssh://git@domain.com:3022/~/Projects/p1.git</pre><h2 style="margin: 0.75em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: 1em; font-size: 2.25em; vertical-align: baseline; word-wrap: break-word">二、 修改本地配置文件</h2><pre style="margin-top: 1.6em; margin-bottom: 1.6em; padding: 6px 10px; border-left-width: 1px; border-color: rgb(170, 170, 170) rgb(170, 170, 170) rgb(204, 204, 204); font-family: monospace, serif; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: middle; box-sizing: border-box; width: 605.484375px; height: auto; border-radius: 2px; outline: none; -webkit-box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; white-space: pre-wrap; word-wrap: break-word; background: #f4f4f4">cat&gt;~/.ssh/config # 映射一个别名 host newdomain hostname domain.com port 3022 # ctrl+D</pre><p style="margin: 1.6em 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: baseline; word-wrap: break-word">修改p1.git项目下的git配置文件</p><pre style="margin-top: 1.6em; margin-bottom: 1.6em; padding: 6px 10px; border-left-width: 1px; border-color: rgb(170, 170, 170) rgb(170, 170, 170) rgb(204, 204, 204); font-family: monospace, serif; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: middle; box-sizing: border-box; width: 605.484375px; height: auto; border-radius: 2px; outline: none; -webkit-box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; box-shadow: rgb(255, 255, 255) 0px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 1px inset; white-space: pre-wrap; word-wrap: break-word; background: #f4f4f4">git remote set-url origin git@newdomain:Projects/p1.git</pre><div class="yarpp-related" style="padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-size: 14px; vertical-align: baseline; margin: 1em 0px !important"><hr style="float: none; clear: both; width: 605.484375px; height: 1px; border: none; color: #dddddd; margin: 1.6em 0px; font-family: Arial, Helvetica, sans-serif; line-height: 21px; background: #dddddd" /><br /></div></div>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-244.html</link>
	<title><![CDATA[git命令行与OpenSSH]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[其他]]></category>
	<pubDate>Fri, 06 Mar 2015 11:23:48 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-244.html</guid>	
	<description><![CDATA[<p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px">在OpenSSH中，我们可以很方便的通过编辑&nbsp;~/.ssh/config&nbsp;文件来为git指定不同的host，达到使用不同的端口，不同的密钥访问git服务的目的。看看下面这个例子：</p><p style="margin: 10px 0px 0px; padding: 0px; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px">192.168.0.1这台服务器的SSH服务器使用2012端口，我可以使用&nbsp;git clone git@server1:myrepo.git&nbsp;来获取我的版本库；<br /> 我在git上有两个帐号&nbsp;test&nbsp;和&nbsp;release，需要使用不同的密钥。我可以使用&nbsp;git clone me_test:myrepo.git&nbsp;和&nbsp;git clone me_release:myrepo.git&nbsp;来获取。</p><pre class="codehilite" style="margin-top: 10px; padding: 0px; color: #333333; font-size: 14px; line-height: 20px; background-color: #ffffff">host server1     HostName 192.168.0.1     port 2012     IdentityFile ~/.ssh/server18  host me_test     HostName git     port 22     User git     IdentityFile ~/.ssh/</pre>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-242.html</link>
	<title><![CDATA[windows server 2012 r2 hyper-v vhdx 压缩]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[操作系统]]></category>
	<pubDate>Thu, 15 Jan 2015 11:20:55 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-242.html</guid>	
	<description><![CDATA[<p>hyper-v创建的虚机通过vhdx文件保存在硬盘，使用的童鞋都知道有个坑爹的问题，即vhdx文件不自动压缩，比方说往虚机里添加了100G文件，然后再删除100G文件，vhdx文件会增长100G，但是虚机里删除后，vhdx不会压缩100G，这样会导致vhdx大小不断增长达到设定值，无形中浪费很多空间。</p><p>很多童鞋说，可以用hyper-v的压缩功能，通过往虚机里添加大文件再删除，然后用hyper-v压缩，vhdx果然变小了。但实际应用中这种场景并不多，往往是随着系统使用、打补丁、部署各种应用等行为后，再清理历史备份或垃圾文件后空间释放，这时候用hyper-v压缩，往往没有什么效果。举个例子来说，随着系统补丁更新，万恶的winsxs目录会不断增大，到无法容忍时，可以采取一些机制来清理历史版本，这个时候会释放出大量的磁盘空间，但是用hyper-v压缩，就基本无效了。</p><p>网上hyper-v压缩的资料很多，又是转换格式，又是附加vhdx文件的，基本没有什么效果，难道就无解了么？</p><p>无意中发现微软官方关于hyper-v的一个答复里提到一句话&ldquo;先整理来宾操作系统中的磁盘碎片&rdquo;，联想到，是</p>]]></description>
</item>
<item>
	<link>http://www.quwenqing.com/read-241.html</link>
	<title><![CDATA[Windows Server 2012 增加“磁盘清理”选项]]></title>
	<author><![CDATA[quwenqing@quwenqing.com (曲文庆)]]></author>
	<category><![CDATA[操作系统]]></category>
	<pubDate>Sat, 10 Jan 2015 14:01:59 +0800</pubDate>
	<guid>http://www.quwenqing.com/read-241.html</guid>	
	<description><![CDATA[<div><br /></div><div>用习惯了客户端版的Windows，对于磁盘清理想必大家都不会陌生，他具有安全、快捷、准确、集中化的删除系统中的临时文件、管理系统还原卷影副本、添加删除程序的快捷入口等便捷功能，而在Server版的Windows中&ldquo;磁盘清理&rdquo;默认情况是没有安装的，本文将介绍如何找回&ldquo;磁盘清理&rdquo;。&nbsp;</div><div>&nbsp;</div><div>现象</div><div><br /></div><div>因为磁盘清理属于客户端版Windows的标配，本身并不存在消失等因素，而同时很多针对客户端版Windows的功能均不会默认添加到服务器版Windows中：比如Windows媒体播放器，主题，特效等相对来说属于前台应用的功能。&nbsp;</div><div><br /></div><div>操作方法</div><div><br /></div><div>在计算机管理中选择&ldquo;添加角色和功能&rdquo;</div><div>打开向导，添加一个功能</div><div>配置基于单个服务器的功能或角色</div><div>服务器池中选择需要管理的服务器</div><div>找到User Interfaces and Infrastructure （用户界面与基础功能）下面的Desktop Experience（桌面体验）</div><div>需要添加依赖组件&mdash;&mdash;Ink and handwriting Services（墨迹与手</div>]]></description>
</item>
</channel>
</rss>
