~dbalan/blogng unlisted

58b20109cf11e934b23d10c60176a61f843c6b86 — Dhananjay Balan 2 years ago eb67654
Convert from old categories to tags

import sys
import yaml

with open(sys.argv[1]) as fp:
    data = fp.read()

if not data.find("---") == 0:
    # no head
    print("NO YAML HEAD FOUND")
    sys.exit(-1)

data = data[3:]
head_end = data.find("---")

head = data[0:head_end]
data = data[head_end+3:]

metadata = yaml.safe_load(head)

cats = metadata.pop('categories', None)
if cats != None:
    if type(cats) == list:
        tags = cats
    elif type(cats) == str:
        tags = cats.split()

    tags = list(map(lambda t: t.lower(), tags))

    metadata["tags"] = ", ".join(tags)
    new_data = f"---\n{yaml.dump(metadata, default_flow_style=False)}---{data}"
    # write it
    print(f"coverted: categories to tags: {tags} - {sys.argv[1]}")
    with open(sys.argv[1], "w") as fp:
        fp.write(new_data)
    sys.exit(0)

if not metadata.get("tags", None):
    metadata["tags"] = "untagged"
    new_data = f"---\n{yaml.dump(metadata, default_flow_style=False)}---{data}"
    print(f"untagged: {sys.argv[1]}")
    # write it
    with open(sys.argv[1], "w") as fp:
        fp.write(new_data)
    sys.exit(0)

print("No changes needed")
52 files changed, 107 insertions(+), 178 deletions(-)

M blog/2011-03-21-long-time.markdown
M blog/2011-03-24-school-memories.markdown
M blog/2011-03-26-earth-hour-official-video.markdown
M blog/2011-03-26-firefox.markdown
M blog/2011-04-01-compski-night-firends-and-fun.markdown
M blog/2011-04-05-sharing-the-posterous-way.markdown
M blog/2011-04-19-bed-of-roses.markdown
M blog/2011-04-20-happy.markdown
M blog/2011-04-28-adept.markdown
M blog/2011-05-02-the-story-of-linux.markdown
M blog/2011-05-07-gsoc-2011-i-am-in.markdown
M blog/2011-05-14-welcome-to-acm-courtesy-of-google.markdown
M blog/2011-05-28-hmm-vacation-work-time.markdown
M blog/2011-06-04-distributed-computing.markdown
M blog/2011-06-05-random-reverbations.markdown
M blog/2011-07-19-birthday-food-for-thought.markdown
M blog/2011-08-23-sigsegv.markdown
M blog/2011-08-30-what-you-do-when-you-get-a-free-day.markdown
M blog/2011-09-10-good-to-be-back.markdown
M blog/2011-09-11-nothing-else-matters.markdown
M blog/2011-09-16-crazy.markdown
M blog/2011-10-11-ffmepg-nokia-7210-video-clips.markdown
M blog/2011-10-11-latex-on-the-go.markdown
M blog/2011-10-28-falling-slowly.markdown
M blog/2012-01-09-arrow-keys-input-in-python.markdown
M blog/2012-03-18-progress-bar-in-mercurial-pushpull.markdown
M blog/2012-03-29-thamarassery-mountain-pass-wayanad.markdown
M blog/2012-11-21-netbsd-chronicles.markdown
M blog/2012-11-24-my-perfect-terminal.markdown
M blog/2012-12-06-rooting-a-nexus-7.markdown
M blog/2012-12-12-name-your-servers.markdown
M blog/2013-01-01-a-thank-you-note.markdown
M blog/2013-05-03-new-home.markdown
M blog/2013-05-28-getting-started-with-rtems-on-archlinux.markdown
M blog/2013-05-28-summer-of-code-2013.markdown
M blog/2013-06-23-debugging-rtems-with-gdb.markdown
M blog/2014-08-16-automatic-log-in-for-act-broadband.markdown
M blog/2015-02-21-syslog-on-mac-os-x-cheat-sheet.markdown
M blog/2015-03-28-state-of-terminal-2015-edition.markdown
M blog/2015-03-29-notes-on-cgo.markdown
M blog/2015-06-30-static-site-generators.markdown
M blog/2015-08-22-recursion.markdown
M blog/2015-12-01-a-random-rant.markdown
M blog/2015-12-28-swanthathralokam.markdown
M blog/2016-01-14-golang-shorthand-operator-allows-accidental-shadowing-of-variable.markdown
M blog/2017-08-02-linux-4.12.markdown
M blog/2018-03-08-kuhs.markdown
M blog/2018-08-04-freebsd-wifi-configuration.markdown
M blog/2019-01-08-recurse-center-day-#-2.markdown
M blog/2019-01-20-experiments-in-owning-data.markdown
M blog/2019-01-23-experiments-in-owning-data:-software.markdown
A templates/tag.html
M blog/2011-03-21-long-time.markdown => blog/2011-03-21-long-time.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-03-21 01:23:00
layout: post
slug: long-time
tags: update, posterous
title: Long time.
wordpress_id: 47145570
categories: Update Posterous
---

Its been long time, Almost a year. Lots of things happened. Good and bad, I dont want to recollect and dump all the past here, But future, I promise you to speak about it, :-)

M blog/2011-03-24-school-memories.markdown => blog/2011-03-24-school-memories.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-03-24 07:16:42
layout: post
slug: school-memories
tags: friends
title: School Memories
wordpress_id: 47147523
categories: Friends
---

[![Ron_01-jan-05_1-43-59](http://dbalan.files.wordpress.com/2011/03/81726-ron_01-jan-05_1-43-59.jpg)](http://dbalan.files.wordpress.com/2011/03/81726-ron_01-jan-05_1-43-59.jpg)

M blog/2011-03-26-earth-hour-official-video.markdown => blog/2011-03-26-earth-hour-official-video.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-03-26 21:25:00
layout: post
slug: earth-hour-official-video
tags: thoughts
title: Earth Hour
wordpress_id: 47451256
categories: Thoughts
---

[youtube http://www.youtube.com/watch?v=4Mxjbip6y04?wmode=transparent]

M blog/2011-03-26-firefox.markdown => blog/2011-03-26-firefox.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-03-26 20:58:00
layout: post
slug: firefox
tags: debian, 'free, software'
title: Firefox 4
wordpress_id: 47448980
categories: Debian 'Free software'
---

[![Firefox](http://dbalan.files.wordpress.com/2011/03/144e7-firefox.png)](http://dbalan.files.wordpress.com/2011/03/144e7-firefox.png)

M blog/2011-04-01-compski-night-firends-and-fun.markdown => blog/2011-04-01-compski-night-firends-and-fun.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-04-01 06:08:00
layout: post
slug: compski-night-firends-and-fun
tags: friends, trivandrum
title: Compski Night - Friends and Fun
wordpress_id: 48042401
categories: Friends Trivandrum
---

[![Me](http://dbalan.files.wordpress.com/2011/04/a9ff5-me.jpg)](http://dbalan.files.wordpress.com/2011/04/a9ff5-me.jpg)[![Img_3093-20](http://dbalan.files.wordpress.com/2011/04/9dafe-img_3093-20.jpg)](http://dbalan.files.wordpress.com/2011/04/9dafe-img_3093-20.jpg)[![Img_3093-17](http://dbalan.files.wordpress.com/2011/04/bfa6a-img_3093-17.jpg)](http://dbalan.files.wordpress.com/2011/04/bfa6a-img_3093-17.jpg)[![Img_3093-0](http://dbalan.files.wordpress.com/2011/04/3bf0a-img_3093-0.jpg)](http://dbalan.files.wordpress.com/2011/04/3bf0a-img_3093-0.jpg)[![Img_3093-2](http://dbalan.files.wordpress.com/2011/04/55f5c-img_3093-2.jpg)](http://dbalan.files.wordpress.com/2011/04/55f5c-img_3093-2.jpg)[![Img_3093-1](http://dbalan.files.wordpress.com/2011/04/2862a-img_3093-1.jpg)](http://dbalan.files.wordpress.com/2011/04/2862a-img_3093-1.jpg)[![Img_3093-3](http://dbalan.files.wordpress.com/2011/04/827eb-img_3093-3.jpg)](http://dbalan.files.wordpress.com/2011/04/827eb-img_3093-3.jpg)[![Img_3093-4](http://dbalan.files.wordpress.com/2011/04/ddc4c-img_3093-4.jpg)](http://dbalan.files.wordpress.com/2011/04/ddc4c-img_3093-4.jpg)[![Img_3093-9](http://dbalan.files.wordpress.com/2011/04/76429-img_3093-9.jpg)](http://dbalan.files.wordpress.com/2011/04/76429-img_3093-9.jpg)[![Img_3093-5](http://dbalan.files.wordpress.com/2011/04/982f5-img_3093-5.jpg)](http://dbalan.files.wordpress.com/2011/04/982f5-img_3093-5.jpg)[![Img_3093-12](http://dbalan.files.wordpress.com/2011/04/b882d-img_3093-12.jpg)](http://dbalan.files.wordpress.com/2011/04/b882d-img_3093-12.jpg)[![Img_3093-10](http://dbalan.files.wordpress.com/2011/04/fa011-img_3093-10.jpg)](http://dbalan.files.wordpress.com/2011/04/fa011-img_3093-10.jpg)[![Img_3093-13](http://dbalan.files.wordpress.com/2011/04/cce9a-img_3093-13.jpg)](http://dbalan.files.wordpress.com/2011/04/cce9a-img_3093-13.jpg)[![Img_3093-21](http://dbalan.files.wordpress.com/2011/04/93fa8-img_3093-21.jpg)](http://dbalan.files.wordpress.com/2011/04/93fa8-img_3093-21.jpg)[![Img_3093-7](http://dbalan.files.wordpress.com/2011/04/3f468-img_3093-7.jpg)](http://dbalan.files.wordpress.com/2011/04/3f468-img_3093-7.jpg)[![Img_3093-8](http://dbalan.files.wordpress.com/2011/04/49cd8-img_3093-8.jpg)](http://dbalan.files.wordpress.com/2011/04/49cd8-img_3093-8.jpg)[![Img_3093-6](http://dbalan.files.wordpress.com/2011/04/5c51e-img_3093-6.jpg)](http://dbalan.files.wordpress.com/2011/04/5c51e-img_3093-6.jpg)[![Img_3093-14](http://dbalan.files.wordpress.com/2011/04/c37ae-img_3093-14.jpg)](http://dbalan.files.wordpress.com/2011/04/c37ae-img_3093-14.jpg)[![Img_3093-15](http://dbalan.files.wordpress.com/2011/04/fd4a4-img_3093-15.jpg)](http://dbalan.files.wordpress.com/2011/04/fd4a4-img_3093-15.jpg)[![Img_3093-16](http://dbalan.files.wordpress.com/2011/04/349f1-img_3093-16.jpg)](http://dbalan.files.wordpress.com/2011/04/349f1-img_3093-16.jpg)[![Img_3093-18](http://dbalan.files.wordpress.com/2011/04/84898-img_3093-18.jpg)](http://dbalan.files.wordpress.com/2011/04/84898-img_3093-18.jpg)[![Img_3093-11](http://dbalan.files.wordpress.com/2011/04/0abbb-img_3093-11.jpg)](http://dbalan.files.wordpress.com/2011/04/0abbb-img_3093-11.jpg)

M blog/2011-04-05-sharing-the-posterous-way.markdown => blog/2011-04-05-sharing-the-posterous-way.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-04-05 15:08:24
layout: post
slug: sharing-the-posterous-way
tags: college
title: Sharing the posterous way..
wordpress_id: 48536674
categories: College
---

For people with no idea, This is our mathematics assignment, shared in

M blog/2011-04-19-bed-of-roses.markdown => blog/2011-04-19-bed-of-roses.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-04-19 04:35:25
layout: post
slug: bed-of-roses
tags: trivandrum
title: Bed of Roses
wordpress_id: 50054557
categories: Trivandrum
---

![](http://dbalan.files.wordpress.com/2011/04/c8a04-bedofroses.jpg)]

M blog/2011-04-20-happy.markdown => blog/2011-04-20-happy.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-04-20 11:56:22
layout: post
slug: happy
tags: friends, thoughts
title: happy
wordpress_id: 50200868
categories: Friends Thoughts
---

[hap-ee] adjective, -pier, -piest.

M blog/2011-04-28-adept.markdown => blog/2011-04-28-adept.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-04-28 06:23:27
layout: post
slug: adept
tags: thoughts
title: Adept
wordpress_id: 51072398
categories: Thoughts
---

We all want things to remain same, afraid of change always. set out to

M blog/2011-05-02-the-story-of-linux.markdown => blog/2011-05-02-the-story-of-linux.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-05-02 03:42:58
layout: post
slug: the-story-of-linux
tags: thoughts
title: The Story Of Linux
wordpress_id: 51514829
categories: Thoughts
---

[youtube http://www.youtube.com/watch?v=5ocq6_3-nEw?wmode=transparent]

M blog/2011-05-07-gsoc-2011-i-am-in.markdown => blog/2011-05-07-gsoc-2011-i-am-in.markdown +1 -4
@@ 4,12 4,9 @@ comments: true
date: 2011-05-07 10:52:33
layout: post
slug: gsoc-2011-i-am-in
tags: free software, gsoc, thoughts
title: GSoC 2011, I am in.
wordpress_id: 52138307
categories:
- Free software
- GSoC
- Thoughts
---

I am too lazy to do anything these days, it took a long time to get over all that mind set. Sorry for not posting this guys,

M blog/2011-05-14-welcome-to-acm-courtesy-of-google.markdown => blog/2011-05-14-welcome-to-acm-courtesy-of-google.markdown +1 -4
@@ 4,12 4,9 @@ comments: true
date: 2011-05-14 00:37:00
layout: post
slug: welcome-to-acm-courtesy-of-google
tags: free software, gsoc, thoughts
title: Welcome to ACM, Courtesy of Google
wordpress_id: 52982430
categories:
- Free software
- GSoC
- Thoughts
---

So when I opened my mailbox today, this was watinig for me. It may not exactly fall into the type but still kind of first salary to me.

M blog/2011-05-28-hmm-vacation-work-time.markdown => blog/2011-05-28-hmm-vacation-work-time.markdown +1 -0
@@ 4,6 4,7 @@ comments: true
date: 2011-05-28 08:44:00
layout: post
slug: hmm-vacation-work-time
tags: untagged
title: Hmm, Vacation (Work) Time.
wordpress_id: 54729006
---

M blog/2011-06-04-distributed-computing.markdown => blog/2011-06-04-distributed-computing.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-06-04 22:48:00
layout: post
slug: distributed-computing
tags: boinc, computing, gsoc
title: Distributed Computing.
wordpress_id: 55668225
categories: Boinc Computing GSoC
---

Since I got involved with distributed computing for my GSoC some my non technical friends were asking questions about the project, heres an article I suggest you all. I am sure this will solve almost all your questions.

M blog/2011-06-05-random-reverbations.markdown => blog/2011-06-05-random-reverbations.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-06-05 00:23:40
layout: post
slug: random-reverbations
tags: friends
title: Random reverbations.
wordpress_id: 55677606
categories: Friends
---

Never underestimate an old hard disk, this was the lesson I learned this morning, So the hard-earned memories,

M blog/2011-07-19-birthday-food-for-thought.markdown => blog/2011-07-19-birthday-food-for-thought.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-07-19 06:30:00
layout: post
slug: birthday-food-for-thought
tags: thoughts
title: 'Birthday: Food for thought.'
wordpress_id: 64888968
categories: Thoughts
---

[![Me](http://dbalan.files.wordpress.com/2011/07/62d42-me.jpg)](http://dbalan.files.wordpress.com/2011/07/62d42-me.jpg)

M blog/2011-08-23-sigsegv.markdown => blog/2011-08-23-sigsegv.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-08-23 12:54:29
layout: post
slug: sigsegv
tags: markers, thoughts
title: SIGSEGV
wordpress_id: 66702565
categories: Markers Thoughts
---

**"Experience is the most brutal of all teachers."

M blog/2011-08-30-what-you-do-when-you-get-a-free-day.markdown => blog/2011-08-30-what-you-do-when-you-get-a-free-day.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-08-30 06:12:22
layout: post
slug: what-you-do-when-you-get-a-free-day
tags: thoughts
title: What you do when you get a free day?
wordpress_id: 67570727
categories: Thoughts
---

By free I never meant something like a holiday you get in ages which

M blog/2011-09-10-good-to-be-back.markdown => blog/2011-09-10-good-to-be-back.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-09-10 16:41:46
layout: post
slug: good-to-be-back
tags: trivandrum
title: Good to be back.
wordpress_id: 69482578
categories: Trivandrum
---

[![20110910_0024_01](http://dbalan.files.wordpress.com/2011/09/78df1-20110910_0024_01.jpg)](http://dbalan.files.wordpress.com/2011/09/78df1-20110910_0024_01.jpg)

M blog/2011-09-11-nothing-else-matters.markdown => blog/2011-09-11-nothing-else-matters.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-09-11 14:49:25
layout: post
slug: nothing-else-matters
tags: thoughts
title: Nothing Else Matters.
wordpress_id: 69645449
categories: Thoughts
---

     **"Our integrity sells for so little, but it is all we really have, It is the very last inch of us.**

M blog/2011-09-16-crazy.markdown => blog/2011-09-16-crazy.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-09-16 13:08:11
layout: post
slug: crazy
tags: thoughts
title: Crazy
wordpress_id: 70601600
categories: Thoughts
---

[![Dsc_0120](http://dbalan.files.wordpress.com/2011/09/e3003-dsc_0120.jpg)](http://dbalan.files.wordpress.com/2011/09/e3003-dsc_0120.jpg)

M blog/2011-10-11-ffmepg-nokia-7210-video-clips.markdown => blog/2011-10-11-ffmepg-nokia-7210-video-clips.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-10-11 03:33:00
layout: post
slug: ffmepg-nokia-7210-video-clips
tags: gnu/linux, multimedia, tips
title: FFmpeg + Nokia 7210 Video Clips.
wordpress_id: 74980538
categories: GNU/Linux Multimedia Tips
---

Nokia 7210 supports video clips of container mp4 with following specifications.

M blog/2011-10-11-latex-on-the-go.markdown => blog/2011-10-11-latex-on-the-go.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-10-11 10:18:00
layout: post
slug: latex-on-the-go
tags: latex, tips
title: LaTeX on the go.
wordpress_id: 75017934
categories: LaTeX Tips
---

This is just another day I thanked web 2.0, this time the story goes like this.

M blog/2011-10-28-falling-slowly.markdown => blog/2011-10-28-falling-slowly.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2011-10-28 16:02:00
layout: post
slug: falling-slowly
tags: thoughts
title: Falling Slowly.
wordpress_id: 77612351
categories: Thoughts
---

Its a song from the movie [Once](http://www.imdb.com/title/tt0907657/), very beautiful one. The song was exactly

M blog/2012-01-09-arrow-keys-input-in-python.markdown => blog/2012-01-09-arrow-keys-input-in-python.markdown +1 -3
@@ 4,11 4,9 @@ comments: true
date: 2012-01-09 14:30:00
layout: post
slug: arrow-keys-input-in-python
tags: programing, python
title: Arrow Keys input in python.
wordpress_id: 93005403
categories:
- Programing
- Python
---

I had an assignment to write an applicaion to control a toy helicopter. It should accept the inputs from the arrow keys and then generate a serial signal. The serial port is connected to the interfacing circutary.

M blog/2012-03-18-progress-bar-in-mercurial-pushpull.markdown => blog/2012-03-18-progress-bar-in-mercurial-pushpull.markdown +1 -4
@@ 4,12 4,9 @@ comments: true
date: 2012-03-18 02:56:00
layout: post
slug: progress-bar-in-mercurial-pushpull
tags: free software, programing, revision control
title: Progress bar in mercurial push/pull
wordpress_id: 112432788
categories:
- Free software
- Programing
- Revision Control
---

I admit I am a huge Git fanatic. Infact I havent used anything else for managing the code (except some checkout from svn). I was trying to build [orange](http://orange.biolab.si/), so I wasnt very happy when I realised they use [mercurial](http://mercurial.selenic.com/wiki/Mercurial) for the revision control (I, like all my fellow programmers is a lazy person to adapt ;-) ).

M blog/2012-03-29-thamarassery-mountain-pass-wayanad.markdown => blog/2012-03-29-thamarassery-mountain-pass-wayanad.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2012-03-29 18:34:38
layout: post
slug: thamarassery-mountain-pass-wayanad
tags: trips
title: Thamarassery Mountain Pass, Wayanad.
wordpress_id: 116868927
categories: Trips
---

[![Thamarasery](http://dbalan.files.wordpress.com/2012/03/7777a-thamarasery.jpg)](http://dbalan.files.wordpress.com/2012/03/7777a-thamarasery.jpg)

M blog/2012-11-21-netbsd-chronicles.markdown => blog/2012-11-21-netbsd-chronicles.markdown +1 -1
@@ 4,9 4,9 @@ comments: true
date: 2012-11-21 21:45:00
layout: post
slug: netbsd-chronicles
tags: netbsd
title: NetBSD Chronicles.
wordpress_id: 169330104
categories: NetBSD
---

To be frank I wasn't doing much for almost an year, got lazy as one can ever be. Today was the day to break it. Got a little push do something and I got down to do it. I was looking at BSD development for a long time, and thought this is the best time to get involved. I am a total noob at BSD, I never really used one. So it was challenging when I started to install NetBSD into an old Comapq nx6120 that was lying around. I know anyone could get to the root shell easily, with help from brilliant click and go installers, configuring and customizing was the real problem.

M blog/2012-11-24-my-perfect-terminal.markdown => blog/2012-11-24-my-perfect-terminal.markdown +1 -6
@@ 4,14 4,9 @@ comments: true
date: 2012-11-24 05:44:19
layout: post
slug: my-perfect-terminal
tags: gnu/linux, zsh, terminator, archlinux, solarized
title: My perfect terminal
wordpress_id: 169555417
categories:
- GNU/Linux
- ZSH
- Terminator
- Archlinux
- Solarized
---

  1. Install [ZSH](http://www.zsh.org/)

M blog/2012-12-06-rooting-a-nexus-7.markdown => blog/2012-12-06-rooting-a-nexus-7.markdown +1 -5
@@ 4,13 4,9 @@ comments: true
date: 2012-12-06 18:26:00
layout: post
slug: rooting-a-nexus-7
tags: android, programing, hack, rooting
title: Rooting a nexus 7
wordpress_id: 171074083
categories:
- Android
- Programing
- Hack
- Rooting
---

Lot of posts in the web about this is just bogus, all of them want you

M blog/2012-12-12-name-your-servers.markdown => blog/2012-12-12-name-your-servers.markdown +1 -5
@@ 4,13 4,9 @@ comments: true
date: 2012-12-12 10:51:00
layout: post
slug: name-your-servers
tags: terminal, ssh, gnu/linux, hack
title: Name your servers.
wordpress_id: 171537089
categories:
- Terminal
- SSH
- GNU/Linux
- Hack
---

If your day involves ssh-ing into various servers, you know how

M blog/2013-01-01-a-thank-you-note.markdown => blog/2013-01-01-a-thank-you-note.markdown +1 -2
@@ 4,10 4,9 @@ comments: true
date: 2013-01-01 00:28:00
layout: post
slug: a-thank-you-note
tags: life
title: A Thank You Note.
wordpress_id: 173304734
categories:
- Life
---

[![4918647118_e1c7e4644f_d](http://dbalan.files.wordpress.com/2013/01/869b2-4918647118_e1c7e4644f_d.jpg)](http://dbalan.files.wordpress.com/2013/01/869b2-4918647118_e1c7e4644f_d.jpg)

M blog/2013-05-03-new-home.markdown => blog/2013-05-03-new-home.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "New Home"
date: 2013-05-03 21:01
comments: true
categories:
- Posterous
- Update
- Octopress
date: 2013-05-03 21:01
layout: post
tags: posterous, update, octopress
title: New Home
---

I loved posterous. I don't know how I missed it but till the final day I had no clue they were shutting down. It was an hour of panic. I had every itch not to go back to wordpress. It was bloated and just not my thing, and Jekyll was way to much work!

M blog/2013-05-28-getting-started-with-rtems-on-archlinux.markdown => blog/2013-05-28-getting-started-with-rtems-on-archlinux.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Getting started with RTEMS on Archlinux"
date: 2013-05-28 21:24
comments: true
categories:
- RTEMS
- GSoC
- Archlinux
date: 2013-05-28 21:24
layout: post
tags: rtems, gsoc, archlinux
title: Getting started with RTEMS on Archlinux
---

The default RTEMS geting started does not cover the toolchain setup as it should be. It either redirects the user to download a ~1 GB distro or some pretty old RPMs. This shouldn't be like this.

M blog/2013-05-28-summer-of-code-2013.markdown => blog/2013-05-28-summer-of-code-2013.markdown +4 -4
@@ 1,9 1,9 @@
---
layout: post
title: "Summer of Code 2013"
date: 2013-05-28 12:35
comments: true
categories: GSoC Update RTEMS
date: 2013-05-28 12:35
layout: post
tags: gsoc, update, rtems
title: Summer of Code 2013
---
![](/images/gsoc_2013.jpg)


M blog/2013-06-23-debugging-rtems-with-gdb.markdown => blog/2013-06-23-debugging-rtems-with-gdb.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Debugging RTEMS with GDB"
date: 2013-06-23 19:40
comments: true
categories: 
 - RTEMS
 - GSoC
 - GDB
date: 2013-06-23 19:40
layout: post
tags: rtems, gsoc, gdb
title: Debugging RTEMS with GDB
---

RTEMS is difficult to debug, since the default GDB behaviour follows a language based approch and developer will have to debug the application+RTEMS stack as a whole. We are in process of developing a new set of extenstions for GDB to play nice with RTEMS. The intial code is available in this [github repository](https://github.com/dbalan/rtems-gdb).

M blog/2014-08-16-automatic-log-in-for-act-broadband.markdown => blog/2014-08-16-automatic-log-in-for-act-broadband.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Automatic log-in for ACT Broadband"
date: 2014-08-16 19:14
comments: true
categories: 
 - scripts
 - bangalore
 - ACT broadband
date: 2014-08-16 19:14
layout: post
tags: scripts, bangalore, act broadband
title: Automatic log-in for ACT Broadband
---

In my openion [ACT](http://portal.acttv.in) is the best ISP in [Bangalore](http://en.wikipedia.org/wiki/Bangalore), I found this network to be much better than any other provider in terms of reliability and the bandwidth, they seem very hacker friendly too, logging in as straightforward as a simple HTTP POST. 

M blog/2015-02-21-syslog-on-mac-os-x-cheat-sheet.markdown => blog/2015-02-21-syslog-on-mac-os-x-cheat-sheet.markdown +4 -8
@@ 1,13 1,9 @@
---
layout: post
title: "Syslog on Mac OS X: Cheat Sheet"
date: 2015-02-21 00:41
comments: true
categories:
 - mac
 - osx
 - syslog
 - cheatsheet
date: 2015-02-21 00:41
layout: post
tags: mac, osx, syslog, cheatsheet
title: 'Syslog on Mac OS X: Cheat Sheet'
---
This is a quick cheatsheet to work with [`syslog(1)`](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/syslog.1.html) implementation OS X uses.


M blog/2015-03-28-state-of-terminal-2015-edition.markdown => blog/2015-03-28-state-of-terminal-2015-edition.markdown +4 -9
@@ 1,14 1,9 @@
---
layout: post
title: "State of Terminal: 2015 Edition"
date: 2015-03-28 00:28
comments: true
categories:
- computing
- emacs
- osx
- terminal
- zsh
date: 2015-03-28 00:28
layout: post
tags: computing, emacs, osx, terminal, zsh
title: 'State of Terminal: 2015 Edition'
---
I do this every year to keep track of the changes in my style. This is the first that goes public though


M blog/2015-03-29-notes-on-cgo.markdown => blog/2015-03-29-notes-on-cgo.markdown +4 -6
@@ 1,11 1,9 @@
---
layout: post
title: "Notes on cgo"
date: 2015-03-29 00:28
comments: true
categories:
- golang
- c
date: 2015-03-29 00:28
layout: post
tags: golang, c
title: Notes on cgo
---

## Referencing c from go.

M blog/2015-06-30-static-site-generators.markdown => blog/2015-06-30-static-site-generators.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Static site generators"
date: 2015-06-30 00:28
comments: true
categories:
- blogging
- octopress
- meta
date: 2015-06-30 00:28
layout: post
tags: blogging, octopress, meta
title: Static site generators
---
I use octopress with github hosting my pages.
Everytime I sit down to write, I have to look up commands in my bash history and read documentation. Its very distracting when you just want to write.

M blog/2015-08-22-recursion.markdown => blog/2015-08-22-recursion.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Recursion"
date: 2015-08-22 00:28
comments: true
categories:
- haskell
- recursion
- fibonacci numbers
date: 2015-08-22 00:28
layout: post
tags: haskell, recursion, fibonacci numbers
title: Recursion
---

```haskell

M blog/2015-12-01-a-random-rant.markdown => blog/2015-12-01-a-random-rant.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "A Random rant"
date: 2015-12-01 00:00
comments: false
categories:
- life
- rant
- filesystems
date: 2015-12-01 00:00
layout: post
tags: life, rant, filesystems
title: A Random rant
---

```

M blog/2015-12-28-swanthathralokam.markdown => blog/2015-12-28-swanthathralokam.markdown +4 -8
@@ 1,13 1,9 @@
---
layout: post
title: "Swanthathralokam '15"
date: 2015-12-28 12:52
comments: true
categories:
 - rationality
 - malayalam
 - trivandrum
 - freethought
date: 2015-12-28 12:52
layout: post
tags: rationality, malayalam, trivandrum, freethought
title: Swanthathralokam '15
---

_[Swathathralokam '15](http://swathanthralokam2015.com/) was a conference on rationality and free thought that happened during 24th and 25th of december 2015_

M blog/2016-01-14-golang-shorthand-operator-allows-accidental-shadowing-of-variable.markdown => blog/2016-01-14-golang-shorthand-operator-allows-accidental-shadowing-of-variable.markdown +4 -5
@@ 1,10 1,9 @@
---
layout: post
title: "go: `:=` operator causes accidental shadowing"
date: 2016-01-14 21:13
comments: true
categories:
  - go
date: 2016-01-14 21:13
layout: post
tags: go
title: 'go: `:=` operator causes accidental shadowing'
---

Go provides `:=` operator to make declaring variables easier. It is a [shorthand to declare and set a value of a variable](https://golang.org/ref/spec#Short_variable_declarations). for example,

M blog/2017-08-02-linux-4.12.markdown => blog/2017-08-02-linux-4.12.markdown +4 -8
@@ 1,13 1,9 @@
---
layout: post
title: "Linux-4.12 "
date: 2017-08-02
comments: true
categories:
  - linux
  - kernel
  - systems
  - code
date: 2017-08-02
layout: post
tags: linux, kernel, systems, code
title: 'Linux-4.12 '
---

Linux 4.12 was released few weeks ago. Its always nice to get a new version of kernel, but this time it was extra sweet, I managed to get some tiny commits merged to the release.

M blog/2018-03-08-kuhs.markdown => blog/2018-03-08-kuhs.markdown +4 -6
@@ 1,11 1,9 @@
---
layout: post
title: "KUHS"
date: 2018-03-08
comments: true
categories:
  - kuhs
  - dns
date: 2018-03-08
layout: post
tags: kuhs, dns
title: KUHS
---

[Kerala University of Health Sciences](https://en.wikipedia.org/wiki/Kerala_University_of_Health_Sciences),

M blog/2018-08-04-freebsd-wifi-configuration.markdown => blog/2018-08-04-freebsd-wifi-configuration.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "FreeBSD wifi configuration"
date: 2018-08-04
comments: true
categories:
  - freebsd
  - notes
  - short
date: 2018-08-04
layout: post
tags: freebsd, notes, short
title: FreeBSD wifi configuration
---

To setup mulitple wlan profiles on FreeBSD and connect to them

M blog/2019-01-08-recurse-center-day-#-2.markdown => blog/2019-01-08-recurse-center-day-#-2.markdown +4 -7
@@ 1,12 1,9 @@
---
layout: post
title: "Misplaced inodes - Recurse Center Day # 2"
date: 2019-01-08
comments: true
categories:
  - rc
  - freebsd
  - haskell
date: 2019-01-08
layout: post
tags: rc, freebsd, haskell
title: 'Misplaced inodes - Recurse Center Day # 2'
---

I am part of the Winter 2 batch of [RC](https://recurse.com) and today is day

M blog/2019-01-20-experiments-in-owning-data.markdown => blog/2019-01-20-experiments-in-owning-data.markdown +1 -1
@@ 3,7 3,7 @@ layout: post
title: "Experiments In Owning Data"
date: 2019-01-20
comments: true
tags: freebsd
tags: freebsd, data, hetzner
---

I have been working for a while to own most of the data I generate. Thought I

M blog/2019-01-23-experiments-in-owning-data:-software.markdown => blog/2019-01-23-experiments-in-owning-data:-software.markdown +1 -4
@@ 3,10 3,7 @@ layout: post
title: "Experiments In Owning Data: Part 2"
date: 2019-01-23
comments: true
categories:
  - freebsd
  - nextcloud
  - data
tags: freebsd, nextcloud, data
---

_[Checkout part 1](/blog/2019/01/20/experiments-in-owning-data/index.html)_

A templates/tag.html => templates/tag.html +5 -0
@@ 0,0 1,5 @@
<article>
<h1>$title$</h1>
$partial("templates/post-list.html")$
</article>