<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Code on Anurag&#39;s Blog</title>
    <link>https://03fa98ff.anurag-codes.pages.dev/categories/code/</link>
    <description>Recent content in Code on Anurag&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Anurag Saxena</copyright>
    <lastBuildDate>Fri, 09 Nov 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://03fa98ff.anurag-codes.pages.dev/categories/code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>TIL: Creating a new file or folder in NerdTree</title>
      <link>https://03fa98ff.anurag-codes.pages.dev/posts/til-creating-a-new-file-or-folder-in-nerdtree/</link>
      <pubDate>Fri, 09 Nov 2018 00:00:00 +0000</pubDate>
      <guid>https://03fa98ff.anurag-codes.pages.dev/posts/til-creating-a-new-file-or-folder-in-nerdtree/</guid>
      <description>&lt;p&gt;To create a new file or folder in NerdTree, bring up the NerdTree menu by typing &lt;code&gt;m&lt;/code&gt;. This brings up a multiple options including:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(a)dd a childnode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(m)ove the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(d)elete the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(r)eveal in Finder the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(o)pen the current node with system editor&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(q)uicklook the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(c)opy the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;(l)ist the current node&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So now you press &lt;code&gt;a&lt;/code&gt; and can type in the file name or the folder that you want to create.&lt;/p&gt;</description>
    </item>
    <item>
      <title>pydoc</title>
      <link>https://03fa98ff.anurag-codes.pages.dev/posts/pydoc/</link>
      <pubDate>Sun, 16 Sep 2018 00:00:00 +0000</pubDate>
      <guid>https://03fa98ff.anurag-codes.pages.dev/posts/pydoc/</guid>
      <description>&lt;p&gt;I gave a talk recently at the &lt;a href=&#34;clepy.org&#34;&gt;Cleveland Python Meetup&lt;/a&gt; on pydoc. Here is the notebook explaining it all: &lt;a href=&#34;https://github.com/CLEpy/CLEpy-MotM/blob/master/pydoc/pydoc.ipynb&#34;&gt;https://github.com/CLEpy/CLEpy-MotM/blob/master/pydoc/pydoc.ipynb&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Git stash</title>
      <link>https://03fa98ff.anurag-codes.pages.dev/posts/git-stash/</link>
      <pubDate>Tue, 24 Jul 2018 00:00:00 +0000</pubDate>
      <guid>https://03fa98ff.anurag-codes.pages.dev/posts/git-stash/</guid>
      <description>&lt;p&gt;Git stash allows you to save your changes to a repo, without any commits, and go back to the clean state that your repo was in since the last commit. I use stash when I have to pull changes from origin into my code, but I don&amp;rsquo;t want to commit any of my own changes. Stash allows to manage merge conflicts as well. You can use stash when you want to switch branches.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How I Merge</title>
      <link>https://03fa98ff.anurag-codes.pages.dev/posts/how-i-merge/</link>
      <pubDate>Thu, 31 May 2018 00:00:00 +0000</pubDate>
      <guid>https://03fa98ff.anurag-codes.pages.dev/posts/how-i-merge/</guid>
      <description>&lt;p&gt;Stage the files&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git add &amp;lt;files&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Commit the files&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git commit -m &amp;#34;&amp;lt;message subject&amp;gt;&amp;#34; -m &amp;#34;&amp;lt;message body, if needed&amp;gt;&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Pull the master&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git pull origin master&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Merge any conflicts and commit. Then,&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git push origin master&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Profit!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
