Site style, conics project
I finally played a bit with the trac / skittlish stylesheet, so spacing and lists should be okay now. Also I was unable to update this site because when switching over from apache to nginx (which is really really great) I omitted some variables to pass over fastcgi (thanks to the official trac howto) and was unable to login for a while. Ideas I wanted to put in here are stacked in my head at the moment, but it might be while until I find while to write them down.
Recently I rediscovered great todo tool conics. It lacked quick editing which I think is essential for todos, so I decided to fix that. And since I recently learned YAML, I decided it's great for that job. It's structured data format designed to be easily readable and editable. Main page of yaml.org is proof of that, as it's fully formed YAML document.
Here is an example:
%YAML 1.1 --- summary: Features todo: - summary: import/export in ics format - summary: Allow edits under links description: Follow local links when adding/editing - summary: Use env variable for default calendar - summary: Hooks description: "Add hooks like devtodo's 'on add', 'on edit'" --- summary: Documentation todo: - summary: Write manpage - summary: Document code --- summary: Tests description: Write test cases todo: - summary: SortedTree operations - summary: YAML conversion and parsing ...
When you throw in some nice syntax highlighting and editor thah can work with indentation, you can edit these todos really quick. And I did exactly that. New conics command 'yamledit' dumps todos into temporary file, opens your editor of choice and merges back changes afterwards.
Hope it will be useful to you as well.
New trac templating plugin
While I was creating wiki pages for my projects, I was looking for solution which could reuse most of the page markup, so I could just type in project info. I didn't find anything that would work reasonably well with trac 0.12.
So I decided I'll make my own plugin and you can see the result here: TracTemplateProcessor.
It's pretty flexible templating macro/processor with just ~90 lines of code. It very much resembles WikiIncludePlugin, just better. It uses keyword arguments instead of positional ones and supports default values. You can see it in action very much on every project page here.
Also note current trac style has bit broken spacing and lists, so formatting may seem bit wierd in some places.
About me & this blog
About me
I'm Linux admin / user and Free softrware developer. My prefered distro is Gentoo. I'm fluent in Python, but I also have some experience with C, C++, C# and Java.
For more about my FOSS projects you can look at my Launchpad page
About this blog
This is my personal blog, mostly about development of projects here. Don't expect frequent updates.
I might start blogging about general stuff, but since I resisted having blog at all until now, I find that quite unlikely. :-)

rss