Commit d9e90132 authored by Murukesh Mohanan's avatar Murukesh Mohanan

switch to dark theme, test gitlab pages

parent 32ab7605
...@@ -2,3 +2,4 @@ Gemfile.lock ...@@ -2,3 +2,4 @@ Gemfile.lock
.*.sw? .*.sw?
_site/ _site/
_site/** _site/**
.jekyll-metadata
# requiring the environment of Ruby 2.1.x
image: ruby:2.1
# add bundle cache to 'vendor' for speeding up builds
cache:
paths:
- vendor/
before_script:
- bundle install --path vendor
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
script:
- bundle exec jekyll build -d public/
artifacts:
paths:
- public
only:
- master # this job will affect only the 'master' branch
name: Murukesh Mohanan, IIT Bombay name: Murukesh Mohanan, IIT Bombay
base-url: "" base-url: ""
timezone: Asia/Kolkatta timezone: Asia/Kolkatta
myurl: http://murukesh.me/ url: https://murukesh.me
enforce_ssl: murukesh.me
section_separator: "<!-- section -->" section_separator: "<!-- section -->"
gems: gems:
...@@ -25,3 +26,5 @@ pages_list: ...@@ -25,3 +26,5 @@ pages_list:
Resources: 'resources' Resources: 'resources'
Blog: 'blog' Blog: 'blog'
Contact: 'contact' Contact: 'contact'
exclude: [vendor, "Gemfile", "Gemfile.lock"]
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
on Android, uncomment this meta tag. The weird font size on Android, uncomment this meta tag. The weird font size
is due to "font boosting". is due to "font boosting".
--> -->
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
<meta name="HandheldFriendly" content="true"> <meta name="HandheldFriendly" content="true">
<meta charset="utf-8"> <meta charset="utf-8">
<title> <title>
{{ page.title }} &ndash; Muru's home page. {{ page.title }} &ndash; Muru
</title> </title>
<link rel="stylesheet" href="{{ site.base-url }}/styles/style.css" type="text/css"> <link rel="stylesheet" href="{{ site.base-url }}/styles/style.css" type="text/css">
{% if page.pagestyle %} {% if page.pagestyle %}
...@@ -16,7 +17,9 @@ ...@@ -16,7 +17,9 @@
{% else %} {% else %}
{% assign pagestyle = layout.pagestyle %} {% assign pagestyle = layout.pagestyle %}
{% endif %} {% endif %}
{% if pagestyel %}
<link rel="stylesheet" href="{{ site.base-url }}/styles/{{ pagestyle }}.css" type="text/css"> <link rel="stylesheet" href="{{ site.base-url }}/styles/{{ pagestyle }}.css" type="text/css">
{% endif %}
<!-- Web Fonts FTW! --> <!-- Web Fonts FTW! -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
<meta property="fb:app_id" content="658633094275731"/> <meta property="fb:app_id" content="658633094275731"/>
......
...@@ -18,17 +18,17 @@ pagestyle: posts ...@@ -18,17 +18,17 @@ pagestyle: posts
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date"> <time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">
{{ page.date | date: "%B %e, %Y" }} {{ page.date | date: "%B %e, %Y" }}
</time> </time>
{% if page.tags.size > 0 %}
<ol class="tags-list">
{% for page_tag in page.tags %}
{% assign tag = site.data.tags[page_tag] %}
{% if tag %}
<li><a class="tag" href="/blog/tag/{{ page_tag }}/">{{ tag.name }}</a></li>
{% endif %}
{% endfor %}
</ol>
{% endif %}
</h1> </h1>
{% if page.tags.size > 0 %}
<ol class="tags-list">
{% for page_tag in page.tags %}
{% assign tag = site.data.tags[page_tag] %}
{% if tag %}
<li><a class="tag" href="/blog/tag/{{ page_tag }}/">{{ tag.name }}</a></li>
{% endif %}
{% endfor %}
</ol>
{% endif %}
</header> </header>
{% assign sections = content | split: site.section_separator %} {% assign sections = content | split: site.section_separator %}
...@@ -40,7 +40,7 @@ pagestyle: posts ...@@ -40,7 +40,7 @@ pagestyle: posts
<section class="comments"> <section class="comments">
<div class="fb-comments" <div class="fb-comments"
data-href="{{site.myurl}}{{page.url}}" data-href="{{site.url}}{{page.url}}"
data-width="100%" data-width="100%"
data-numposts="10" data-numposts="10"
data-colorscheme="dark"> data-colorscheme="dark">
...@@ -51,7 +51,7 @@ pagestyle: posts ...@@ -51,7 +51,7 @@ pagestyle: posts
/* * * CONFIGURATION VARIABLES * * */ /* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'muru'; var disqus_shortname = 'muru';
var disqus_identifier = '{{ page.url }}'; var disqus_identifier = '{{ page.url }}';
var disqus_url = '{{ site.myurl }}{{ page.url }}'; var disqus_url = '{{ site.url }}{{ page.url }}';
/* * * DON'T EDIT BELOW THIS LINE * * */ /* * * DON'T EDIT BELOW THIS LINE * * */
(function() { (function() {
......
...@@ -222,13 +222,13 @@ All told: ...@@ -222,13 +222,13 @@ All told:
## Footnote ## Footnote
This is my first blog post using [Jekyll](http://jekyllrb.com/). Writing it, I This is my first blog post using [Jekyll](https://jekyllrb.com/). Writing it, I
have learned quite a bit, which I will write about in another post soon. have learned quite a bit, which I will write about in another post soon.
[Unix.SE]: http://unix.stackexchange.com [Unix.SE]: http://unix.stackexchange.com
[Vim.SE]: http://vi.stackexchange.com [Vim.SE]: http://vi.stackexchange.com
[man]: http://man7.org/linux/man-pages/man1/man.1.html [man]: http://man7.org/linux/man-pages/man1/man.1.html
[1]: http://unix.stackexchange.com/a/1853/70524 [1]: http://unix.stackexchange.com/a/1853/70524
[nomod]: http://vimhelp.appspot.com/options.txt.html#%27nomod%27 [nomod]: https://vimhelp.appspot.com/options.txt.html#%27nomod%27
[vimenter]: http://vimhelp.appspot.com/autocmd.txt.html#VimEnter [vimenter]: https://vimhelp.appspot.com/autocmd.txt.html#VimEnter
[man-in-vim]: {{ site.base-url }}/images/vim-man.png [man-in-vim]: {{ site.base-url }}/images/vim-man.png
...@@ -12,8 +12,8 @@ terrible.) ...@@ -12,8 +12,8 @@ terrible.)
I needed to set it up so that the site would work across the three ways it can I needed to set it up so that the site would work across the three ways it can
be accessed: be accessed:
- [Github Pages](http://murukeshm.github.io) - [Github Pages](https://murukeshm.github.io)
- [Personal domain](http://murukesh.me) - [Personal domain](https://murukesh.me)
- [CSE homepage](https://www.cse.iitb.ac.in/~murukesh) - [CSE homepage](https://www.cse.iitb.ac.in/~murukesh)
Github Pages, while decidedly convenient for starting out, is not so convenient Github Pages, while decidedly convenient for starting out, is not so convenient
...@@ -216,8 +216,8 @@ I decided to use [`device-aspect-ratio` instead][my-answer]. ...@@ -216,8 +216,8 @@ I decided to use [`device-aspect-ratio` instead][my-answer].
[pygments]: http://pygments.org/ [pygments]: http://pygments.org/
[rouge]: https://github.com/jneen/rouge [rouge]: https://github.com/jneen/rouge
[proper-line-numbers]: http://drewsilcock.co.uk/proper-linenumbers/ [proper-line-numbers]: https://drewsilcock.co.uk/proper-linenumbers
[google+ comments]: http://browsingthenet.blogspot.in/2013/04/google-plus-comments-on-any-website.html [google+ comments]: https://browsingthenet.blogspot.in/2013/04/google-plus-comments-on-any-website.html
[github issues]: http://ivanzuzak.info/2011/02/18/github-hosted-comments-for-github-hosted-blogs.html [github issues]: http://ivanzuzak.info/2011/02/18/github-hosted-comments-for-github-hosted-blogs.html
[facebook comments]: https://developers.facebook.com/docs/plugins/comments [facebook comments]: https://developers.facebook.com/docs/plugins/comments
[disqus]: https://disqus.com/admin/universalcode [disqus]: https://disqus.com/admin/universalcode
......
...@@ -12,26 +12,26 @@ permalink: /acad/ ...@@ -12,26 +12,26 @@ permalink: /acad/
# Sem III # Sem III
- [CS 601](http://www.cse.iitb.ac.in/page134?course=CS+601): Algorithms and Complexity - [CS 601](https://www.cse.iitb.ac.in/page134?course=CS+601): Algorithms and Complexity
- [CS 626](http://www.cse.iitb.ac.in/page134?course=CS+626): Speech, Natural Language Processing and the Web - [CS 626](https://www.cse.iitb.ac.in/page134?course=CS+626): Speech, Natural Language Processing and the Web
- [CS 724](http://www.cse.iitb.ac.in/page134?course=CS+724): Network Security and Cryptography - 2 - [CS 724](https://www.cse.iitb.ac.in/page134?course=CS+724): Network Security and Cryptography - 2
<!-- section --> <!-- section -->
# Sem II # Sem II
- CS 534: Quantum Information and Computing - CS 534: Quantum Information and Computing
- [CS 715](http://www.cse.iitb.ac.in/page134?course=CS+715): Design and Implementation of GNU Compiler Generation Framework - [CS 715](https://www.cse.iitb.ac.in/page134?course=CS+715): Design and Implementation of GNU Compiler Generation Framework
- [CS 726](http://www.cse.iitb.ac.in/page134?course=CS+726): Advanced Machine Learning - [CS 726](https://www.cse.iitb.ac.in/page134?course=CS+726): Advanced Machine Learning
<!-- section --> <!-- section -->
# Sem I # Sem I
- [CS 613](http://www.cse.iitb.ac.in/page134?course=CS+613): Design and Implementation of Functional Programming Languages - [CS 613](https://www.cse.iitb.ac.in/page134?course=CS+613): Design and Implementation of Functional Programming Languages
- [CS 618](http://www.cse.iitb.ac.in/page134?course=CS+618): Program Analysis - [CS 618](https://www.cse.iitb.ac.in/page134?course=CS+618): Program Analysis
- [CS 621](http://www.cse.iitb.ac.in/page134?course=CS+621): Artificial Intelligence - [CS 621](https://www.cse.iitb.ac.in/page134?course=CS+621): Artificial Intelligence
- [CS 719](http://www.cse.iitb.ac.in/page134?course=CS+719): Topics in Mathematical Foundations of Formal Verification - [CS 719](https://www.cse.iitb.ac.in/page134?course=CS+719): Topics in Mathematical Foundations of Formal Verification
<!-- section --> <!-- section -->
......
...@@ -14,16 +14,16 @@ layout: default ...@@ -14,16 +14,16 @@ layout: default
{{ post.date | date: "%B %e, %Y" }} {{ post.date | date: "%B %e, %Y" }}
</time> </time>
{% if post.tags.size > 0 %} {% if post.tags.size > 0 %}
<ol class="tags-list">
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
{% if tag %}
<li><a class="tag" href="/blog/tag/{{ post_tag }}/">{{ tag.name }}</a></li>
{% endif %}
{% endfor %}
</ol>
{% endif %}
</h1> </h1>
<ol class="tags-list">
{% for post_tag in post.tags %}
{% assign tag = site.data.tags[post_tag] %}
{% if tag %}
<li><a class="tag" href="/blog/tag/{{ post_tag }}/">{{ tag.name }}</a></li>
{% endif %}
{% endfor %}
</ol>
{% endif %}
</header> </header>
<hr> <hr>
......
...@@ -22,5 +22,5 @@ Online: ...@@ -22,5 +22,5 @@ Online:
- [Facebook](https://facebook.com/murukesh) - [Facebook](https://facebook.com/murukesh)
- [Google+](https://plus.google.com/+murukeshmohanan/) - [Google+](https://plus.google.com/+murukeshmohanan/)
- [Main Blog](http://murukeshm.blogspot.in/) - [Main Blog](https://murukeshm.blogspot.in/)
- [Second Blog](http://linuxexperiments.blogspot.in/) - [Second Blog](https://linuxexperiments.blogspot.in/)
favicon.ico

1.12 KB

images/Copyleft.png

6.73 KB | W: | H:

images/Copyleft.png

1.78 KB | W: | H:

images/Copyleft.png
images/Copyleft.png
images/Copyleft.png
images/Copyleft.png
  • 2-up
  • Swipe
  • Onion skin
images/github.png

2.56 KB | W: | H:

images/github.png

3.95 KB | W: | H:

images/github.png
images/github.png
images/github.png
images/github.png
  • 2-up
  • Swipe
  • Onion skin
images/not_sign.png

175 Bytes | W: | H:

images/not_sign.png

159 Bytes | W: | H:

images/not_sign.png
images/not_sign.png
images/not_sign.png
images/not_sign.png
  • 2-up
  • Swipe
  • Onion skin
--- ---
title: Murukesh Mohanan title: About Me
--- ---
Call me Muru. Call me Muru.
......
...@@ -7,7 +7,7 @@ permalink: /resources/ ...@@ -7,7 +7,7 @@ permalink: /resources/
Currently contains a nifty `vimrc`, and some plugins: Currently contains a nifty `vimrc`, and some plugins:
- [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332) - [vim-plug](https://github.com/junegunn/vim-plug)
- [ctrlp.vim](https://github.com/ctrlpvim/ctrlp.vim.git) - [ctrlp.vim](https://github.com/ctrlpvim/ctrlp.vim.git)
- [diffchar.vim](https://github.com/vim-scripts/diffchar.vim) - [diffchar.vim](https://github.com/vim-scripts/diffchar.vim)
- [molokai](https://github.com/tomasr/molokai.git) - [molokai](https://github.com/tomasr/molokai.git)
...@@ -26,19 +26,30 @@ Currently contains a nifty `vimrc`, and some plugins: ...@@ -26,19 +26,30 @@ Currently contains a nifty `vimrc`, and some plugins:
- [YouCompleteMe](https://github.com/Valloric/YouCompleteMe.git) - [YouCompleteMe](https://github.com/Valloric/YouCompleteMe.git)
{: #plugins-list} {: #plugins-list}
In addition, I'm writing my own plugin for using [Vim as a
`MANPAGER`](/2015/08/28/vim-for-man.html):
- [vim-manpager](https://github.com/murukesh/vim-manpager)
Old plugins: Old plugins:
- [vim-colorschemes](https://github.com/flazz/vim-colorschemes.git) &mdash; - [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332): superseded
replaced with just the `molokai` scheme by `vim-plug`
- [eregex.vim](https://github.com/othree/eregex.vim.git) - didn't use it enough - [vim-colorschemes](https://github.com/flazz/vim-colorschemes.git): replaced
- [ctrlp.vim](https://github.com/kien/ctrlp.vim) - superseded by `ctrlp/ctrlp.vim` with just the `molokai` scheme
- [LaTeX-Box](https://github.com/LaTeX-Box-Team/LaTeX-Box.git) - superseded by `vimtex` - [eregex.vim](https://github.com/othree/eregex.vim.git): didn't use it enough
- [ctrlp.vim](https://github.com/kien/ctrlp.vim): superseded by `ctrlp/ctrlp.vim`
- [LaTeX-Box](https://github.com/LaTeX-Box-Team/LaTeX-Box.git): superseded by `vimtex`
Once cloned to `~/.vim`, do:
You might wanna update some of the plugins inside `.vim/bundle`: vim -c PlugUpdate
git submodule update --remote --recursive --init And optionally:
**Bonus**: My dotfile repos [![gitlab]](https://git.cse.iitb.ac.in/murukesh/home){:.git} vim -c PlugUpgrade
**Bonus**: My dotfiles repo [![gitlab]](https://git.cse.iitb.ac.in/murukesh/home){:.git}
<!-- section --> <!-- section -->
...@@ -69,11 +80,14 @@ A CV template in LaTeX (modified from one obtained online, original included): ...@@ -69,11 +80,14 @@ A CV template in LaTeX (modified from one obtained online, original included):
{% include_relative cann-table.html %} {% include_relative cann-table.html %}
</div> </div>
I have followed the banding used by [@7amkickoff][7amkickoff]. This table is I have followed the banding used by [@7amkickoff][7amkickoff]. This table was
updated weekly via a cronjob. The data is scraped from [the PL site][epl] updated weekly via a cronjob. The data is scraped from [the PL site][epl]
without any permission. Hopefully this will count as personal use. :) without any permission. Hopefully this will count as personal use. :)
[cann-table]: http://www.sussex.ac.uk/Users/iane/cannyclubs.php Of course, now that this season has ended, I've suspended updates. I'll restart
on August 14. :smile:
[cann-table]: https://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/ [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 [epl]: http://www.premierleague.com/en-gb/matchday/league-table.html
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#cann-table { #cann-table {
border: 0.1em solid gray; border: 0.1em solid gray;
width: 100%; width: 100%;
margin: 0.5em; margin: 0.5em auto;
} }
#cann-table th { #cann-table th {
padding: 0.5em 1em; padding: 0.5em 1em;
......
...@@ -7,11 +7,12 @@ ...@@ -7,11 +7,12 @@
kbd { kbd {
border: solid black 0.05em ; border: solid black 0.05em ;
box-shadow: 0 0.1em 0.1em 0.2em rgba(100,100,100,0.75); box-shadow: 0 0.05em 0.05em 0.05em rgba(200,200,200,0.75);
padding: 0.1em 0.5em; padding: 0.1em 0.5em;
border-radius: 0.25em; border-radius: 0.25em;
background: #FEFEFE; background: #FEFEFE;
margin: 0 0.2em; margin: 0 0.2em;
color: black;
} }
blockquote { blockquote {
...@@ -35,6 +36,7 @@ a.tag { ...@@ -35,6 +36,7 @@ a.tag {
font-variant: small-caps; font-variant: small-caps;
text-decoration: none; text-decoration: none;
font-size: large; font-size: large;
color: black;
} }
ol.tags-list { ol.tags-list {
...@@ -79,6 +81,7 @@ ol.tags-list li { ...@@ -79,6 +81,7 @@ ol.tags-list li {
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
background-color: #454545;
} }
.comments { .comments {
...@@ -89,12 +92,12 @@ ol.tags-list li { ...@@ -89,12 +92,12 @@ ol.tags-list li {
@media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) { @media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {
.post-date { .post-date {
float: right; float: right;
border-left: solid 0.2em black; border-left: solid 0.2em silver;
padding-left: 0.5em; padding-left: 0.5em;
} }
.post-title h1 { .post-title h1 {
margin: 0.5em; margin: 0.5em;
overflow: auto; /*overflow: auto;*/
} }
} }
......
...@@ -107,13 +107,13 @@ h3 { ...@@ -107,13 +107,13 @@ h3 {
}*/ }*/
code { code {
font-family: 'Ubuntu Mono', 'Droid Mono', monospace; font-family: 'Ubuntu Mono', 'Droid Mono', monospace;
color: black; color: whitesmoke;
background-color: lavender; background-color: #464646;
padding: 0.05em 0.2em; padding: 0.05em 0.2em;
} }
a:link { a:link {
color: #022; color: #0EE;
} }
a:visited { a:visited {
color: #1387B4; color: #1387B4;
...@@ -133,13 +133,14 @@ nav ul li { ...@@ -133,13 +133,14 @@ nav ul li {
} }
section, .section { section, .section {
background: white; background: #122;
color: black; color: white;
box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(128,128,128,0.75); box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(128,128,128,0.75);
border-radius: 0.5em; border-radius: 0.5em;
margin-bottom: 1em; margin-bottom: 1em;
padding: 1em; padding: 1em;
text-align: left; text-align: justify;
line-height: 1.2em;
} }
pre code { pre code {
...@@ -148,6 +149,10 @@ pre code { ...@@ -148,6 +149,10 @@ pre code {
padding: 0.5em; padding: 0.5em;
color: whitesmoke; color: whitesmoke;
background-color: black; background-color: black;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
font-size: 1.0em;
} }
pre code strong { pre code strong {
...@@ -241,7 +246,7 @@ img { ...@@ -241,7 +246,7 @@ img {
width: 85%; width: 85%;
font-size: 2em; font-size: 2em;
margin: 2em auto; margin: 2em auto;
background-color: whitesmoke; text-align: left;
} }
#vim-proposal { #vim-proposal {
......
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