Commit 92c36522 authored by Murukesh Mohanan's avatar Murukesh Mohanan

some cleanup

parent 9e098406
Pipeline #1291 failed with stage
The site is written for Jekyll as used by GitHub Pages, but is served using
Gitlab.
# Historical notes.
The site used to be updated on www.cse.iitb.ac.in using:
```sh
cd ~/devel/web &&
/usr/local/bin/jekyll build -d /users/pg13/murukesh/public_html -w --config _config.yml,_sitename.yml
```
Now, the CSE homepage redirects to my main site using a
simple `.htaccess`:
Redirect 301 /~murukesh/ https://murukesh.me/
---
`_sitename.yml` is a way of tricking Jekyll into adding a `base-url` to
the generated URLs. On Github, the file isn't read and `base-url` is
empty, leading to absolute URLs from the root of the site. On the CSE
home folder, `_sitename.yml` defines `base-url` to be `~murukesh`,
making the URLs relative to my home directory.
----
The site was originally tested in Firefox 22.0 (Desktop), Chrome 28.0
(Desktop), Chrome 28.0 (Android 4.3), Firefox 22.0 (Android 4.3), Opera
Mini 7.5 (Android 4.3). Opera Mini faired well, but missed a few steps.
Probably won't work well in IE < 9. Now I just look at it occasionally on
Chrome on Ubuntu and my Nexus 5.
---
The weird font sizes on Chrome and Firefox on Android are due to font
boosting. I'll keep it enabled because it does vastly improve
legibility, and also fits the page (horizontally) within the screen. To
disable it, add this meta tag to the head element in each page:
```html
<meta name="viewport" content="width=device-width, initial-scale=1">
```
Or, alternatively:
```html
<meta name="HandheldFriendly" content="true">
```
The site is written for Jekyll as used by GitHub Pages, but is served using
Gitlab. It should build and display just fine on GitHub Pages, though.
base-url: "/~murukesh"
<div id="countdown">
<div id="countdown-numbers">
<div class="years" id="years"></div>
<div class="days" id="days"></div>
<div class="hours" id="hours"></div>
<div class="minutes" id="minutes"></div>
......
......@@ -17,12 +17,11 @@ Call me Muru.
ムルと呼んでください。
宜しくお願い致します。</span>
<span lang="ml" class="ml inactive" markdown="1">എന്റെ പേര മുരുകെഷ് ആണു.
എന്നെ മുരു എന്നു വിളിക്കുക.
മലയാളി ആണെങ്കിലും വളര്‍നതു ബോംബെയില്‍ ആണു.
<span lang="ml" class="ml inactive" markdown="1">
എന്റെ പേര് മുരുകേഷ്. എന്നെ മുരു എന്ന് വിളിക്കൂ..
</span>
I know English, മലയാളം (Malayalam), हिंदी (Hindi), and a smattering of 日本語 (Japanese) and मराठी (Marathi).
I know English, മലയാളം (Malayalam), हिंदी (Hindi), 日本語 (Japanese) and a smattering of मराठी (Marathi).
<!-- section -->
......@@ -39,32 +38,38 @@ in System Administration, and got plenty of opportunity to hone my Linux skills.
Then, at Yahoo! Japan, I did DevOps for the NoSQL team, principally working on
Cassandra.
Currently, at NABLAS, I do a bit of everything: system administration, DevOps,
software engineering, and when I get the time, I study deep learning.
<!-- section -->
I am a profilic contributor to [Stack Exchange](https://stackexchange.com/users/1042873/muru?tab=top),
I was a prolific contributor to [Stack Exchange](https://stackexchange.com/users/1042873/muru?tab=top),
mostly on the Ask Ubuntu and Unix &amp; Linux sites. I have also contributed to
the creation of the Vi and Vim SE site, serving as one of its first pro-tem moderators.
Lately, I don't post that much.
<!-- section -->
I share the hobby of the masses - reading. :stuck_out_tongue: Favourite books
I share the hobby of the masses - reading. Favourite books
include:
- *The Green Mile*,
- Robert Jordan's *The Wheel of Time* series,
- Asimov's *Foundation* series,
- Asimov's *Foundation* series (expanded by the Galactic Empire series and Robot novels),
- Clarke's *Rama* series,
- Stephenson's *Anathem*,
- Sanderson's *Stormlight Archive*
I took up photography in IIT Bombay and cycling after I moved to Japan.
Photography is my driving passion when it comes to the outdoors: when I travel
for fun, I travel to photograph. That's why I like cycling - it affords more
for fun, I travel to photograph. That's why I like cycling - it affords more
opportunities to capture visuals than racing past in a bike or a car does.
Sadly, I haven't really kitted up: I have a Nikon D5300 and a 2016 Giant Contend 2.
I haven't really kitted up: I have a Nikon D5300 and a 2016 Giant Contend 2.
<!-- 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. (Yes, that's after Bergkamp's time.)
final in Paris, 2006. (Yes, I never got to enjoy the peak of the Wenger era.)
Even so, there's only one. Arsène. Wenger.
function getTimeRemaining(endtime) {
var t = Date.parse(endtime) - Date.parse(new Date());
function getTimeSince(starttime) {
var t = Date.parse(new Date()) - Date.parse(starttime);
var seconds = Math.floor((t / 1000) % 60);
var minutes = Math.floor((t / 1000 / 60) % 60);
var hours = Math.floor((t / (1000 * 60 * 60)) % 24);
var days = Math.floor(t / (1000 * 60 * 60 * 24));
var days = Math.floor(t / (1000 * 60 * 60 * 24) % 365);
var years = Math.floor(t / (1000 * 60 * 60 * 24 * 365));
return {
'total': t,
'years': years,
'days': days,
'hours': hours,
'minutes': minutes,
......@@ -66,7 +68,7 @@ function initializeClock(id, endtime) {
var timeinterval = setInterval(updateClock, 1000);
}
var deadline = new Date('2019-12-22 09:00 +5:30');
var deadline = new Date('2019-12-22 08:40 +5:30');
document.addEventListener("DOMContentLoaded", function(event) {
initializeClock('countdown', deadline);
});
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