Error message
Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4736 of /home/sites/site100029201/web/rolandtapken.de/htdocs/sites/all/libraries/geshi/geshi.php).
Linux
I'm doing some end-user support for Linux desktops (family and friends). From a chat with my mother and observation of our trainee I've noticed that what's normal users making the most head pains are the different packaging formats. For example, when you want to download Google Chrome Linux users are confronted with four different options:
2014-02-26:
I've updated this HowTo for current versions of udev and kvm.
libvirt/kvm allows you to expose any usb device attached to your physical maschine to the guests. Just edit the domain's XML definition and add the following <hostdev> to the <devices> area:
Today I wrote a patch to Flexbackup 1.2.1 which allows you to define exclude expressions on a per-directory-base (like svn:ignore, cvs_ignore or tar's --exclude-from). Apply this patch and add the following line to your flexbackup.conf:
$exclude_expr_filename = '.flexbackup_exclude';
Wednesday, 19 January 2011
If you have a table "tablename" with a (non-PK) column "number" and you want to enumerate all existing rows starting with 1000 you can use the following SQL statement:
SET @n = 999;
DROP TABLE IF EXISTS `tablename_tmp`;
CREATE TEMPORARY TABLE `tablename_tmp` (`tmpid` INT PRIMARY KEY, `n` INT);
INSERT INTO `tablename_tmp` SELECT `id`, @n := @n + 1 FROM `tablename`;
UPDATE `tablename` SET `number` =
(SELECT `n` FROM `tablename_tmp` WHERE `tmpid` = `id`);
DROP TABLE `tablename_tmp`;
Flexbackup is a very nice and flexible tool to create full, incremental and differential backups. But if you store your backups in an untrusted environment you might want do encrypt the created archive files. Flexbackup cannot handle it by default, but there is a very simple way to get the desired results by replacing the default gzip binary with a wrapper file.
Ein kleiner Memo-Eintrag, in erster Linie für mich selbst. Logisch, dass dies in Deutschland so nur mit selbst erstellten DVDs oder mit gekauften DVDs ohne Kopierschutz gemacht werden darf (und die archivierte Kopie natürlich auch nicht weitergegeben werden darf, aber das ist wohl selbstverständlich)...
Komplette DVD-Kopie anlegen:
$ dvdbackup -M
Einen einzelnen Titel N auslesen:
Monday, 13 September 2010
Since my laptop is under repair I've tried to boot its operating system (Fedora 13) from a Mac Mini.
Mein Laptop betreibe ich aufgrund der damaligen Arroganz der Entwickler bereits seit fast zwei Jahren nicht mit Gentoo Linux. Und hab es auch ehrlich gesagt auch nicht bereut. Aber der Web- und Mailserver, auf dem zum Beispiel auch tasmiro.de liegt, blieb weiterhin auf diesem OS. Überstand sogar einen Serverumzug und später die Migration in eine KVM. Doch gestern abend passierte ein Unglück.
Wie schon erwähnt fehlt meinem neuen Notebook leider ein UMTS-Model. Nun ja, mein Handy habe ich immer dabei und dank der Fonic Tagesflatrate (2,50 EUR pro Kalendertag) kann ich in wichtigen Fällen darüber online gehen. Doch dazu müsste ich ja auch ständig das USB-Kabel mit mir rumschleppen. Glücklicherweise haben die Erfinder von Bluetooth schon vor vielen Jahren daran gedacht, dass man Handies ja auch als drahtlose Modem verwenden könnte.
Thursday, 22 October 2009
Ich installiere gerade das RC2 von Mandriva 2010.0 und der erste Eindruck ist: Reeeespekt! Ich hab's dem Installer besonders schwer gemacht, indem ich (neben einer kleinen ext2-Partition für /boot) den gesamten Rest in einr verschlüsselte dm-crypt-Partition gepackt habe, dort hinein ein LVM und dieses in swap, / und /home aufgeteilt habe:
Pages