sidcode - Open Sourcehttps://sidcode.github.io/2015-01-10T16:42:14+00:00The LaTeX course of life2015-01-10T16:42:14+00:002015-01-10T16:42:14+00:00Siddhant Shrivastavatag:sidcode.github.io,2015-01-10:/letters/the-latex-course-of-life/<p>Summer internships&rsquo; deadlines knell by as I key this post. A common section in all application forms is the Curriculum Vitae/Résumé. Having made 2 versions of my résumé in Microsoft Word, the FOSS enthusiast in me felt the pinch. </p> <h2>I decided- my résumé should be in LaTeX - the typesetting …</h2><p>Summer internships&rsquo; deadlines knell by as I key this post. A common section in all application forms is the Curriculum Vitae/Résumé. Having made 2 versions of my résumé in Microsoft Word, the FOSS enthusiast in me felt the pinch. </p> <h2>I decided- my résumé should be in LaTeX - the typesetting framework based on Knuth&rsquo;s TeX.</h2> <p>Having just a theoretical knowledge of how LaTeX worked, I probed into the open-source community. Forked Debarghya Das&rsquo; résumé which I liked because of its brevity and summarization in just one page.</p> <p>This exercise taught me the importance of documentation, yet again. I was not merely modifying someone&rsquo;s LaTeX code. The documentation was edifying and I actually learnt a lot in the process.</p> <p>Ok, enough said. I urge you to try out LaTeX if you haven&rsquo;t already. It has a steep learning curve for certain - but I am sure the hacker in you will be happy to help you climb the TeXy mountain.</p> <p>Alright, back to completing my application forms :) </p>Lessons from the Octopress Setup2014-06-11T23:37:37+00:002014-06-11T23:37:37+00:00Siddhant Shrivastavatag:sidcode.github.io,2014-06-11:/letters/lessons-from-the-octopress-setup/<p>This is my first post on this blog. I am learning to play with the various commands and get a knack of the basic publishing workflow.</p> <div class="highlight"><pre><span></span><code>This is how syntax highlighting is done </code></pre></div> <p>After creating <code>.markdown</code> files, all one has to do is to push changes to the master branch …</p><p>This is my first post on this blog. I am learning to play with the various commands and get a knack of the basic publishing workflow.</p> <div class="highlight"><pre><span></span><code>This is how syntax highlighting is done </code></pre></div> <p>After creating <code>.markdown</code> files, all one has to do is to push changes to the master branch of the remote repo:</p> <div class="highlight"><pre><span></span><code><span class="nv">bundle</span><span class="w"> </span><span class="k">exec</span><span class="w"> </span><span class="nv">rake</span><span class="w"> </span><span class="nv">generate</span><span class="w"></span> <span class="nv">bundle</span><span class="w"> </span><span class="k">exec</span><span class="w"> </span><span class="nv">rake</span><span class="w"> </span><span class="nv">deploy</span><span class="w"></span> </code></pre></div> <p>Git commands to be used:</p> <p>To update the <code>source</code> branch with the latest changes (it is recommended to keep a backup)</p> <div class="highlight"><pre><span></span><code>git add . git commit -m &quot;source update #&quot; git push origin source </code></pre></div> <p>whereas to revert to the master branch, go to the _deploy directory, and run:</p> <div class="highlight"><pre><span></span><code><span class="nv">git</span><span class="w"> </span><span class="nv">pull</span><span class="w"> </span><span class="nv">origin</span><span class="w"> </span><span class="nv">master</span><span class="w"></span> <span class="nv">bundle</span><span class="w"> </span><span class="k">exec</span><span class="w"> </span><span class="nv">rake</span><span class="w"> </span><span class="nv">deploy</span><span class="w"></span> </code></pre></div> <p>To-do:</p> <ol> <li>Add pages: about, travel, competitive programming, open source contributions, BITS work, SciTech News, etc.</li> <li>Understand the different plugins that are available for the blog, and use some of them - like Google Analytics, g+ integration, etc.</li> </ol> <p>Finally, after posting couple of posts on Blogger and WordPress, I feel at home@Octopress.</p> <p>Cheers</p>