Skip to content

Commit

Permalink
port to bootstrap 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rohityadavcloud committed Feb 20, 2012
1 parent 1ad2352 commit 5033dbc
Show file tree
Hide file tree
Showing 19 changed files with 713 additions and 1,118 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -9,7 +9,7 @@ future: true
lsi: false
markdown: rdiscount
pygments: true
permalink: /posts/:title/
permalink: /logs/:title/
paginate: 5

rdiscount:
Expand Down
149 changes: 85 additions & 64 deletions _layouts/default.html
Expand Up @@ -5,21 +5,100 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>{{ page.title }} - Rohit Yadav</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Writings, essays, blog posts, talks and projects by Rohit Yadav.">
<meta name="keywords" content="rohit,yadav,rohityadav,india,bhu,gsoc,cern,foss,opensource,hack,hacker,kernel,c,c++,python,ruby,erlang,lisp,cmake,vlmc,tantra,vmcontroller,virtualmachine,vm,xen" />
<meta name="author" content="Rohit Yadav">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="/favicon.ico" rel="shortcut icon" >
<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 20px;
}
</style>
<link href="/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="/assets/js/google-code-prettify/sunburst.css" rel="stylesheet">
<link href="/assets/css/app.css" rel="stylesheet">
</head>
<body>

<div class="navbar navbar-fixed-top" style="z-index: 900;">
<div class="navbar-inner">
<div class="container">

<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>

<a class="brand logo" href="/"><img src="/assets/img/brand.png"></a>

<div class="nav-collapse">
<ul class="nav">

<li {% if page.title == "Logs" %}class="active"{% endif %}><a href="/logs"><strong>Logs</strong></a></li>

<li class= "dropdown{% if page.title == "Projects" %} active{% endif %}">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><strong>Projects <b class="caret"></b></strong></a>
<ul class="dropdown-menu">
<li><a href="/projects">All Projects</a></li>
<li class="divider"></li>
<li>&nbsp; Selected projects</li>
<li><a href="/projects/tantra">Tantra <span class="label label-important">system</span></a></li>
<li><a href="/projects/r2a2">R2A2 <span class="label notice">hardware</span></a></li>
<li><a href="/projects/recipes">Recipes <span class="label label-success">webapp</span></a></li>
<li><a href="/projects/cmakeqt">CMakeQt <span class="label label-warning">desktop</span></a></li>
<li><a href="/projects/vmcontroller">VMController <span class="label label-important">system</span></a></li>
<li><a href="/projects/graffiti">Graffiti <span class="label label-warning">desktop</span></a></li>
<li><a href="/projects/cade9">Cade9 <span class="label notice">hardware</span></a></li>
</ul>
</li>

<li {% if page.title == "Docs" %}class="active"{% endif %}><a href="/docs"><strong>Docs</strong></a></li>
<li {% if page.title == "Music" %}class="active"{% endif %}><a href="/music"><strong>Music</strong></a></li>
<li {% if page.title == "Links" %}class="active"{% endif %}><a href="/links"><strong>Links</strong></a></li>
<li {% if page.title == "About" %}class="active"{% endif %}><a href="/about"><strong>About</strong></a></li>
</ul>

<p class="nav pull-right">
<a class="logo" href="http://github.com/rohityadav" title="Checkout my projects at Github"><img src="/assets/img/git.png"></a>
<a class="logo" href="http://www.linkedin.com/in/rohityadav89" title="LinkedIn Profile"><img src="/assets/img/linkedin.png"></a>
<a class="logo" href="http://twitter.com/__rohityadav__" title="Tweets"><img src="/assets/img/twitter.png"></a>
<a class="logo" href="/rss" title="Blog Feed"><img src="/assets/img/rss.png"></a>
</p>

</div>
</div>
</div>
</div>

<div class="container">
<div class="row">
<div class="span10 offset1" style="border: 2px dashed #ccc; border-radius: 8px 8px 8px 8px; background-color: #fff; padding: 10px 15px;">
{{ content }}

<hr/>
<p style="font-size: 12px; text-align: center;">
&copy; <a rel="author" href="https://plus.google.com/105500838080334630026?rel=author">Rohit Yadav</a> 2009-2012 | Report <a href="https://github.com/rohityadav/rohityadav.github.com/issues/new">bug</a> or fork <a href="https://github.com/rohityadav/rohityadav.github.com">source</a> | Last updated on {{ site.time | date_to_string }}
<br>
<a href="https://www.ohloh.net/accounts/58276?ref=Tiny"><img width="80" height="15" alt="Ohloh profile for Rohit Yadav" src="/assets/img/ohloh.gif"/></a>
<a href="http://groups.google.com/group/foss-itbhu"><img height="15" src="/assets/img/foss-itbhu.png" alt="FOSS ITBHU"></a>
<a href='http://www.catb.org/hacker-emblem/'><img src='/assets/img/hacker.png' alt='hacker emblem' /></a>
<a href="http://endsoftpatents.org/innovating-without-patents"><img style="border-width:0" src="/assets/img/patent-free.png"></a>
<br>
</p>
</div>
<div class="span1 offset1"></div>
</div>
</div> <!-- /container -->

<script src="/assets/js/jquery.js" type="text/javascript"></script>
<script src="/assets/js/bootstrap-dropdown.js" type="text/javascript"></script>
<script src="/assets/js/bootstrap-tabs.js" type="text/javascript"></script>
<script src="/assets/js/bootstrap-twipsy.js" type="text/javascript"></script>
<!-- Placed at the end of the document so the pages load faster -->
<script src="/assets/js/jquery.min.js" type="text/javascript"></script>
<script src="/assets/js/jquery.tablesorter.min.js" type="text/javascript"></script>
<script src="/assets/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>
<script src="/assets/js/modernizr.js" type="text/javascript"></script>
Expand All @@ -36,64 +115,6 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="topbar" data-dropdown="dropdown" style="z-index: 900;">
<div class="topbar-inner">
<div class="container">
<ul class="nav">
<li><a class="logo" rel="twipsy" data-placement="below" data-original-title="Writings, essays and blog posts" href="/"><img src="/assets/img/brand.png"></a></li>
<li {% if page.title == "Archive" %}class="active"{% endif %}><a rel="twipsy" data-placement="below" data-original-title="Archive of writings, essays and blog posts" href="/posts"><strong>Archive</strong></a></li>
<li class= "dropdown{% if page.title == "Projects" %} active{% endif %}"><a rel="twipsy" data-placement="right" data-original-title="My work, projects, hacks, experiments and contributions to FOSS" href="/projects" class="dropdown-toggle"><strong>Karma</strong></a>
<ul class="dropdown-menu">
<li><a href="/projects">All Projects</a></li>
<li class="divider"></li>
<li>&nbsp; Selected projects</li>
<li><a href="/projects/tantra">Tantra <span class="label important">system</span></a></li>
<li><a href="/projects/r2a2">R2A2 <span class="label notice">hardware</span></a></li>
<li><a href="/projects/recipes">Recipes <span class="label success">webapp</span></a></li>
<li><a href="/projects/cmakeqt">CMakeQt <span class="label warning">desktop</span></a></li>
<li><a href="/projects/vmcontroller">VMController <span class="label important">system</span></a></li>
<li><a href="/projects/graffiti">Graffiti <span class="label warning">desktop</span></a></li>
<li><a href="/projects/cade9">Cade9 <span class="label notice">hardware</span></a></li>
</ul>
</li>
<li class= "dropdown"><a rel="twipsy" data-placement="right" data-original-title="Links, Docs, Music, etc. etc." href="#" class="dropdown-toggle"><strong>More</strong></a>
<ul class="dropdown-menu">
<li {% if page.title == "Docs" %}class="active"{% endif %}><a rel="twipsy" data-placement="right" data-original-title="Docs describing different 'how-to' stuff" href="/docs"><strong>Docs</strong></a></li>
<li {% if page.title == "Music" %}class="active"{% endif %}><a rel="twipsy" data-placement="right" data-original-title="Experiments with music instruments" href="/music"><strong>Music</strong></a></li>
<li {% if page.title == "Links" %}class="active"{% endif %}><a rel="twipsy" data-placement="right" data-original-title="Sweet spots on the Internet" href="/links"><strong>Links</strong></a></li>
</ul>
</li>
<li {% if page.title == "About" %}class="active"{% endif %}><a rel="twipsy" data-placement="below" data-original-title="About yours truly" href="/about"><strong>About</strong></a></li>
</ul>
<p class="pull-right">
<a class="logo" rel="twipsy" href="http://github.com/rohityadav" data-original-title="Checkout my projects at Github"><img src="/assets/img/git.png"></a>
<a class="logo" rel="twipsy" href="http://www.linkedin.com/in/rohityadav89" data-original-title="LinkedIn Profile"><img src="/assets/img/linkedin.png"></a>
<a class="logo" rel="twipsy" href="http://twitter.com/__rohityadav__" data-original-title="Tweets"><img src="/assets/img/twitter.png"></a>
<a class="logo" rel="twipsy" href="/rss" data-original-title="Blog Feed"><img src="/assets/img/rss.png"></a>
</p>
</div>
</div>
</div>
<div class="container">
<div class="content" style="border-radius: 8px 8px 8px 8px;">
<div class="row">
<div class="span14 columns">
{{ content }}
</div>
</div>
<footer>
<p>&copy; <a rel="author" href="https://plus.google.com/105500838080334630026?rel=author">+Rohit Yadav</a> 2009-2011 | Report <a href="https://github.com/rohityadav/rohityadav.github.com/issues/new">bug</a> or fork <a href="https://github.com/rohityadav/rohityadav.github.com">source</a> | Last updated on {{ site.time | date_to_string }}
<br>
<a href="https://www.ohloh.net/accounts/58276?ref=Tiny"><img width="80" height="15" alt="Ohloh profile for Rohit Yadav" src="/assets/img/ohloh.gif"/></a>
<a href="http://groups.google.com/group/foss-itbhu"><img height="15" src="/assets/img/foss-itbhu.png" alt="FOSS ITBHU"></a>
<a href='http://www.catb.org/hacker-emblem/'><img src='/assets/img/hacker.png' alt='hacker emblem' /></a>
<a href="http://endsoftpatents.org/innovating-without-patents"><img style="border-width:0" src="/assets/img/patent-free.png"></a>
<br>
</p>
</footer>
</div>
</div> <!-- /container -->

</body>
</html>
20 changes: 10 additions & 10 deletions _layouts/post.html
Expand Up @@ -2,26 +2,26 @@
layout: default
---

<div class="row show-grid" style="margin-bottom: 5px;margin-top:-10px;">
<div class="span6" style="float: left;">
<ul class="pager">
<li class="previous">
{% if page.previous %}
<a rel="prev" title="{{ page.previous.title }}" href="{{ page.previous.url }}">&larr; {{ page.previous.title }}</a>
<a rel="prev" title="Previous: {{ page.previous.title }}" href="{{ page.previous.url }}">&larr; {{ page.previous.title }}</a>
{% endif %}
</div>
<div class="span6 offset2" align="right" style="float: right;">
</li>
<li class="next">
{% if page.next %}
<a rel="next" title="{{ page.next.title }}" href="{{ page.next.url }}">{{ page.next.title }} &rarr;</a>
<a rel="next" title="Next: {{ page.next.title }}" href="{{ page.next.url }}">{{ page.next.title }} &rarr;</a>
{% endif %}
</div>
</div>
</li>
</ul>

<div class="page-header">
<h1><a href='{{page.url}}'>{{page.title}}</a> <code style="font-size: 18px;">{{ page.date | date: "%B %e, %Y" }}</code></h1>
<h1><a href='{{page.url}}'>{{page.title}}</a> <small>{{ page.date | date: "%B %e, %Y" }}</small></h1>
</div>

{{ content }}

<br>
<br/><br/>

<div id="disqus_thread"></div>
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion _posts/2009-06-04-story-of-a-notification-widget.markdown
Expand Up @@ -30,6 +30,6 @@ I implemented a CopyLeft, a concept by RMS; so when you do a right click on the

After some discussion on videolan's irc channel, I was told that the widget may be used in place of the taskbar icon menu. So, may be in the future, when you right-click the VLC taskbar icon you'll see this floating widget. I cleaned a lot of code before re-sending another patch to the VLC-devel list; it was never entertained (or even considered to be commited) but I learned a lot from the experience. The patches can be searched and downloaded from VideoLAN's mailing list archives.

Meanwhile, I also made a *skins2* theme for VLC, "Dark Pepper", based on the same theme I designed for the MiniMode Widget. Download it from [here](http://www1.videolan.org/vlc/download-skins2-go.php?url=Dark%20Pepper.vlt). A screenshot of the same is below:
Meanwhile, I also made a *skins2* theme for VLC, "Dark Pepper", based on the same theme I designed for the MiniMode Widget. Download it from [here](http://www1.videolan.org/vlc/download-skins2-go.php?url=Dark%20Pepper.vlt) or [here](/files/Dark-Pepper.vlt). A screenshot of the same is below:

<p style="text-align: center;"><img src="/images/videolan/dark-pepper.png" ><br>Dark Pepper Skins2 theme for VLC</p>
10 changes: 5 additions & 5 deletions _posts/2010-07-20-cern-experience.markdown
Expand Up @@ -6,6 +6,7 @@ excerpt: Eight week internship at CERN

<p align="center"><img align="center" src="/images/cern/science.jpg"></p>
During the last 8 weeks I worked as a volunteer summer student at [CERN](http://en.wikipedia.org/wiki/CERN) with my awesome mentor/supervisor [Dr. Ben Segal][ben] and the [CernVM][] team. I continued work of past CERN summer students on [BOINCVM][boincvm] (volunteer cloud computing platform for scientific research based on BOINC infrastructure) by improving code, fixing bugs and testing on Linux, Mac and Windows, using the [CernVM][] virtual software appliance. I also improved server side configuration and administration of a test [BOINCVM][boincvm] project.
Read [report](/files/docs/internship-cern-report-2010.pdf); [Attestation](/files/docs/cern-attestation.pdf).

<p align="center"><img align="center" src="/images/cern/office.jpg"></p>

Expand All @@ -27,11 +28,10 @@ I was so thrilled to stand next to the _NEXT_ computer that ran the world's firs

Our group photo just outside the CERN Computer Centre:

<p align="center"> <img align="center" src="/images/cern/computing-centre.jpg"></p>

Bonus video:

<iframe width="820" height="540" src="http://www.youtube.com/embed/LUirGfW__AE" frameborder="0" allowfullscreen></iframe>
<p align="center"> <img align="center" src="/images/cern/computing-centre.jpg">
<br/>Bonus video:
<br/><iframe width="820" height="540" src="http://www.youtube.com/embed/LUirGfW__AE" frameborder="0" allowfullscreen></iframe>
</p>

[boincvm]: http://code.google.com/p/boincvm
[CernVM]: http://cernvm.cern.ch/cernvm/
Expand Down
2 changes: 2 additions & 0 deletions _posts/2010-09-27-gsoc2010.markdown
Expand Up @@ -13,3 +13,5 @@ Apart from the YouTube integration features, I implemented support for network p
The whole experience was awesome, many thanks to *etix* (my official mentor), *choquette* (my unofficial and most helpful mentor), *j-b* (gsoc admin) and members of the VLMC community.

**UPDATE**: My code now lives in VLMC's official [git repository](http://git.videolan.org/?p=vlmc.git;a=summary) and I'm given commit access *yay*! Checkout my [commits](http://git.videolan.org/?p=vlmc.git&a=search&h=HEAD&st=author&s=Rohit+Yadav); this [particular vout-detached-widget bug on Mac OSX](http://git.videolan.org/?p=vlmc.git;a=commit;h=e9850033b89c7ef5a24a9690d47584729b416eed) was squashed during a sleepless 48-hour marathon.

<br/><br/><br/>
4 changes: 2 additions & 2 deletions _posts/2010-11-01-twisted-loop.markdown
Expand Up @@ -4,9 +4,9 @@ title: Twisted Fun
excerpt: Asynchronous networking
---

After hours of hacking through the source code of [BoincVM][david-boincvm] originally written by [David][david] I finally understood the architecture and workflow. I'm rewriting it (it's now called [VMController][]), fixing bugs and implementing features as part of my [B.Tech][btech] project, with some help from David (the amazing). [Twisted][twisted] is awesome, it's an event-driven networking engine written in Python which we're using in [VMController][]. Below is a cartoon I drew on my whiteboard to show what's really going on inside VMController (host).
After hours of hacking through the source code of [BoincVM][david-boincvm] originally written by [David][david] I finally understood the architecture and workflow. I'm rewriting it (it's now called [VMController][]), fixing bugs and implementing features as part of my [B.Tech][btech] project, with some help from David (the amazing). [Twisted][twisted] is awesome, it's an event-driven networking engine written in Python which we're using in [VMController][]. Below is a cartoon I drew on my whiteboard to show what's really going on inside VMController (host). Read the [report](/files/docs/btp-report-vmcontroller.pdf).

<img src="/images/vmcontroller-host.jpg">
<p align="center"><img align="center" src="/images/vmcontroller-host.jpg"></p>

[btech]: http://en.wikipedia.org/wiki/Bachelor_of_Technology
[david-boincvm]: http://bitbucket.org/dgquintas/boincvm
Expand Down
3 changes: 2 additions & 1 deletion _posts/2011-07-12-r2a2-concept.markdown
Expand Up @@ -6,4 +6,5 @@ excerpt: My super duper android powered Rover

A premature mock-up of my anticipated <strike><a href="/projects/mtp">masters project</a></strike> side project, *R2A2* (credit to my big bro for the name), thanks to Avinash bhaiya and Gaurav bhaiya for ordering/getting me some of its important parts which includes; the gas sensors, IOIO (Android USB interpretor), Rover5 platform and the robotic claw. No promises but I hope to complete a working prototype of my super duper android powered rover soon before <strike>2011</strike> 2012 ends :)

![](/images/R2A2-mockup.png)
<p align="center"><img align="center" src="/images/R2A2-mockup.png"></p>

14 changes: 8 additions & 6 deletions archive.markdown
@@ -1,24 +1,26 @@
---
layout: page
title: Archive
title: Logs
tagline: Writings, essays and blog posts
permalink: /posts/
permalink: /logs/
---

<div class="row">
<div class="span10">
<table class="zebra-striped condensed-table">
<div class="span7">
<table class="table table-striped table-condensed">
<tbody>
{% for post in site.posts %}
<tr>
<td style="padding-top: 12px; width: 120px;"><code style="font-size: 13px;">{{ post.date | date: "%b %e, %Y" }}</code></td>
<td style="padding-top: 8px; width: 90px;">
<span class="label label-info">{{ post.date | date: "%b %e, %Y" }}</span>
</td>
<td><h3><a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.excerpt }}...</small></h3></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="span4">
<div class="span3" style="margin-left: 0; padding-left: 19px;border-left: 1px solid #eee;">
<div id="recentcomments" class="dsq-widget"><h3 class="dsq-widget-title">Recent Comments</h3><script type="text/javascript" src="http://yadavium.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=0&avatar_size=32&excerpt_length=128"></script></div>
</div>
</div>
Expand Down

0 comments on commit 5033dbc

Please sign in to comment.