Feb 2010

Thu, 25 Feb 2010

Pyblosxom plugin to render Bibtex files as entries

Here is a small module to render the contents of Bibtex (.bib) files as Pyblosxom entries. The plugin is called bib.py and has no configuration. Just put it in your plugins folder, activate it in the config.py file and drop a bibtex file in your entries folder. It will create an unordered list, sorted by last name of the first author and year by default, which can be customized either directly in the source or via a CSS file. The plugin requires the Python bibtex module, available either from your nearest Debian mirror or the Pybliographer distribution.

The title of the entry will either be derived from the filename or from a special Bibtex @title entry:

@TITLE{KeyDoesNotMatter,
        title={Blog entry title}
}

See the result of my RF MEMS specific bibliography and my personal bibliography.

System Message: WARNING/2 (<string>, line 28)

Explicit markup ends without a blank line; unexpected unindent.

posted at 11:58 | path: /unix | permanent link to this entry

Tue, 02 Feb 2010

Debian: List installed packages by size with dpkg

$ dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' \
   | sort -k1,1n | tail -n 20 

posted at 11:26 | path: /unix | permanent link to this entry

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.