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
.*.sw?
_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
base-url: ""
timezone: Asia/Kolkatta
myurl: http://murukesh.me/
url: https://murukesh.me
enforce_ssl: murukesh.me
section_separator: "<!-- section -->"
gems:
......@@ -25,3 +26,5 @@ pages_list:
Resources: 'resources'
Blog: 'blog'
Contact: 'contact'
exclude: [vendor, "Gemfile", "Gemfile.lock"]
......@@ -5,10 +5,11 @@
on Android, uncomment this meta tag. The weird font size
is due to "font boosting".
-->
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
<meta name="HandheldFriendly" content="true">
<meta charset="utf-8">
<title>
{{ page.title }} &ndash; Muru's home page.
{{ page.title }} &ndash; Muru
</title>
<link rel="stylesheet" href="{{ site.base-url }}/styles/style.css" type="text/css">
{% if page.pagestyle %}
......@@ -16,7 +17,9 @@
{% else %}
{% assign pagestyle = layout.pagestyle %}
{% endif %}
{% if pagestyel %}
<link rel="stylesheet" href="{{ site.base-url }}/styles/{{ pagestyle }}.css" type="text/css">
{% endif %}
<!-- Web Fonts FTW! -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu">
<meta property="fb:app_id" content="658633094275731"/>
......
......@@ -18,17 +18,17 @@ pagestyle: posts
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">
{{ page.date | date: "%B %e, %Y" }}
</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>
{% 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>
{% assign sections = content | split: site.section_separator %}
......@@ -40,7 +40,7 @@ pagestyle: posts
<section class="comments">
<div class="fb-comments"
data-href="{{site.myurl}}{{page.url}}"
data-href="{{site.url}}{{page.url}}"
data-width="100%"
data-numposts="10"
data-colorscheme="dark">
......@@ -51,7 +51,7 @@ pagestyle: posts
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'muru';
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 * * */
(function() {
......
......@@ -222,13 +222,13 @@ All told:
## 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.
[Unix.SE]: http://unix.stackexchange.com
[Vim.SE]: http://vi.stackexchange.com
[man]: http://man7.org/linux/man-pages/man1/man.1.html
[1]: http://unix.stackexchange.com/a/1853/70524
[nomod]: http://vimhelp.appspot.com/options.txt.html#%27nomod%27
[vimenter]: http://vimhelp.appspot.com/autocmd.txt.html#VimEnter
[nomod]: https://vimhelp.appspot.com/options.txt.html#%27nomod%27
[vimenter]: https://vimhelp.appspot.com/autocmd.txt.html#VimEnter
[man-in-vim]: {{ site.base-url }}/images/vim-man.png
......@@ -12,8 +12,8 @@ terrible.)
I needed to set it up so that the site would work across the three ways it can
be accessed:
- [Github Pages](http://murukeshm.github.io)
- [Personal domain](http://murukesh.me)
- [Github Pages](https://murukeshm.github.io)
- [Personal domain](https://murukesh.me)
- [CSE homepage](https://www.cse.iitb.ac.in/~murukesh)
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].
[pygments]: http://pygments.org/
[rouge]: https://github.com/jneen/rouge
[proper-line-numbers]: http://drewsilcock.co.uk/proper-linenumbers/
[google+ comments]: http://browsingthenet.blogspot.in/2013/04/google-plus-comments-on-any-website.html
[proper-line-numbers]: https://drewsilcock.co.uk/proper-linenumbers
[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
[facebook comments]: https://developers.facebook.com/docs/plugins/comments
[disqus]: https://disqus.com/admin/universalcode
......
......@@ -12,26 +12,26 @@ permalink: /acad/
# Sem III
- [CS 601](http://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 724](http://www.cse.iitb.ac.in/page134?course=CS+724): Network Security and Cryptography - 2
- [CS 601](https://www.cse.iitb.ac.in/page134?course=CS+601): Algorithms and Complexity
- [CS 626](https://www.cse.iitb.ac.in/page134?course=CS+626): Speech, Natural Language Processing and the Web
- [CS 724](https://www.cse.iitb.ac.in/page134?course=CS+724): Network Security and Cryptography - 2
<!-- section -->
# Sem II
- 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 726](http://www.cse.iitb.ac.in/page134?course=CS+726): Advanced Machine Learning
- [CS 715](https://www.cse.iitb.ac.in/page134?course=CS+715): Design and Implementation of GNU Compiler Generation Framework
- [CS 726](https://www.cse.iitb.ac.in/page134?course=CS+726): Advanced Machine Learning
<!-- section -->
# Sem I
- [CS 613](http://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 621](http://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 613](https://www.cse.iitb.ac.in/page134?course=CS+613): Design and Implementation of Functional Programming Languages
- [CS 618](https://www.cse.iitb.ac.in/page134?course=CS+618): Program Analysis
- [CS 621](https://www.cse.iitb.ac.in/page134?course=CS+621): Artificial Intelligence
- [CS 719](https://www.cse.iitb.ac.in/page134?course=CS+719): Topics in Mathematical Foundations of Formal Verification
<!-- section -->
......
......@@ -14,16 +14,16 @@ layout: default
{{ post.date | date: "%B %e, %Y" }}
</time>
{% 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>
<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>
<hr>
......
......@@ -22,5 +22,5 @@ Online:
- [Facebook](https://facebook.com/murukesh)
- [Google+](https://plus.google.com/+murukeshmohanan/)
- [Main Blog](http://murukeshm.blogspot.in/)
- [Second Blog](http://linuxexperiments.blogspot.in/)
- [Main Blog](https://murukeshm.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.
......
......@@ -7,7 +7,7 @@ permalink: /resources/
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)
- [diffchar.vim](https://github.com/vim-scripts/diffchar.vim)
- [molokai](https://github.com/tomasr/molokai.git)
......@@ -26,19 +26,30 @@ Currently contains a nifty `vimrc`, and some plugins:
- [YouCompleteMe](https://github.com/Valloric/YouCompleteMe.git)
{: #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:
- [vim-colorschemes](https://github.com/flazz/vim-colorschemes.git) &mdash;
replaced with just the `molokai` scheme
- [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`
- [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332): superseded
by `vim-plug`
- [vim-colorschemes](https://github.com/flazz/vim-colorschemes.git): replaced
with just the `molokai` scheme
- [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 -->
......@@ -69,11 +80,14 @@ A CV template in LaTeX (modified from one obtained online, original included):
{% include_relative cann-table.html %}
</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]
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/
[epl]: http://www.premierleague.com/en-gb/matchday/league-table.html
......
......@@ -3,7 +3,7 @@
#cann-table {
border: 0.1em solid gray;
width: 100%;
margin: 0.5em;
margin: 0.5em auto;
}
#cann-table th {
padding: 0.5em 1em;
......
......@@ -7,11 +7,12 @@
kbd {
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;
border-radius: 0.25em;
background: #FEFEFE;
margin: 0 0.2em;
color: black;
}
blockquote {
......@@ -35,6 +36,7 @@ a.tag {
font-variant: small-caps;
text-decoration: none;
font-size: large;
color: black;
}
ol.tags-list {
......@@ -79,6 +81,7 @@ ol.tags-list li {
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: #454545;
}
.comments {
......@@ -89,12 +92,12 @@ ol.tags-list li {
@media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) {
.post-date {
float: right;
border-left: solid 0.2em black;
border-left: solid 0.2em silver;
padding-left: 0.5em;
}
.post-title h1 {
margin: 0.5em;
overflow: auto;
/*overflow: auto;*/
}
}
......
......@@ -107,13 +107,13 @@ h3 {
}*/
code {
font-family: 'Ubuntu Mono', 'Droid Mono', monospace;
color: black;
background-color: lavender;
color: whitesmoke;
background-color: #464646;
padding: 0.05em 0.2em;
}
a:link {
color: #022;
color: #0EE;
}
a:visited {
color: #1387B4;
......@@ -133,13 +133,14 @@ nav ul li {
}
section, .section {
background: white;
color: black;
background: #122;
color: white;
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;
text-align: justify;
line-height: 1.2em;
}
pre code {
......@@ -148,6 +149,10 @@ pre code {
padding: 0.5em;
color: whitesmoke;
background-color: black;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
font-size: 1.0em;
}
pre code strong {
......@@ -241,7 +246,7 @@ img {
width: 85%;
font-size: 2em;
margin: 2em auto;
background-color: whitesmoke;
text-align: left;
}
#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