<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Triple-networks</title>
	<atom:link href="http://triple-networks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://triple-networks.com</link>
	<description>Tech Collection</description>
	<lastBuildDate>Sun, 02 Jun 2013 12:53:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Best Practices for Chef</title>
		<link>http://triple-networks.com/2013/06/02/best-practices-for-chef/</link>
		<comments>http://triple-networks.com/2013/06/02/best-practices-for-chef/#comments</comments>
		<pubDate>Sun, 02 Jun 2013 12:53:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[bitly]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[chef]]></category>
		<category><![CDATA[framework]]></category>

		<guid isPermaLink="false">http://triple-networks.com/?p=301</guid>
		<description><![CDATA[Great post about best practices for the Chef framework My current bitly bundle about chef links]]></description>
				<content:encoded><![CDATA[<p><a href="http://dougireton.com/blog/2013/02/16/chef-cookbook-anti-patterns/">Great post about best practices for the Chef framework</a></p>
<p><a href="http://bit.ly/11aQtmX">My current bitly bundle about chef links</a></p>
]]></content:encoded>
			<wfw:commentRss>http://triple-networks.com/2013/06/02/best-practices-for-chef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix: &#8220;perl: warning: Setting locale failed.&#8221;</title>
		<link>http://triple-networks.com/2013/05/09/fix-perl-warning-setting-locale-failed/</link>
		<comments>http://triple-networks.com/2013/05/09/fix-perl-warning-setting-locale-failed/#comments</comments>
		<pubDate>Thu, 09 May 2013 13:26:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[locales]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://triple-networks.com/?p=290</guid>
		<description><![CDATA[On Ubuntu, if you have the following error: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "nl_NL.UTF-8", LC_MONETARY = "nl_NL.UTF-8", LC_COLLATE = "C", LC_ADDRESS = "nl_NL.UTF-8", LC_TELEPHONE &#8230; <a href="http://triple-networks.com/2013/05/09/fix-perl-warning-setting-locale-failed/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>On Ubuntu, if you have the following error:</p>
<p><code><br />
perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = (unset),<br />
LC_ALL = (unset),<br />
LC_TIME = "nl_NL.UTF-8",<br />
LC_MONETARY = "nl_NL.UTF-8",<br />
LC_COLLATE = "C",<br />
LC_ADDRESS = "nl_NL.UTF-8",<br />
LC_TELEPHONE = "nl_NL.UTF-8",<br />
LC_NAME = "nl_NL.UTF-8",<br />
LC_MEASUREMENT = "nl_NL.UTF-8",<br />
LC_IDENTIFICATION = "nl_NL.UTF-8",<br />
LC_NUMERIC = "nl_NL.UTF-8",<br />
LC_PAPER = "nl_NL.UTF-8",<br />
LANG = "en_US.UTF-8"<br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale ("C").<br />
</code></p>
<p>check which locales are autogenerated with:<br />
<strong>$ dpkg-reconfigure locales</strong></p>
<p>(this should also generate the error again)</p>
<p>generate the missing locales with locale-gen, example:<br />
<strong>$ locale-gen nl_NL.UTF-8</strong></p>
<p>you can check if the error is solved with:<br />
<strong>$ dpkg-reconfigure locales</strong></p>
<p>if you want to change your system locale settings<br />
<strong>$ vim /etc/default/locale</strong></p>
<p>(not in &#8220;/etc/environment&#8221;, should be deprecated?)</p>
]]></content:encoded>
			<wfw:commentRss>http://triple-networks.com/2013/05/09/fix-perl-warning-setting-locale-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bestseller products in Magento</title>
		<link>http://triple-networks.com/2012/06/05/bestseller-products-in-magento/</link>
		<comments>http://triple-networks.com/2012/06/05/bestseller-products-in-magento/#comments</comments>
		<pubDate>Tue, 05 Jun 2012 18:55:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[frontend]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://triple-networks.com/?p=272</guid>
		<description><![CDATA[Adding Minimal Price To Any Product Collection in Magento Bestseller products in Magento]]></description>
				<content:encoded><![CDATA[<h2><a title="BestSeller with Minimal Price" href="http://colin.mollenhour.com/2009/06/04/adding-minimal-price-to-any-product-collection-in-magento/" target="_blank">Adding Minimal Price To Any Product Collection in Magento</a></h2>
<p><script src="https://gist.github.com/2876937.js?file=bestseller-minimal-price.php"></script></p>
<h2><a title="inchoo: bestseller-products-in-magento" href="http://inchoo.net/ecommerce/magento/bestseller-products-in-magento/" target="_blank">Bestseller products in Magento</a></h2>
<p><span id="more-272"></span><br />
<script src="https://gist.github.com/2876859.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://triple-networks.com/2012/06/05/bestseller-products-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tooltip Background Color Zend Studio</title>
		<link>http://triple-networks.com/2012/05/03/tooltip-background-color-zend-studio/</link>
		<comments>http://triple-networks.com/2012/05/03/tooltip-background-color-zend-studio/#comments</comments>
		<pubDate>Thu, 03 May 2012 07:52:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome classic]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[zend studio]]></category>

		<guid isPermaLink="false">http://triple-networks.com/?p=266</guid>
		<description><![CDATA[Edit for the theme Ambiance (for example): /usr/share/themes/Ambiance/gtk-3.0/settings.ini /usr/share/themes/Ambiance/gtk-3.0/gtk.css /usr/share/themes/Ambiance/gtk-2.0/gtkrc #000000 - tooltip_bg_color #f5f5b5 - tooltip_fg_color &#160; &#160;]]></description>
				<content:encoded><![CDATA[<p>Edit for the theme Ambiance (for example):</p>
<ul>
<li>/usr/share/themes/Ambiance/gtk-3.0/settings.ini</li>
<li>/usr/share/themes/Ambiance/gtk-3.0/gtk.css</li>
<li>/usr/share/themes/Ambiance/gtk-2.0/gtkrc</li>
</ul>
<ul>
<li>#000000 - tooltip_bg_color</li>
<li>#f5f5b5 - tooltip_fg_color</li>
</ul>
<p>&nbsp;<br />
&nbsp;</p>
<p><script src="https://gist.github.com/2584352.js"> </script></p>
]]></content:encoded>
			<wfw:commentRss>http://triple-networks.com/2012/05/03/tooltip-background-color-zend-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gerrit Batch Abandon</title>
		<link>http://triple-networks.com/2012/05/01/gerrit-batch-abondon/</link>
		<comments>http://triple-networks.com/2012/05/01/gerrit-batch-abondon/#comments</comments>
		<pubDate>Tue, 01 May 2012 10:40:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[gerrit]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://triple-networks.com/?p=256</guid>
		<description><![CDATA[Gerrit Batch Abandon from: http://www.mediawiki.org/wiki/Gerrit/mass_approval We might sometime have to generates a ton of changes. For example when doing a similar change on all our repository. First, you can query gerrit for a list of change using the CLI! A &#8230; <a href="http://triple-networks.com/2012/05/01/gerrit-batch-abondon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Gerrit Batch Abandon</p>
<p><script src="https://gist.github.com/Rud5G/5604323.js"></script></p>
<p><span id="more-256"></span></p>
<p>from: http://www.mediawiki.org/wiki/Gerrit/mass_approval</p>
<p>We might sometime have to generates a ton of changes. For example when doing a similar change on all our repository.<br />
First, you can query gerrit for a list of change using the CLI! A useful alias:<br />
<code>alias gerrit='ssh -p 29418 gerrit.wikimedia.org gerrit'</code></p>
<p><code></code><br />
Then use that to execute a query such as all open changes on topic dotgitreview:<br />
<code>gerrit query 'status:open topic:dotgitreview'</code></p>
<p>With some shell magic, you can get a list of change number:<br />
<code>gerrit query 'status:open topic:dotgitreview' \<br />
| egrep '^ number' | cut -d\ -f4- &gt; CHANGES_NUMBERS</code></p>
<p>Then loop on them and remotely approve the changes!<br />
<code>for i in `cat CHANGES`; do gerrit approve --verified 1 --code-review 2 --submit $i; done ;</code></p>
<p>from: http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/cmd-review.html</p>
<p>Approve the change with commit c0ff33 as &#8220;Verified +1&#8243;</p>
<p><code>$ ssh -p 29418 review.example.com gerrit review --verified +1 c0ff33</code><br />
Append the message &#8220;Build Successful&#8221;. Notice two levels of quoting is required, one for the local shell, and another for the argument parser inside the Gerrit server:</p>
<p><code>$ ssh -p 29418 review.example.com gerrit review -m '"Build Successful"' c0ff33</code><br />
Mark the unmerged commits both &#8220;Verified +1&#8243; and &#8220;Code Review +2&#8243; and submit them for merging:</p>
<p><code>$ ssh -p 29418 review.example.com gerrit review \<br />
  --verified +1 \<br />
  --code-review +2 \<br />
  --submit \<br />
  --project this/project \<br />
  $(git rev-list origin/master..HEAD)</code></p>
<p>Abandon an active change:</p>
<p><code>$ ssh -p 29418 review.example.com gerrit review --abandon c0ff33</code></p>
]]></content:encoded>
			<wfw:commentRss>http://triple-networks.com/2012/05/01/gerrit-batch-abondon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
