Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
web
Commits
92c36522
Commit
92c36522
authored
Feb 03, 2020
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some cleanup
parent
9e098406
Pipeline
#1291
failed with stage
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
64 deletions
+24
-64
README.md
README.md
+2
-49
_sitename.yml
_sitename.yml
+0
-1
countdown.html
countdown.html
+1
-0
index.md
index.md
+15
-10
js/countdown.js
js/countdown.js
+6
-4
No files found.
README.md
View file @
92c36522
The site is written for Jekyll as used by GitHub Pages, but is served using
The site is written for Jekyll as used by GitHub Pages, but is served using
Gitlab.
Gitlab. It should build and display just fine on GitHub Pages, though.
# 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"
>
```
_sitename.yml
deleted
100644 → 0
View file @
9e098406
base-url
:
"
/~murukesh"
countdown.html
View file @
92c36522
<div
id=
"countdown"
>
<div
id=
"countdown"
>
<div
id=
"countdown-numbers"
>
<div
id=
"countdown-numbers"
>
<div
class=
"years"
id=
"years"
></div>
<div
class=
"days"
id=
"days"
></div>
<div
class=
"days"
id=
"days"
></div>
<div
class=
"hours"
id=
"hours"
></div>
<div
class=
"hours"
id=
"hours"
></div>
<div
class=
"minutes"
id=
"minutes"
></div>
<div
class=
"minutes"
id=
"minutes"
></div>
...
...
index.md
View file @
92c36522
...
@@ -17,12 +17,11 @@ Call me Muru.
...
@@ -17,12 +17,11 @@ Call me Muru.
ムルと呼んでください。
ムルと呼んでください。
宜しくお願い致します。
</span>
宜しくお願い致します。
</span>
<span
lang=
"ml"
class=
"ml inactive"
markdown=
"1"
>
എന്റെ പേര മുരുകെഷ് ആണു.
<span
lang=
"ml"
class=
"ml inactive"
markdown=
"1"
>
എന്നെ മുരു എന്നു വിളിക്കുക.
എന്റെ പേര് മുരുകേഷ്. എന്നെ മുരു എന്ന് വിളിക്കൂ..
മലയാളി ആണെങ്കിലും വളര്നതു ബോംബെയില് ആണു.
</span>
</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 -->
<!-- section -->
...
@@ -39,20 +38,25 @@ in System Administration, and got plenty of opportunity to hone my Linux skills.
...
@@ -39,20 +38,25 @@ 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
Then, at Yahoo! Japan, I did DevOps for the NoSQL team, principally working on
Cassandra.
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 -->
<!-- section -->
I
am a profil
ic contributor to
[
Stack Exchange
](
https://stackexchange.com/users/1042873/muru?tab=top
)
,
I
was a prolif
ic contributor to
[
Stack Exchange
](
https://stackexchange.com/users/1042873/muru?tab=top
)
,
mostly on the Ask Ubuntu and Unix
&
Linux sites. I have also contributed to
mostly on the Ask Ubuntu and Unix
&
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.
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 -->
<!-- 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:
include:
-
*The Green Mile*
,
-
*The Green Mile*
,
-
Robert Jordan's
*The Wheel of Time*
series,
-
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,
-
Clarke's
*Rama*
series,
-
Stephenson's
*Anathem*
,
-
Stephenson's
*Anathem*
,
-
Sanderson's
*Stormlight Archive*
-
Sanderson's
*Stormlight Archive*
...
@@ -61,10 +65,11 @@ I took up photography in IIT Bombay and cycling after I moved to Japan.
...
@@ -61,10 +65,11 @@ 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
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.
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 -->
<!-- section -->
I am a Gooner. Favourite players include "Mad Jens" Lehmann, Dennis Bergkamp
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
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.
js/countdown.js
View file @
92c36522
function
getTime
Remaining
(
end
time
)
{
function
getTime
Since
(
start
time
)
{
var
t
=
Date
.
parse
(
endtime
)
-
Date
.
parse
(
new
Date
()
);
var
t
=
Date
.
parse
(
new
Date
())
-
Date
.
parse
(
starttime
);
var
seconds
=
Math
.
floor
((
t
/
1000
)
%
60
);
var
seconds
=
Math
.
floor
((
t
/
1000
)
%
60
);
var
minutes
=
Math
.
floor
((
t
/
1000
/
60
)
%
60
);
var
minutes
=
Math
.
floor
((
t
/
1000
/
60
)
%
60
);
var
hours
=
Math
.
floor
((
t
/
(
1000
*
60
*
60
))
%
24
);
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
{
return
{
'
total
'
:
t
,
'
total
'
:
t
,
'
years
'
:
years
,
'
days
'
:
days
,
'
days
'
:
days
,
'
hours
'
:
hours
,
'
hours
'
:
hours
,
'
minutes
'
:
minutes
,
'
minutes
'
:
minutes
,
...
@@ -66,7 +68,7 @@ function initializeClock(id, endtime) {
...
@@ -66,7 +68,7 @@ function initializeClock(id, endtime) {
var
timeinterval
=
setInterval
(
updateClock
,
1000
);
var
timeinterval
=
setInterval
(
updateClock
,
1000
);
}
}
var
deadline
=
new
Date
(
'
2019-12-22 0
9:0
0 +5:30
'
);
var
deadline
=
new
Date
(
'
2019-12-22 0
8:4
0 +5:30
'
);
document
.
addEventListener
(
"
DOMContentLoaded
"
,
function
(
event
)
{
document
.
addEventListener
(
"
DOMContentLoaded
"
,
function
(
event
)
{
initializeClock
(
'
countdown
'
,
deadline
);
initializeClock
(
'
countdown
'
,
deadline
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment