Commit 9d325afb authored by Murukesh Mohanan's avatar Murukesh Mohanan

shifted totally to markdown

parent 32508fa2
name: Murukesh Mohanan, IIT Bombay
markdown: kramdown
root_url: ""
defaults:
-
......
......@@ -11,10 +11,10 @@
<title>
{{ page.title }} &ndash; Muru's home page.
</title>
<link rel="stylesheet" href="/styles/{{ page.pagestyle }}.css" type="text/css">
<link rel="stylesheet" href="{{ site.root_url }}/styles/{{ page.pagestyle }}.css" type="text/css">
<!-- Web Fonts FTW! -->
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu">
<script type="text/javascript" src="/murujs.js"></script>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
<script type="text/javascript" src="{{ site.root_url }}/murujs.js"></script>
</head>
<body>
<div id="header">
......@@ -29,10 +29,10 @@
<!-- Navigational link. -->
<h3>
<ul>
<li><a href="/">Main</a></li>
<li><a href="/acad">Acads</a></li>
<li><a href="/resources">Resources</a></li>
<li><a href="/contact">Contact<br> <span id="contact-comment">(Please don't!)</span></a></li>
<li><a href="{{ site.root_url }}/">Main</a></li>
<li><a href="{{ site.root_url }}/acad">Acads</a></li>
<li><a href="{{ site.root_url }}/resources">Resources</a></li>
<li><a href="{{ site.root_url }}/contact">Contact<br> <span id="contact-comment">(Please don't!)</span></a></li>
</ul>
</h3>
</div>
......@@ -44,7 +44,7 @@
<div id="footer">
<div class="section">
<!-- Copyleft FTW! -->
<img src="/images/Copyleft.png" style="height: 1em;" alt="copyleft"> Murukesh Mohanan.
<img src="{{ site.root_url }}/images/Copyleft.png" style="height: 1em;" alt="copyleft"> Murukesh Mohanan.
<p>Permission to use content is granted under <a href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank">the CC BY-SA license</a>.
<p>The font used here is the Ubuntu font, via Google Web Fonts.
</div>
......
root_url: "/~murukesh"
<table id="cann-table">
<thead> <th> Pts </th> <th> Clubs (GD) </th> </thead>
<tr class="cann-row-1">
<td class="cann-point"> 13 </td>
<td class="cann-point"> 0 </td>
<td class="cann-clubs">
<span class="club-name"> Chelsea (9) </span>
</td>
</tr>
<tr class="cann-row-1">
<td class="cann-point"> 12 </td>
<td class="cann-clubs">
</td>
</tr>
<tr class="cann-row-1">
<td class="cann-point"> 11 </td>
<td class="cann-clubs">
</td>
</tr>
<tr class="cann-row-2">
<td class="cann-point"> 10 </td>
<td class="cann-clubs">
<span class="club-name"> Southampton (6) </span>
<span class="club-name"> Arsenal (0) </span>
<span class="club-name"> Aston Villa (0) </span>
</td>
</tr>
<tr class="cann-row-2">
<td class="cann-point"> 9 </td>
<td class="cann-clubs">
<span class="club-name"> Arsenal (4) </span>
<span class="club-name"> Swansea City (2) </span>
</td>
</tr>
<tr class="cann-row-2">
<td class="cann-point"> 8 </td>
<td class="cann-clubs">
<span class="club-name"> Manchester City (3) </span>
<span class="club-name"> Leicester City (1) </span>
</td>
</tr>
<tr class="cann-row-1">
<td class="cann-point"> 7 </td>
<td class="cann-clubs">
<span class="club-name"> West Ham United (1) </span>
<span class="club-name"> Tottenham Hotspur (1) </span>
</td>
</tr>
<tr class="cann-row-1">
<td class="cann-point"> 6 </td>
<td class="cann-clubs">
<span class="club-name"> Hull City (0) </span>
<span class="club-name"> Liverpool (-1) </span>
</td>
</tr>
<tr class="cann-row-1">
<td class="cann-point"> 5 </td>
<td class="cann-clubs">
<span class="club-name"> Manchester United (1) </span>
<span class="club-name"> Stoke City (-1) </span>
<span class="club-name"> Everton (-2) </span>
<span class="club-name"> Crystal Palace (-2) </span>
<span class="club-name"> West Bromwich Albion (-4) </span>
</td>
</tr>
<tr class="cann-row-2">
<td class="cann-point"> 4 </td>
<td class="cann-clubs">
<span class="club-name"> Sunderland (-1) </span>
<span class="club-name"> Queens Park Rangers (-8) </span>
</td>
</tr>
<tr class="cann-row-2">
<td class="cann-point"> 3 </td>
<td class="cann-clubs">
<span class="club-name"> Burnley (-3) </span>
<span class="club-name"> Newcastle United (-6) </span>
<span class="club-name"> Bournemouth (0) </span>
<span class="club-name"> Chelsea (0) </span>
<span class="club-name"> Crystal Palace (0) </span>
<span class="club-name"> Everton (0) </span>
<span class="club-name"> Leicester City (0) </span>
<span class="club-name"> Liverpool (0) </span>
<span class="club-name"> Manchester City (0) </span>
<span class="club-name"> Manchester United (0) </span>
<span class="club-name"> Newcastle United (0) </span>
<span class="club-name"> Norwich City (0) </span>
<span class="club-name"> Southampton (0) </span>
<span class="club-name"> Stoke City (0) </span>
<span class="club-name"> Sunderland (0) </span>
<span class="club-name"> Swansea City (0) </span>
<span class="club-name"> Tottenham Hotspur (0) </span>
<span class="club-name"> Watford (0) </span>
<span class="club-name"> West Bromwich Albion (0) </span>
<span class="club-name"> West Ham United (0) </span>
</td>
</tr>
</table>
<span id="cann-gen-note"> Generated on Monday, 22 September 2014 at 00:00 IST. </span>
<span id="cann-gen-note"> Generated on Thursday, 23 July 2015 at 00:30 IST. </span>
<div id="footer">
<!-- Copyleft FTW! -->
<img src="images/Copyleft.png" style="height: 1em;" alt="copyleft"> Murukesh Mohanan.
<p>Permission to use content is granted under <a href="https://creativecommons.org/licenses/by-sa/3.0/" target="_blank">the CC BY-SA license</a>.
<p>The font used here is the Ubuntu font, via Google Web Fonts.
</div>
<script type="text/javascript">
/* The init() function assigns the event handlers.
*/
MuruJS.init();
</script>
<!--
The common sections in all of my html pages are the header,
the sidebar and the footer.
TODO: Ask the Web team about SSI on the CSE site, so that
the common sections can be put in files included by
the others. - Done
-->
<div id="header">
<h1>Murukesh Mohanan</h1>
<ul>
<li>Second year, Master of Technology in Computer Science
and Engineering</li>
<li>RA, System Administration, CSE</li>
</ul>
</div>
<div id="sidebar">
<!-- Navigational link. -->
<h3>
<ul>
<li><a href="index.html">Main</a></li>
<li><a href="acad.html">Acads</a></li>
<li><a href="resources.html">Resources</a></li>
<li><a href="contact.html">Contact<br> <span id="contact-comment">(Please don't!)</span></a></li>
</ul>
</h3>
</div>
......@@ -3,39 +3,29 @@ title: Murukesh Mohanan
---
<div markdown="1" class="section">
Call me Muru.
</div>
<div markdown="1" class="section">
I am an aspiring BOFH. Often called a psycho.
</div>
<div markdown="1" class="section">
I share the hobby of the masses - reading. :P Favourite books include *The
Green Mile*, *The Wheel of Time* series, the *Foundation* series and the *Rama*
series.
</div>
<div markdown="1" class="section">
I am a Gooner. Favourite players include "Mad Jens" Lehmann, Dennis Bergkamp
and Wojciech Szczęsny. I have been an Arsenal fan since the Champions League
final in Paris, 2006.
</div>
<div markdown="1" class="section">
### Pet peeves include:
- Menus in web pages that don't work in mobile phones, especially one with
touchscreens. See the CSE site for an example.
- Webpages laid out using tables. This one most definitely isn't.
- Sites (really, most about anything) with mostly white backgrounds.
</div>
---
title: Resources
pagestyle: cann-table
permalink: /resources/
---
<div class="section">
A CV template in LaTeX (modified from one obtained online, original included): <br>
<a href="files/CV-LaTeX.tar.gz">CV-LaTeX.tar.gz</a>
</div>
<div class="section">
Some stuff that I drag around with me on my various Linux boxes:
<ol>
<li class="no-marker">Vimrc and vim plugins:
<a href="files/vim.tar.bz2">vim.tar.bz2</a><br>
Currently contains a nifty <code>vimrc</code>, and some plugins:
<ul class="resources-list" id="plugins-list">
<li><a href="http://www.vim.org/scripts/script.php?script_id=2332" target="_blank">Pathogen</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=2736" target="_blank">Syntastic</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1643" target="_blank">SuperTab</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=294" target="_blank">Align</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=884" target="_blank">AutoAlign</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=3109" target="_blank">Latex-Box</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1697" target="_blank">Surround.vim</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=2603" target="_blank">Haskell Cuteness</a></li>
<li><a href="http://www.vim.org/scripts/script.php?script_id=3282" target="_blank">Extended Regex</a></li>
<li><a href="https://github.com/lukerandall/haskellmode-vim" target="_blank">Haskell Mode - Vim</a></li>
<li><a href="https://github.com/dag/vim2hs" target="_blank">Vim to Haskell</a></li>
</ul>
<p style="clear: both;padding-top: 0.5em;">You might wanna do a <code>git pull</code> on some of the plugins inside <code>.vim/bundle</code>.
</li>
<li class="no-marker">Some bash scripts:
<ul class="resources-list" style="list-style: decimal">
<li><a href="files/curlwc.sh">curlwc.sh</a>:
This script uses <a href="http://linux.die.net/man/1/curl" target="_blank">curl(1)</a> to download the target file in parts. Not very robust.
</li>
<li><a href="files/mtcd.sh">mtcd.sh</a>:
This script mounts all arguments in directories within <code>~/cdrom</code> (as ISO9660 images), and also handles unmounting.
</li>
</ul>
These and more can be found on my <a href="https://github.com/murukeshm/scripts" target="_blank">GitHub scrips repo</a>.
</li>
</ol>
</div>
<!--
<div class="section">
<h3 id="cann"><a href="http://www.sussex.ac.uk/Users/iane/cannyclubs.php" target="_blank" >A Cann Table:</a> </h3>
<!--#include virtual="cann-table.html"-->
<p> I have followed the banding used by <a href="http://www.7amkickoff.com/2012/cann-tables-show-the-gap-between-arsenal-and-the-top-is-smaller-than-you-think/">
@7amkickoff</a>.
<p> This table is updated weekly via a cronjob. <br>
The data is scraped from <a href=http://www.premierleague.com/en-gb/matchday/league-table.html" target="_blank">the PL site</a>
without any permission. <br>
Hopefully this will count as personal use. :)
</div>
-->
---
title: Resources
pagestyle: cann-table
permalink: /resources/
---
<div markdown="1" class="section">
A CV template in LaTeX (modified from one obtained online, original included):
[CV-LaTeX.tar.gz](files/CV-LaTeX.tar.gz)
</div>
<div markdown="1" class="section">
Some stuff that I drag around with me on my various Linux boxes:
## Vimrc and vim plugins {#vim}
### [vim.tar.bz2](files/vim.tar.bz2) {#vim-archive}
<div markdown="1" class="resources-list" id="plugins-list">
Currently contains a nifty `vimrc`, and some plugins:
- [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332)
- [Syntastic](http://www.vim.org/scripts/script.php?script_id=2736)
- [SuperTab](http://www.vim.org/scripts/script.php?script_id=1643)
- [Align](http://www.vim.org/scripts/script.php?script_id=294)
- [AutoAlign](http://www.vim.org/scripts/script.php?script_id=884)
- [Latex-Box](http://www.vim.org/scripts/script.php?script_id=3109)
- [Surround.vim](http://www.vim.org/scripts/script.php?script_id=1697)
- [Haskell Cuteness](http://www.vim.org/scripts/script.php?script_id=2603)
- [Extended Regex](http://www.vim.org/scripts/script.php?script_id=3282)
- [Haskell Mode - Vim](https://github.com/lukerandall/haskellmode-vim)
- [Vim to Haskell](https://github.com/dag/vim2hs)
</div>
You might wanna do a `git pull` on some of the plugins inside `.vim/bundle`.
---
## Some scripts {#scripts}
<div markdown="1" class="resources-list">
- [curlwc.sh](files/curlwc.sh):
This script uses [curl(1)](http://linux.die.net/man/1/curl) to download the target file in parts. Not very robust.
- [mtcd.sh](files/mtcd.sh):
This script mounts all arguments in directories within `~/cdrom` (as ISO9660 images), and also handles unmounting.
</div>
These and more can be found on my [Github scrips repo](https://github.com/murukeshm/scripts).
</div>
<div markdown="1" class="section">
## [A Cann Table][cann-table] {#cann}
{% include_relative cann-table.html %}
I have followed the banding used by [@7amkickoff][7amkickoff].
This table is updated weekly via a cronjob.
The data is scraped from [the PL site][epl]
without any permission.
Hopefully this will count as personal use. :)
[cann-table]: http://www.sussex.ac.uk/Users/iane/cannyclubs.php
[7amkickoff]: http://www.7amkickoff.com/2012/cann-tables-show-the-gap-between-arsenal-and-the-top-is-smaller-than-you-think/
[epl]: http://www.premierleague.com/en-gb/matchday/league-table.html
</div>
@import 'style.css';
#plugins-list {
overflow: auto;
}
#plugins-list li {
float: left;
width: 10em;
......
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>
CSE Sysads
</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div id="header">
<div id="title" st>
<h1>Department of Computer Science</h1>
<h2>System Administration</h2>
</div>
<a href="https://www.cse.iitb.ac.in/bugs/enter_bug.cgi?product=Sysads" target="_blank"> <div id="bug" class="bugs"> Need help? File a bug! </div></a>
<a href="https://www.cse.iitb.ac.in/bugs/enter_bug.cgi?product=Syscomm" target="_blank"> <div id="query" class="bugs"> Need a system? Apply here! </div></a>
<!--<ul id="bugs">-->
<!--<li> <a> </a> </li>-->
<!--</ul>-->
</div>
<nav id="sidebar">
<ul id="nav">
<a href="#accounts"><li> Accounts </li> </a>
<a href="#mail"> <li> Mail </li> </a>
<a href="#net"> <li> Networking </li> </a>
<a href="#infra"> <li> Infrastructure </li> </a>
<a href="#policy"> <li> Policies </li> </a>
<a href="#other"> <li> Other things </li> </a>
</ul>
</nav>
<div id="main">
<div id="accounts" class="section">
<a href=# class="top"></a>
<!--#include virtual="accounts.html"-->
</div>
<div id="mail" class="section">
<a href=# class="top"></a>
<!--#include virtual="mail.html"-->
</div>
<div id="infra" class="section">
<a href=# class="top"></a>
<!--#include virtual="infra.html"-->
</div>
<div id="net" class="section">
<!--#include virtual="net.html"-->
<a href=# class="top"></a>
</div>
<div id="policy" class="section">
<a href=# class="top"></a>
<!--#include virtual="policy.html"-->
</div>
<div id="other" class="section">
<a href=# class="top"></a>
</div>
</div>
</body>
</html>
/** Global CSS file, contains common styles.
* Styles for individual pages with page-specific changes
* are provided in the styles/ directory, if needed.
* The styles are arranged thus:
* 1. divs and other named tags.
* 2. Sub-elements of the above.
* 3. Unnamed tags.
* 4. Sub-elements of the above.
*/
#header {
border-bottom: 0.2em solid white;
padding: 0.1em 3%;
margin: 0;
font-variant: small-caps;
font-size: 2em;
text-align: center;
}
/** The #main div is given a min-height so that it isn't
* squished on pages with little content, or for displays
* that are tall (like phones in portrait mode).
* Height obtained by trial-and-error on a Nexus 4
* Chrome browser. Didn't work on a Nexus 4 Opera Mini.
*/
#main {
padding: 1em 2em;
min-height: 42em;
/*margin-left: 15%;
float: right;*/
display: inline-block;
}
/** To be used when CSE enables SSI.
* #footer-include {
* clear: both;
* width: 100%;
* overflow: auto;
* border-top: 0.2em solid white;
* }
*/
#footer {
clear: both;
padding: 2%;
padding-bottom: 1%;
font-size: 80%;
border-top: 0.25em solid white;
}
#contact-comment {
display: none;
}
div.bugs {
/*list-style: none;*/
border: 0.1em gray solid;
padding: 0.5em;
color: black;
background: grey;
box-shadow: 0.1em 0.1em 0.2em 0 rgba(128,128,128,0.75);
border-radius: 0.3em;
}
#bug a, #query a{
color: black;
}
#sidebar li {
margin-bottom: 0.1em;
padding: 0.5em 0.5em;
border-radius: 0.3em;
background-color: #999999;
}
#sidebar a {
text-decoration: none;
}
#sidebar a:visited {
color: black;
}
#main li {
padding: 0.5em 0;
margin-left: 0.5em;
}
#main ul {
margin: 0 0 0.75em 0.75em;
padding: 0;
}
#footer img {
height: 1em;
}
html {
background-color: black; /*#404040;*/
}
body {
font-family: 'Ubuntu Mono', 'Ubuntu', 'Droid Mono', 'Droid', 'Verdana', sans;
/*font-size: 16px;*/
margin: 0 auto;
padding: 0;
color: #121212;
background-color: #CCCCCC;
width: 100%;
/* width: 60em;*/
}
h1 {
font-size: 2em;
}
h3 {
margin-top: 0;
}
code {
font-family: 'Ubuntu Mono', 'Droid Mono', monospace;
color: #0D0;
}
a:link {
color: #022;
}
a:visited {
color: #1387B4;
}
a:hover {
/* text-shadow: 0 0 2px #999;*/
font-weight: bold;
}
ol li, ul ol li {
list-style: decimal;
}
ul li {
/*list-style-image: url("images/not_sign.png");*/
}
.section {
background: white;
color: black;
box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(128,128,128,0.75);
border-radius: 0.5em;
margin-bottom: 1em;
padding: 1em;
text-align: left;
}
.section li {
list-style: none;
}
.top {
float: right;
background: rgb(213, 213, 213);
padding: 0.5em;
/* vertical-align: top; */
border-radius: 0.2em;
border: 0.2em solid gray;
margin-top: -1em;
font-size: 1.5em;
}
@media screen and (orientation:landscape) {
#header h1, #header h2 {
margin: 0;
}
#sidebar {
padding-top: 1%;
/* min-height: 42em;
float: left;*/
display: inline-block;
font-size: 2em;
clear: both;
text-align: right;
height: 100%;
vertical-align: top;
width: 8em;
}
#sidebar ul {
padding: 0;
border-top: 0.1em solid gray;
/*border-bottom: 0.1em solid gray;
border-right: 0.2em solid white;*/
border-radius: 0.3em;
}
#sidebar li {
border-bottom: 0.1em solid gray;
border-right: 0.1em solid gray;
list-style: none;
}
div.bugs {
margin: 0.5em;
display: inline-block;
}
#nav li:hover {
box-shadow: 0.1em 0.1em 0.15em 0.05em rgba(100,100,100,0.75);
}
#main {
max-width: 70%;
min-width: 22em;
width: 60%;
}
}
@media screen and (orientation:portrait) {
#sidebar {
width: 90%;
/* min-height: 42em;*/
font-size: 2.5em;
clear: both;
text-align: center;
margin: 0 auto;
}
#sidebar ul {
padding: 0;
border-radius: 0.3em;
}
#sidebar li {
border-bottom: 0.1em solid gray;
list-style: none;
border-radius: 0.3em;
margin: 0.2em;
}
div.bugs {
margin: 0.5em;
font-size: 1.5em;
}
#main, body {
text-align: center;
}
.section {
width: 85%;
font-size: 2em;
margin: 2em auto;
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment