<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Recreation on Amit Agarwal Linux Blog</title>
    <link>/tags/recreation/</link>
    <description>Recent content in Recreation on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 12 Aug 2013 01:12:55 +0000</lastBuildDate>
    
	<atom:link href="/tags/recreation/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Lal Bagh 2013 – Photos from Flower show on 15 Aug 2013</title>
      <link>/2013/08/12/lal-bagh-2013-photos-flower-show-15-aug-2013/</link>
      <pubDate>Mon, 12 Aug 2013 01:12:55 +0000</pubDate>
      
      <guid>/2013/08/12/lal-bagh-2013-photos-flower-show-15-aug-2013/</guid>
      <description>&lt;p&gt;Its again that time of the year, when visiting &lt;a class=&#34;zem_slink&#34; title=&#34;Lal Bagh&#34; href=&#34;http://maps.google.com/maps?ll=12.95,77.59&amp;spn=0.1,0.1&amp;q=12.95,77.59 (Lal%20Bagh)&amp;t=h&#34; target=&#34;_blank&#34; rel=&#34;geolocation&#34;&gt;Lal Bagh&lt;/a&gt; ( &lt;a class=&#34;zem_slink&#34; title=&#34;Bangalore&#34; href=&#34;http://maps.google.com/maps?ll=12.9666666667,77.5666666667&amp;spn=0.1,0.1&amp;q=12.9666666667,77.5666666667 (Bangalore)&amp;t=h&#34; target=&#34;_blank&#34; rel=&#34;geolocation&#34;&gt;Bangalore , India&lt;/a&gt;) is so much fun. There is a lot of crowd and there are lot of opportunities for photography. So, here are some of the photos 😉&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2013/08/DSC_1427.jpg&#34;&gt;&lt;img class=&#34;aligncenter size-full wp-image-3675&#34; alt=&#34;DSC_1427&#34; src=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2013/08/DSC_1427.jpg?resize=688%2C457&#34; width=&#34;688&#34; height=&#34;457&#34; srcset=&#34;https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2013/08/DSC_1427.jpg?w=1024 1024w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2013/08/DSC_1427.jpg?resize=300%2C199 300w, https://i0.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/2013/08/DSC_1427.jpg?resize=150%2C99 150w&#34; sizes=&#34;(max-width: 688px) 100vw, 688px&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;{.thumbnail}&lt;/p&gt;
&lt;p&gt;For more, visit my &lt;a href=&#34;http://www.flickr.com/photos/raj77_in&#34;&gt;Flickr profile&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/?px&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: none; float: right;&#34; alt=&#34;Enhanced by Zemanta&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>vmstat – what it is and how to use?</title>
      <link>/2011/04/24/vmstat-what-it-is-and-how-to-use/</link>
      <pubDate>Sun, 24 Apr 2011 02:24:52 +0000</pubDate>
      
      <guid>/2011/04/24/vmstat-what-it-is-and-how-to-use/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 300px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://commons.wikipedia.org/wiki/File:Paging_386%28pl%29.svg&#34;&gt;&lt;img title=&#34;Paging on 386 - address translation (polish texts)&#34; src=&#34;http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Paging_386%28pl%29.svg/300px-Paging_386%28pl%29.svg.png&#34; alt=&#34;Paging on 386 - address translation (polish texts)&#34; width=&#34;300&#34; height=&#34;208&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image via Wikipedia&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Vmstat&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Vmstat&#34;&gt;vmstat&lt;/a&gt; provides a summary of various functions within the system, including system wide free memory, paging counters, summarized disk activity, &lt;a class=&#34;zem_slink&#34; title=&#34;System call&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/System_call&#34;&gt;system calls&lt;/a&gt; and cpu utilization.&lt;/p&gt;
&lt;p&gt;The &lt;a class=&#34;zem_slink&#34; title=&#34;Output&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Output&#34;&gt;output&lt;/a&gt; of vmstat and description of what each field means:&lt;/p&gt;
&lt;p&gt;The first line of output from vmstat shows a summary since boot,&lt;br&gt;
followed by the output over the last 3 seconds for each additional line.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Photography – Stock photos on bigstock.</title>
      <link>/2011/02/01/photography-stock-photos-bigstock/</link>
      <pubDate>Tue, 01 Feb 2011 16:12:04 +0000</pubDate>
      
      <guid>/2011/02/01/photography-stock-photos-bigstock/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Couple of days back, one of my friends suggested that I put my &lt;a class=&#34;zem_slink&#34; title=&#34;Photograph&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Photograph&#34;&gt;photos&lt;/a&gt; on &lt;a href=&#34;http://www.bigstockphoto.com/&#34;&gt;bigstock&lt;/a&gt; also along with my site at &lt;a href=&#34;http://shop.amit-agarwal.co.in&#34;&gt;http://shop.amit-agarwal.co.in&lt;/a&gt; . I thought, let me give it a try and created a account on bigstock. After creating the account, I have so far submitted 5 images and four of them got rejected.&lt;/p&gt;
&lt;p&gt;The rejections did not de-motivate me, in-fact this has taught me a lot of things. Some things that I did not know before I submitted my photos there. So, I am going through a &lt;a class=&#34;zem_slink&#34; title=&#34;New Learning&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/New_Learning&#34;&gt;new learning&lt;/a&gt; and this has cost me 80% rejection in bigstock. I am trying with few more photos in next few days and probably I will get a better idea of what is required in the photos. Hope to get the tricks of the trade soon. BTW, another way you can help me keep this blog alive is by buying my photos cheap at bigstock and here is the link to my photo :&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>let a cow tell you your fortune</title>
      <link>/2010/06/03/cow-fortune/</link>
      <pubDate>Thu, 03 Jun 2010 02:00:23 +0000</pubDate>
      
      <guid>/2010/06/03/cow-fortune/</guid>
      <description>&lt;div id=\&#34;usernote\&#34; class=\&#34;note\&#34;&gt;&lt;!--[ad#ad-2]--&gt;&lt;/div&gt; &lt;div class=\&#34;note\&#34;&gt;Here\&amp;#8217;s something that I saw on commandlinefu yesterday. That sent me thinking about some command to have the cow file picked randomly 🙂 So, here\&amp;#8217;s the original command from the commandlinefu:&lt;/div&gt; &lt;div id=\&#34;header\&#34;&gt;
&lt;p&gt;&lt;strong&gt;let a cow tell you your fortune&lt;/strong&gt;&lt;/div&gt;&lt;/p&gt;
&lt;div&gt;
  &lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
    &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
      &lt;tr&gt;
        &lt;td class=&#34;line-numbers&#34;&gt;
          &lt;div&gt;
            1&lt;br /&gt;
          &lt;/div&gt;
        &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;    &amp;lt;td&amp;gt;
      &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
        $ fortune | &amp;lt;a class=&amp;quot;zem_slink freebase/en/cowsay&amp;quot; title=&amp;quot;Cowsay&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.nog.net/%7Etony/warez/cowsay.shtml&amp;quot;&amp;gt;cowsay&amp;lt;/a&amp;gt; -f tux
      &amp;lt;/div&amp;gt;
    &amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
  &lt;div&gt;
    &lt;p&gt;
      Let &lt;a class=\&#34;zem_slink freebase/en/tux\&#34; title=\&#34;Tux\&#34; rel=\&#34;wikipedia\&#34; href=\&#34;http://en.wikipedia.org/wiki/Tux\&#34;&gt;Tux&lt;/a&gt; bring the &lt;a class=\&#34;zem_slink freebase/en/fortune_cookie\&#34; title=\&#34;Fortune cookie\&#34; rel=\&#34;wikipedia\&#34; href=\&#34;http://en.wikipedia.org/wiki/Fortune_cookie\&#34;&gt;fortune cookie&lt;/a&gt;
    &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Finding all numbers that are bigger than 1 in vim</title>
      <link>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</link>
      <pubDate>Thu, 24 Dec 2009 07:37:08 +0000</pubDate>
      
      <guid>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;/^([2-9]d*|1d+)&lt;br&gt;
If we have a csv like structure&lt;/p&gt;
&lt;p&gt;The trick here is simple, lets look at the regex from the begining:&lt;/p&gt;
&lt;p&gt;^ – start from the begining&lt;br&gt;
() – start and end of block&lt;br&gt;
[] – digits within this. So we are looking from 2 to 9 to exclude the numbers begining with 1&lt;br&gt;
d – search for digits&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;– search for one or more&lt;br&gt;
| – or operation&lt;br&gt;
1 – search for numbers begining with 1&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;– containing atleast one occurence or more.&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://sparksspace.blogspot.com/2009/10/adding-leading-zeros-in-excel.html&amp;quot;&amp;gt;Adding Leading Zeros in Excel&lt;/a&gt; (sparksspace.blogspot.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.creativethink.com/2009/11/the-best-thing-about-2010.html&amp;quot;&amp;gt;The Best Thing About &amp;amp;#8221;2010&amp;amp;#8221;&lt;/a&gt; (creativethink.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.revenews.com/jackbusch/google-goggles-the-world-is-your-hyperlink/&amp;quot;&amp;gt;Google Goggles: The World is Your Hyperlink&lt;/a&gt; (revenews.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/e022d83e-669e-4cad-894c-cdab54a1946c/&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e34.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
  </channel>
</rss>
