Index ¦ Archives ¦ RSS > Tag: en

Udev doc update

Estimated read time: 1 minutes

While I was away, I totally forgot about a patch they recently applied.

I also reworked my git ls-files parseopt patch today, based on Dscho's comments.


picu

Estimated read time: 1 minutes

So today I wanted to try out how to do a mass-upload of pictures to Picasa.

This message links the script itself, and after installing the gdata.py package, it works almost fine. It assumes that your google account ends with @gmail.com, which is really false in my case, but the code itself is quite simple, so you can work around this bug.

It would be nice if it would be possible to upload the picture subtitles as well this way (from a notes.txt or so), but for now I just hand-added them, it's not that difficult.


The weird unix milestone

Estimated read time: 1 minutes

$ date +%s 1234567890

and ideally it would be even a 13 and Friday combo, but here in Hungary in GMT+2 it was actually Saturday. ;-)

OTOH, I just discovered that the W3C HTML validator has a nice soap interface, so it won't be necessary to parse it's HTML output, yay! (The CSS validator has a console version, parsing that is not a problem.)


Overwriting the From header in rss2email

Estimated read time: 1 minutes

So here is the patch that allows you to do it.

Basically it is useful when the blog has no comment functionality, as in this case you can just specify an address in config.py, like:

OVERRIDE_FROM = {
                'http://landley.net/rss.xml': '''"Rob Landley's blog thing." <rob@landley.net>'''
                }

Without the patch you can just overwrite the name, not the address as well.


Ext4 support in the installer

Estimated read time: 1 minutes

So first I had to patch our grub, then adding ext4 support to the installer was more or less trivial.

The default is still ext3, though.


Java plugin for x86_64

Estimated read time: 1 minutes

Tthe i686 java plugin is at /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so. Guess where is the x86_64 one.. /usr/lib/java/jre/lib/amd64/libnpjp2.so.

Logical - dear Sun -, eh?


Suspend to RAM for more than a week

Estimated read time: 1 minutes

So I went offline for skiing for about 11 days (Jan 30 06:24:13-Feb 10 00:48:09 to be exact), and I forgot that suspend to RAM works only for a few days. My normal notebook of course switched off. But interesting enough, the iBook still did not switch off, it said the battery even had 5%! :)

Yeah, I still love this HW.


Recording the audio output of flash videos

Estimated read time: 1 minutes

This is useful if you really want to record the audio of a clip, which is not on youtube (you can use youtube-dl there).

The howto explains pretty much everything.

Here are the amixer parameters I needed:

amixer cset numid=24,iface=MIXER,name='Capture Source' 5

~/.asoundrc:

pcm.copy { type plug slave { pcm hw } route_policy copy }

record commandline:

arecord -f cd -t wav -D copy foo.wav


twitter

Estimated read time: 1 minutes

Not that I'm a web2.0 maniac, but I registered on twitter.

I think the only purpose I will use it - for now - is to microblog when I'm offline for multiple days, since blogging in that case is expenseve. We'll see.


OpenOffice.org 3.0.1 vs Boost 1.37

Estimated read time: 1 minutes

So it seems OOo 3.0.1 triggers a bug in boost 1.37, hopefully this commit will fix the issue. At least the OOo build did not stop so far..

But my "law" is still true: every openoffice upgrade shows at least one problem in some other package. ;)

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