In Makefiles there is a nice command, called filter-out. This command takes 2 Arguments: first, the needle you want to filter out, second the haystack where it is in.
This was exactly what I needed. But everytime I tried it, it returned an empty string. The solution was too easy… make doesn’t complain if you write it with an underscore instead of a hyphen – and in makepp its written with a dash, so you will also get good looking Google results
Thanks to Philip on gnu.make.bugs for pointing this out.
programming make, typo
Today, I needed a JavaScript function that converts a number like 1234567 to something more beautiful like 1.234.567. And because I didn’t need to take notice of locale settings (like using a comma instead of a dot) most solutions on the web where just too much for me and I decided to write my own. Mehr…
programming JavaScript, WWW
Egal ob Diskette, CD oder Festplatte. Kein Datenträger ist vor einem Defekt geschützt – doch wie geht man vor sobald dieser auftritt?
Hier stelle ich eine Möglichkeit vor, welche ausreichend Platz vorausgesetzt – zumindest das meiste noch lesbare aus einem Datenträger “herausholt”. Das Ganze erfordert ein wenig Linux Kenntnisse (also notfalls diesen Artikel speichern und jemandem geben der damit Erfahrung hat). Mehr…
linux Backup, Datenrettung
Von Zeit zu Zeit wünschen sich Verwandte und Bekannte einen neuen PC. Da dies immer mit etwas Zeitaufwand zum Suchen der passenden Komponenten verbunden ist, möchte ich hier eine neue Kategorie einführen um interessierten Lesern fertige Zusammenstellungen zu präsentieren bzw. deren Probleme aufzudecken.
Die erste Vorstellung ist diesmal ein Intel Core 2 Duo mit 2x 2.93GHz. Mehr…
PC
Vor rund einem Monat hat das Netzteil meiner WD Elements (1TB) den Geist aufgegeben. Da ich zum Glück noch von einer anderen Platte ein Netzteil “rumliegen” hatte, konnte ich ausschließen, dass die Platte selbst einen Defekt hat. Da die Platte noch in der Garantie lag, wandte ich mich an den Support. Mehr…
misc Support
Can you imagine to have 52 Windows XP virtual machines – 1GB RAM each – running on a server with just 16GB? Ok, sounds a lot… but we are near the 16GB barrier. Anyway, this is one of the features in the new 2.6.32 release. Its called Kernel Samepage Merging, KSM. Mehr…
linux, programming, windows In Brief, KSM, KVM, Virtualisation
Messwerte erfassen, speichern und auswerten – in der Industrie gang und gäbe, im Privathaushalt eher kaum zu finden. Da es doch für manche interessant ist zum Beispiel den Stromverbrauch täglich zu sehen und eventuell große Verbraucher ausfindig zu machen wäre es nun auch schön, einen handelsüblichen Zähler zu digitalisieren. Die Stromwerke machen es einem dabei jedoch meist nicht einfach. Mehr…
linux, private, programming Diagramm, Strom
Die Entwicklung des Butter-Dateisystems btrfs schreitet zügig voran und vielleicht können wir schon bald auf ein zeitgemäßes Dateisystem zurückgreifen mit welchem inkrementelle Snapshot-Backups Realität werden. Das gibt es schon? Mehr…
linux btrfs. backup, raid, snapshot
A new base feature from Ubuntu 9.10 is the S.M.A.R.T. notifier which informs you whenever your harddrive reports an error. Before Karmic Koala you had to install smart-notifier which does the same job but was not in the base distro. Screenshot after the break… Mehr…
linux data integrity, smart, ubuntu
Today I had a strange error using the GCC version 4.4.1 with EABI support on a non thumb-ARMv4. Everytime I compiled something, with and w/o the -mno-thumb-interwork parameter it also contained the bx lr instruction which is only for later ARM processors with thumb support. Mehr…
linux, programming arm, eabi, gcc, openwrt, thumb
Letzte Kommentare