~vijaykumar

Apr 2009

[ Home | Feed | Twitter | Vector Art | Ascii Art | Tutorials ]

Check Patches with Quilt

Thu, 16 Apr 2009

Linux kernel developers adhere to a coding style, documented in Documentation/CodingStyle. Patches submitted to the Linux kernel, should comply with the style. The kernel tree has a Perl script scripts/checkpatch.pl that can be used for checking style violations. People who use quilt to manage their patches might find it convenient if the style checking facility is built to quilt. So for example to check the topmost patch, one would just do

$ quilt check

It turns out this is not hard after all.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: linux-kernel

qemu-char Abstraction

Thu, 16 Apr 2009

A simulated serial peripheral is generally attached to an external interface, that will act as source for receiving data and sink for trasmitted data. This article describes the internal design of Qemu, that helps to simplify the work for people writing simulations for serial peripherals.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: qemu

AsciiDoc with PyBlosxom

Thu, 16 Apr 2009

There are several tools that convert short text documents with wiki-like markup to HTML, PDF and other document formats. One such tool called AsciiDoc has been my favourite for a long time. PyBlosxom has plugins for light-weight markup languages like reStructured Text and Textile, but not for AsciiDoc. Now that I have chosen PyBlosxom as my blogging tool, I thought it might be a nice to add AsciiDoc support to PyBlosxom.

It turned out that writing a plugin for AsciiDoc is not that hard after all, thanks to the asciidocapi introduced in AsciiDoc 8.4.1. Here is a minimal AsciiDoc plugin.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: blosxom, python

Powered by Python | Made with PyBlosxom | Valid XHTML 1.1 | Best Viewed With Any Browser | Icon Credits | CC-BY-SA