Category: Computers
-
Synology DS720+ and NVME drives – followup
A while ago I managed to use the NVME drives on a Synology DS720+ NAS as drives, which has worked fine — until today.
-
Samsung Series 5 Ultrabook – NP530U3C-A08IT – Debian Wheezy installation
I’ve bought a Samsung Series 5 Ultrabook, model NP530U3C-A08IT to be exact, and Italian version. Its a 13″ laptop, 1,5kg with a 128Gb SSD disk. I received with it another 120 Gb SSD disk, which I have used to install Debian Wheezy, keeping the original disk with a never booted Windows 8 apart. It is…
-
Installing newer ALSA driver on an Asus Eee Pc 1000H
I have Debian testing on my Asus Eee Pc 1000H with Linux 2.6.26. The ALSA driver therein doesn’t fully support the Eee Pc 1000H (and therefore neither the 901).Sound playback is fine, but the microphone doesn’t work. Installing Linux 2.6.28 was a no-go as the drivers for the wireless isn’t available there, so I decided…
-
Cpu Frequency and Gnome Power Manager
I’ve installed Debian with Gnome on my new Asus EeePC 1000H, and for some reason the Gnome Power Manager preferences wouldn’t let me decide on what cpu frequency scaling governor I wanted to use. I’m trying to squeeze as much time as I can out of the battery, so I wanted it to be “powersave”…
-
Bluetooth Audio Headset
I have a Philips SHB6100 bluetooth headset which I have only used with my mobile phone. A long time ago I tried getting it to work with Debian, but it was too much work for too little. Today I tried again, and things has changed quite a bit. I had it working in less than…
-
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;…
-
Microsoft® SilverLight
I just ran into a site that required Microsoft® Silverlight, but I cannot install it: thought it provides “Compelling Cross-Platform User Experiences” Apparently “cross-platform” is a rather restricted concept at Microsoft, meaning “works somewhat on a Mac too”
-
Mass upload to WordPress
I often make photo entries on my other non-technical blog, and it is such a pain having to upload photo after photo in two sizes. Yesterday I discovered the Upload Unzipper which implements uploads of zip-files which are then unpacked on the server and treated as individual uploads. Fantastic time saver.
-
Aptitude
I’ve been using dpkg, apt-get and apt-cache for a long time, but since I got a new laptop with a fresh install of Debian testing I have been playing with new toys. One is aptitude. I found the curses-based interface obnoxious, but after some time I came to like the command line interface. It has…
-
Useful guide to everything DNS and Bind
There’s a very useful guide to bind and DNS at http://www.zytrax.com/books/dns/.
-
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 🙂
-
Longest Common Prefix in perl
I can’t help finding this slightly elegant. Unfortunately I no longer remember where the idea came from. #!/usr/bin/perl use strict; use warnings; sub longest_common_prefix { my $prefix = shift; for (@_) { chop $prefix while (! /^$prefix/); } return $prefix; } print longest_common_prefix(@ARGV), ” “;
-
Xterm and the clipboard
It has long been an annoyance that xterm doesn’t follow the same rules with regard to the clipboard as most GTK/Gnome applications. Xterm by default only uses the PRIMARY selection for copy and paste, and follows the implicit selection model where the selection is set immediately when text is selected with the mouse, without any…
-
With GNU Emacs you can always learn
It is close to twenty years that I have been using GNU Emacs almost daily, and you still figure out new stuff. I’ve been somewhat annoyed that copying and pasting between Emacs and Gnome applications were so inconsistent, and then its all in the manual: Using the Clipboard As well as the primary and secondary…
-
irctail – track a file on an irc channel
Irctail is a small program I wrote to keep track of log files on various servers through an IRC channel. It will track stdin or a given file (like tail -f), and send the lines to an IRC channel. There are options to specify irc server, channel, nick and some more. An example: irctail -c…