Permalink
Browse files

Fix syntax highlighting after move to Pandoc

  • Loading branch information...
iAmMrinal0 committed Jan 28, 2018
1 parent 6873418 commit 20445519e447d4c0a04a5efc086fe1e6a9082a7f
Showing with 701 additions and 154 deletions.
  1. +12 −3 about/index.html
  2. +1 −1 about/index.md
  3. +77 −3 assets/css/all.css
  4. +74 −0 assets/css/custom.css
  5. +2 −2 assets/css/lanyon.css
  6. +1 −1 assets/css/poole.css
  7. +19 −11 blog/a-reliable-device-dies-finally/index.html
  8. +1 −1 blog/a-reliable-device-dies-finally/index.md
  9. +22 −19 blog/a-webserver-in-python-using-asyncio/index.html
  10. +2 −2 blog/a-webserver-in-python-using-asyncio/index.md
  11. +11 −2 blog/init/index.html
  12. +18 −9 blog/nikola-a-new-learning-experience/index.html
  13. +4 −4 blog/nikola-a-new-learning-experience/index.md
  14. +11 −0 blog/page/1/index.html
  15. +16 −7 blog/the-month-that-was-september/index.html
  16. +12 −1 categories/android.xml
  17. +12 −1 categories/asyncio.xml
  18. +12 −1 categories/beginning.xml
  19. +12 −1 categories/books.xml
  20. +12 −1 categories/cat_gadgets.xml
  21. +23 −1 categories/cat_personal.xml
  22. +1 −1 categories/cat_technical.xml
  23. +1 −1 categories/clean.xml
  24. +12 −1 categories/farewell.xml
  25. +12 −1 categories/first.xml
  26. +1 −1 categories/functional-programming.xml
  27. +1 −1 categories/geekskool.xml
  28. +12 −1 categories/google.xml
  29. +12 −1 categories/habit.xml
  30. +1 −1 categories/haskell.xml
  31. +12 −1 categories/http.xml
  32. +12 −1 categories/init.xml
  33. +12 −1 categories/interview.xml
  34. +12 −1 categories/jekyll.xml
  35. +12 −1 categories/learn.xml
  36. +12 −1 categories/lumia-920.xml
  37. +12 −1 categories/lumia.xml
  38. +12 −1 categories/microsoft.xml
  39. +12 −1 categories/nikola.xml
  40. +12 −1 categories/nokia.xml
  41. +12 −1 categories/novels.xml
  42. +12 −1 categories/pelican.xml
  43. +12 −1 categories/phones.xml
  44. +1 −1 categories/python.xml
  45. +12 −1 categories/reading.xml
  46. +12 −1 categories/server.xml
  47. +12 −1 categories/start.xml
  48. +12 −1 categories/static.xml
  49. +12 −1 categories/threads.xml
  50. +12 −1 categories/windows-mobile.xml
  51. +12 −1 categories/windows-phone.xml
  52. +1 −1 galleries/rss.xml
  53. +1 −1 rss.xml
  54. +12 −12 sitemap.xml
  55. +39 −39 sitemapindex.xml
@@ -66,14 +66,23 @@ <h3 id="brand" class="masthead-title">


</header><div class="e-content entry-content" itemprop="articleBody text">
<div>
<!--
.. title: About Me
.. slug: about
.. date: 2016-05-14 23:53:47 UTC+05:30
.. tags:
.. category:
.. link:
.. description: About page of Mrinal Purohit.
.. type: text
-->

<p>Hi, I am Mrinal Purohit and I go by <code>iammrinal0</code> on the interwebz. I am an undergraduate in Computer Science from Amrita School of Engineering, Coimbatore.</p>
<p>I used to dabble with Python writing scripts, cli and web apps to solve trivial tasks. I have tried my hand at desktop application development, Windows 10/Windows Phone app development, however I am drawn to the Web. To check out my projects, head over to <a href="https://github.com/iammrinal0">GitHub</a>.</p>
<p>I was at GeekSkool for quite some time where I fiddled with Python, a bit of Haskell, and contributed to a language called <a href="https://github.com/cleanlang/clean">Clean</a>.</p>
<p>Currently, I am fascinated by functional programming and am learning Haskell/PureScript while being a developer at <a href="https://juspay.in">Juspay</a> writing PureScript.</p>
<p>When I am not wasting time, I solve <a href="http://websudoku.com/" target="_blank">Sudoku</a>, moderate the <a href="https://reddit.com/r/windowsphone" target="_blank">Windows Phone</a> subreddit, solve a problem or two on <a href="http://codewars.com/users/iammrinal0" target="_blank">Codewars</a>, and listen to <a href="https://last.fm/user/iammrinal0" target="_blank">music</a>.</p>
<p>When I am not wasting time, I solve <a href="http://websudoku.com/">Sudoku</a>, moderate the <a href="https://reddit.com/r/windowsphone">Windows Phone</a> subreddit, solve a problem or two on <a href="http://codewars.com/users/iammrinal0">Codewars</a>, and listen to <a href="https://last.fm/user/iammrinal0">music</a>.</p>
<p>Want to collaborate on a project or get in touch with me? The best way is Twitter or mail.</p>
</div>
</div>


@@ -17,6 +17,6 @@ I was at GeekSkool for quite some time where I fiddled with Python, a bit of Has

Currently, I am fascinated by functional programming and am learning Haskell/PureScript while being a developer at [Juspay](https://juspay.in) writing PureScript.

When I am not wasting time, I solve [Sudoku](http://websudoku.com/){:target="_blank"}, moderate the [Windows Phone](https://reddit.com/r/windowsphone){:target="_blank"} subreddit, solve a problem or two on [Codewars](http://codewars.com/users/iammrinal0){:target="_blank"}, and listen to [music](https://last.fm/user/iammrinal0){:target="_blank"}.
When I am not wasting time, I solve [Sudoku](http://websudoku.com/), moderate the [Windows Phone](https://reddit.com/r/windowsphone) subreddit, solve a problem or two on [Codewars](http://codewars.com/users/iammrinal0), and listen to [music](https://last.fm/user/iammrinal0).

Want to collaborate on a project or get in touch with me? The best way is Twitter or mail.
@@ -123,7 +123,7 @@ body {
}

html {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Duru Sans";
font-size: 16px;
line-height: 1.5;
}
@@ -547,11 +547,11 @@ body {
}

html {
font-family: "Lato", sans-serif;
font-family: "Duru Sans";
}

h1, h2, h3, h4, h5, h6 {
font-family: "Lato", sans-serif;
font-family: "Duru Sans";
font-weight: 400;
color: #313131;
letter-spacing: -.025rem;
@@ -1329,3 +1329,77 @@ footer a.fa{
margin-left: 30px;
margin-right: 30px;
}

/* For Kate, now, forever, always! */

code {white-space: pre-wrap;}
span.smallcaps {font-variant: small-caps;}
span.underline {text-decoration: underline;}
div.column {display: inline-block; vertical-align: top; width: 50%;}

a.sourceLine { display: inline-block; line-height: 1.25; }
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
a.sourceLine:empty { height: 1.2em; position: absolute; }
.sourceCode { overflow: visible; }
code.sourceCode { white-space: pre; position: relative; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
code.sourceCode { white-space: pre-wrap; }
a.sourceLine { text-indent: -1em; padding-left: 1em; }
}
pre.numberSource a.sourceLine
{ position: relative; }
pre.numberSource a.sourceLine:empty
{ position: absolute; }
pre.numberSource a.sourceLine::before
{ content: attr(data-line-number);
position: absolute; left: -5em; text-align: right; vertical-align: baseline;
border: none; pointer-events: all;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
background-color: #ffffff;
color: #a0a0a0;
}
pre.numberSource { margin-left: 3em; border-left: 1px solid #a0a0a0; padding-left: 4px; }
div.sourceCode
{ color: #1f1c1b; background-color: #ffffff; }
@media screen {
a.sourceLine::before { text-decoration: underline; }
}
code span. { color: #1f1c1b; } /* Normal */
code span.al { color: #bf0303; background-color: #f7e6e6; font-weight: bold; } /* Alert */
code span.an { color: #ca60ca; } /* Annotation */
code span.at { color: #0057ae; } /* Attribute */
code span.bn { color: #b08000; } /* BaseN */
code span.bu { color: #644a9b; font-weight: bold; } /* BuiltIn */
code span.cf { color: #1f1c1b; font-weight: bold; } /* ControlFlow */
code span.ch { color: #924c9d; } /* Char */
code span.cn { color: #aa5500; } /* Constant */
code span.co { color: #898887; } /* Comment */
code span.cv { color: #0095ff; } /* CommentVar */
code span.do { color: #607880; } /* Documentation */
code span.dt { color: #0057ae; } /* DataType */
code span.dv { color: #b08000; } /* DecVal */
code span.er { color: #bf0303; text-decoration: underline; } /* Error */
code span.ex { color: #0095ff; font-weight: bold; } /* Extension */
code span.fl { color: #b08000; } /* Float */
code span.fu { color: #644a9b; } /* Function */
code span.im { color: #ff5500; } /* Import */
code span.in { color: #b08000; } /* Information */
code span.kw { color: #1f1c1b; font-weight: bold; } /* Keyword */
code span.op { color: #1f1c1b; } /* Operator */
code span.ot { color: #006e28; } /* Other */
code span.pp { color: #006e28; } /* Preprocessor */
code span.re { color: #0057ae; background-color: #e0e9f8; } /* RegionMarker */
code span.sc { color: #3daee9; } /* SpecialChar */
code span.ss { color: #ff5500; } /* SpecialString */
code span.st { color: #bf0303; } /* String */
code span.va { color: #0057ae; } /* Variable */
code span.vs { color: #bf0303; } /* VerbatimString */
code span.wa { color: #bf0303; } /* Warning */
@@ -85,3 +85,77 @@ footer a.fa{
margin-left: 30px;
margin-right: 30px;
}

/* For Kate, now, forever, always! */

code {white-space: pre-wrap;}
span.smallcaps {font-variant: small-caps;}
span.underline {text-decoration: underline;}
div.column {display: inline-block; vertical-align: top; width: 50%;}

a.sourceLine { display: inline-block; line-height: 1.25; }
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
a.sourceLine:empty { height: 1.2em; position: absolute; }
.sourceCode { overflow: visible; }
code.sourceCode { white-space: pre; position: relative; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
code.sourceCode { white-space: pre-wrap; }
a.sourceLine { text-indent: -1em; padding-left: 1em; }
}
pre.numberSource a.sourceLine
{ position: relative; }
pre.numberSource a.sourceLine:empty
{ position: absolute; }
pre.numberSource a.sourceLine::before
{ content: attr(data-line-number);
position: absolute; left: -5em; text-align: right; vertical-align: baseline;
border: none; pointer-events: all;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
background-color: #ffffff;
color: #a0a0a0;
}
pre.numberSource { margin-left: 3em; border-left: 1px solid #a0a0a0; padding-left: 4px; }
div.sourceCode
{ color: #1f1c1b; background-color: #ffffff; }
@media screen {
a.sourceLine::before { text-decoration: underline; }
}
code span. { color: #1f1c1b; } /* Normal */
code span.al { color: #bf0303; background-color: #f7e6e6; font-weight: bold; } /* Alert */
code span.an { color: #ca60ca; } /* Annotation */
code span.at { color: #0057ae; } /* Attribute */
code span.bn { color: #b08000; } /* BaseN */
code span.bu { color: #644a9b; font-weight: bold; } /* BuiltIn */
code span.cf { color: #1f1c1b; font-weight: bold; } /* ControlFlow */
code span.ch { color: #924c9d; } /* Char */
code span.cn { color: #aa5500; } /* Constant */
code span.co { color: #898887; } /* Comment */
code span.cv { color: #0095ff; } /* CommentVar */
code span.do { color: #607880; } /* Documentation */
code span.dt { color: #0057ae; } /* DataType */
code span.dv { color: #b08000; } /* DecVal */
code span.er { color: #bf0303; text-decoration: underline; } /* Error */
code span.ex { color: #0095ff; font-weight: bold; } /* Extension */
code span.fl { color: #b08000; } /* Float */
code span.fu { color: #644a9b; } /* Function */
code span.im { color: #ff5500; } /* Import */
code span.in { color: #b08000; } /* Information */
code span.kw { color: #1f1c1b; font-weight: bold; } /* Keyword */
code span.op { color: #1f1c1b; } /* Operator */
code span.ot { color: #006e28; } /* Other */
code span.pp { color: #006e28; } /* Preprocessor */
code span.re { color: #0057ae; background-color: #e0e9f8; } /* RegionMarker */
code span.sc { color: #3daee9; } /* SpecialChar */
code span.ss { color: #ff5500; } /* SpecialString */
code span.st { color: #bf0303; } /* String */
code span.va { color: #0057ae; } /* Variable */
code span.vs { color: #bf0303; } /* VerbatimString */
code span.wa { color: #bf0303; } /* Warning */
@@ -41,11 +41,11 @@ body {
}

html {
font-family: "Lato", sans-serif;
font-family: "Duru Sans";
}

h1, h2, h3, h4, h5, h6 {
font-family: "Lato", sans-serif;
font-family: "Duru Sans";
font-weight: 400;
color: #313131;
letter-spacing: -.025rem;
@@ -48,7 +48,7 @@ body {
}

html {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Duru Sans";
font-size: 16px;
line-height: 1.5;
}
@@ -87,12 +87,21 @@ <h3 id="brand" class="masthead-title">


</header><div class="e-content entry-content" itemprop="articleBody text">
<div>
<!--
.. title: A reliable device dies, finally
.. slug: a-reliable-device-dies-finally
.. date: 2016-06-24 03:34:56 UTC+05:30
.. tags: lumia, phones, farewell, microsoft, android, windows-phone, google, lumia-920, windows-mobile, nokia
.. category: gadgets
.. link:
.. description: Lumia 920 and how it fared over the past 3 years.
.. type: text
-->

<p>I still remember it like it was yesterday. It was the year 2013 and during the time, I was a fan of Lumia phones, due to its Live Tiles and fluid operating system. There were two models released, the Lumia 820 and the 920, latter being the superior of the two. I decided to buy an 820 as I thought the device was more than enough for my needs. And by a set of unprecedented and unrelated events <!-- TEASER_END --> I ended up getting the 920.</p>
<h2>Pictures, Pictures, and Pictures</h2>
<p>The phone is a bit heavy but right for my hands and how I like it. I have used this phone for nearly everything. Streaming shows via Plex, casting photos on the big screen, playing games, editing documents and photos, making code commits, and the one task I have used it extensively for is taking pictures. Photo below can describe what I actually mean.
<img alt="OneDrive Screen shot of Pictures Folder" src="../../images/screenshot.png"></p>
<h3><em>Text in picture:</em></h3>
<h1 id="pictures-pictures-and-pictures">Pictures, Pictures, and Pictures</h1>
<p>The phone is a bit heavy but right for my hands and how I like it. I have used this phone for nearly everything. Streaming shows via Plex, casting photos on the big screen, playing games, editing documents and photos, making code commits, and the one task I have used it extensively for is taking pictures. Photo below can describe what I actually mean. <img src="../../images/screenshot.png" alt="OneDrive Screen shot of Pictures Folder"></p>
<h2 id="text-in-picture"><em>Text in picture:</em></h2>
<ol>
<li>Mobile uploads - 56</li>
<li>Camera Roll - 6396</li>
@@ -103,25 +112,24 @@ <h3><em>Text in picture:</em></h3>
<li>Camera imports - 1</li>
<li>Screen shots - 4</li>
</ol>
<p>As evident by the numbers, I have clicked around 6400 pictures and these are without considering the ones I have deleted. So over the span of 3+ years, it comes to around <del>6500+</del> 8650+ pictures, with the deleted ones as can be seen from the screen shot below of the local backup of pictures. The photos resulted have been brilliant, to say the least. You can check a few of the pictures on my <a href="https://instagram.com/iammrinal0" target="_blank">instagram</a>.</p>
<p><img alt="Local backup of pictures" src="../../images/camera-roll.png"></p>
<h3>Things the phone has gone through and has survived</h3>
<p>As evident by the numbers, I have clicked around 6400 pictures and these are without considering the ones I have deleted. So over the span of 3+ years, it comes to around <del>6500+</del> 8650+ pictures, with the deleted ones as can be seen from the screen shot below of the local backup of pictures. The photos resulted have been brilliant, to say the least. You can check a few of the pictures on my <a href="https://instagram.com/iammrinal0">instagram</a>.</p>
<p><img src="../../images/camera-roll.png" alt="Local backup of pictures"></p>
<h2 id="things-the-phone-has-gone-through-and-has-survived">Things the phone has gone through and has survived</h2>
<ol>
<li>Survived quite a few 6 feet falls.</li>
<li>Numerous reset and installations of developer builds. (This is riskier than it sounds!)</li>
<li>A dip in the ocean.</li>
</ol>
<h2>So what happened to the device?</h2>
<h1 id="so-what-happened-to-the-device">So what happened to the device?</h1>
<p>It's just another normal day with no issues with the phone when I notice red lines in the middle of the screen. I disregard it with the thought that it might be the wallpaper until I notice it again later in the day. I reboot the device and the lines are gone. So I just ignore it. It's night and I go to sleep and wake up the next morning and was greeted by a screen with rainbow lines. I can hear the sound of calls and texts but no idea who it is or what the content is. After a few restarts even the rainbow lines disappeared and only a blank screen remained. Tried a hard reset too and still no dice. So I take it to Microsoft Care and they say it should take a day to check after they open the phone apart. After a day they call me and inform that the only option is to change the display with the touch panel which would cost me around 15-16k INR. I jokingly request the person not to fix it and would rather purchase a new phone. And I collect my phone back and now it lies on my table as a paperweight.</p>
<h2>Suggestions for a new phone?</h2>
<h1 id="suggestions-for-a-new-phone">Suggestions for a new phone?</h1>
<p>And now I want to try an Android device with battery to get me through the day and durability to hold me for a minimum of 2 years. Unless there are good phones in Android then I would go with Windows Mobile. I currently have the following phones in mind:</p>
<ol>
<li>OnePlus 3 - Preferred</li>
<li>Microsoft Lumia 950</li>
<li>Microsoft Lumia 950XL - doubtful</li>
</ol>
<p>What do you guys think? If you have any suggestions do comment below.</p>
</div>
</div>
<aside class="postpromonav"><nav><ul itemprop="keywords" class="tags">
<li><a class="fa fa-tag tag p-category" aria-hidden="true" id="unq" href="../../categories/android/" rel="tag"> android</a></li>
@@ -26,7 +26,7 @@ The phone is a bit heavy but right for my hands and how I like it. I have used t
7. Camera imports - 1
8. Screen shots - 4

As evident by the numbers, I have clicked around 6400 pictures and these are without considering the ones I have deleted. So over the span of 3+ years, it comes to around ~~6500+~~ 8650+ pictures, with the deleted ones as can be seen from the screen shot below of the local backup of pictures. The photos resulted have been brilliant, to say the least. You can check a few of the pictures on my [instagram](https://instagram.com/iammrinal0){:target="_blank"}.
As evident by the numbers, I have clicked around 6400 pictures and these are without considering the ones I have deleted. So over the span of 3+ years, it comes to around ~~6500+~~ 8650+ pictures, with the deleted ones as can be seen from the screen shot below of the local backup of pictures. The photos resulted have been brilliant, to say the least. You can check a few of the pictures on my [instagram](https://instagram.com/iammrinal0).

![Local backup of pictures](/images/camera-roll.png)

Oops, something went wrong.

0 comments on commit 2044551

Please sign in to comment.