Tag: Linux

  • WordPress without a web server

    WordPress without a web server

    In the almost two months we’ve spent in Coronavirus lockdown here in Venice, I’ve had the opportunity to get some of the old forgotten tasks done. During one of these I finally got around working with WordPress from the command line, and directly from PHP without running a web server. It is amazingly simple. My…

  • Asus Eee Pc 1000H with Debian Lenny (testing)

    Asus Eee Pc 1000H with Debian Lenny (testing)

    I have bought an Asus EeePc 1000H which is one of the new popular netbook – a very small and light weight notebook. I chose the Asus EeePc 1000H for several reasons: I travel a lot, often by motorcycle and kayak, and need something compact and lightweight for mail, internet, blog updates and social networks;…

  • Emacs wiki

    I just stumbled upon http://www.emacswiki.org/cgi-bin/wiki/SiteMap, which looks like a very nice place. I found a newer version of longlines.el, for example.

  • Converting AAC audio files to mp3

    This command will convert an AAC audio file to an mp3 audio file: ffmpeg -i input.m4a -acodec mp3 -ac 2 -ab 128 output.mp3 Batch conversion can be done with for i in *.m4a; do ffmpeg -i “$i” -acodec mp3 -ac 2 -ab 128 “${i%m4a}mp3”; done Sometimes it really is simple 🙂

  • Labels on ext2 and ext3 filesystems

    I just recently discovered that you can put a label on an ext2 or an ext3 filesystem, just like you can with a msdos/fat filesystem. The reason I didn’t know was probably that it didn’t matter, but now with hal and gnome-volume-manager automounting removable disks, the disks in my usb enclosures are mounted as /media/usbdisk,…

  • Resampling audio data

    I’ve never done much with audio data, so when I had to write some audio files to cd, and they weren’t sampled at the right rate, I had a problem. Fortunately, I found sox: sox input.wav -r 44100 output.wav resample did the job. And I tought it was going to be difficult 🙂

  • GNU Emacs and UTF-8 locale

    I recently wanted to shift to a UTF-8 locale, because I wanted to play with stuff like writing in Arabic, and because it seems to be the road forward. So I switched and GNU Emacs starts to enter garbage in my buffers. I type “æøåÆØÅ é퀓, but Emacs gives me “æøåÃÃà éí⬓. Ever so slightly…

  • Old stuff moving over here

    I’m moving most of my old Linux related material over here, to have it all in a single location. Since the material is old, I backdate the pages so they won’t appear on the front page. Currently migrated are: Linux on Asus L8400 laptops Linux on Olivetti Echos laptops