Index ¦ Archives ¦ RSS > Category: hacking ¦ RSS

gammu2gcal

Estimated read time: 1 minutes

Here it is.

A simple script to first convert your phone's calendar entries to the ICS format, then to synchronize it with Google Calendar.

The first part is pretty trivial, the second isn't. The main problem is that there is no standard API for doing so. At the end I ended up using the web UI from curl, which is pretty hackish, but at least works. :)

Update: there is a new version here. I moved all cookie/form stuff to the curl config, so probably it'll be usable after 2 days as well... :P


Best "first patch", ever

Estimated read time: 1 minutes

If someone is a major contributor in a project, it's always funny to search back the VCS logs to see what was the first contribution. Usually a typo fix or a oneliner patch.

Partly related, cleanups are usually done by major contributors, so a cleanup is typically not e "first patch". Unless we are talking about me and gitmagic.

The funny story is that my first patch is really just about removing two parts of the book. Both were listed as "known git bugs", one was solved a long time ago, and I just fixed the other one a few days ago.


Free beer for a git patch

Estimated read time: 1 minutes

I just received today a free beer, just because I contributed a patch to git. See here.

Hacking is fun! :)


iwiw.net vs firefox

Estimated read time: 1 minutes

So iwiw.net has some flash + js interface to upload photos, but it seems firefox just segfaults here when I want to upload ones. Good idea, I should not bother with doing so.

I've wrote a small script to merge all the lilypond PDFs I have to a single one. Far from perfect, but it's a start.

I've just found album. It's an HTML index + thumbnail generator, it's a bit bloated, but it's not hard to tell it you don't want any extra features. Just downloading the script to $HOME/bin is enough and it can live without downloading any bloated themes.

Ah and the thread on fw-dev about the intel driver vs kms just sucks. I don't have time to build 2.6.32rc1 right now...


launchpad brute-force maintenance

Estimated read time: 1 minutes

Funny, when there is a maintenance on launchpad, they just filter the ssh port on the server, so you get:

ssh: connect to host bazaar.launchpad.net port 22: Connection timed out

Snip. I spent my time earlier today to make package moves in FST easier. Finally I modified the checkout plugin of our git hook framework so that if a FrugalBuild is moved from one dir to another, then the other files from the old dir are moved to the new dir as well.


Interactive revert in git

Estimated read time: 1 minutes

It's a long time since 'dg rev' could be replaced by 'git checkout -p', but that feature was missing from git.git. In the near past it got implemented and you can even avoid hitting enter after every y/n by saying:

git config interactive.singlekey true

One less feature which is unique to dg! (In the long run it would be nice if I could stop recommending its usage to users.)


a2beamer and scalable graphics

Estimated read time: 1 minutes

I spent some time with figuring out how to include piecharts and graphs in presentations.

The nice fact is that both metapost and graphviz output eps, so the result is totally scalable. ;)


a2beamer

Estimated read time: 1 minutes

I just wrote a little script to allow generating beamer slides from asciidoc source.

Snip. Vim tip of the day: you can do a word count on the current selected range if you press 'g' then ^G. (source)


KMS

Estimated read time: 1 minutes

I gave kernel-mode setting a try today with xorg-server 1.6.1, xf86-video-intel 2.8.1 and kernel 2.6.31.

From the NEWS file:

The driver certainly will work best with an i915 module from a recent kernel (2.6.31) and with kernel-modesetting (KMS, specified by loading i915 with the option "modeset=1").

Here is the result I got.

Given that the Fedora people enabled KMS in 2.6.28, and now the kernel guys say that it's really fine in 2.6.31, I should probably give it a try next time around 2.6.34. ;)


d2x, darcs-fast-import and the asciidoc repo

Estimated read time: 1 minutes

https://lh3.googleusercontent.com/NcAERI7ce8wxCIZ8XhvTZguymMVdpDTlpS1FjU-3AoGji204BO5Ig5I624XpRXZEWRmhpnEx77nJtFvjqqY_1XKVL5cjHjIgfZGwEOVHbomN_UiWwS57M1KC2qkW0GH3GsHqyq-DKA=w640

I proposed a new merge for bzr-fastimport with the following hilights:

  • darcs-fast-import can now import the asciidoc hg repo

  • d2x -f hg (which converts a darcs repo to a hg one) now works with hg 1.3, and without my hg fastimport fork. The later is something I’m really happy about, because I hated recommending my hg fastimport patches, not being a hg person. :)

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.