Mittwoch Mai 23, 2012

Kernel dmesg Timestamp umwandeln

Wenn man so einen dmesg Output hier 

[120150.785488] nfs: server 10.232.218.3 not responding, timed out
[120450.903514] nfs: server 10.232.218.3 not responding, timed out
[120452.071783] nfs: server 10.232.218.3 not responding, timed out
[120462.577351] nfs: server 10.232.218.3 not responding, timed out

in ein lesbares Datumsformat umwandeln will

Wed May 23 07:52:55 2012 nfs: server 10.232.218.3 not responding, timed out
Wed May 23 07:57:55 2012 nfs: server 10.232.218.3 not responding, timed out
Wed May 23 07:57:57 2012 nfs: server 10.232.218.3 not responding, timed out
Wed May 23 07:58:07 2012 nfs: server 10.232.218.3 not responding, timed out

nimmt man das hier: 

alias tmesg='dmesg|perl -ne "BEGIN{\$a= time()- qx!cat /proc/uptime!};s/\[\s*(\d+)\.\d+\]/localtime(\$1 + \$a)/e; print \$_;"'

Mittwoch Mai 16, 2012

Links 20120515 - vert.x, OrientDB

Vert.x - Eine Node.js-Alternative auf JVM-Basis. 
OrientDB -  Eine in Java geschriebene NoSQL DB die die Vorteile von Document und Graph Datenbanken vereinigen soll. (NoSQL document database light, portable and fast. Supports ACID Tx, Indexes, asynch queries, SQL layer, clustering, etc.)

Dienstag Mai 15, 2012

Links 20120514 - Linux Sea, iPhone Astronomie, Canon Astrokamera, darktable

Linux Sea - Eine sehr gute und umfangreiche Einführung in Linux am Beispiel Gentoo Linux
iPhone am Mikroskop und Teleskop - Das Magnifi ist ein universeller Adapter für Apples iPhone 4 und 4s, mit dem die Kamera der Smartphones zum Beispiel auf Mikroskope, Teleskope, Ferngläser oder Spektive aufgesetzt werden kann.
Canons spezielle EOS 60Da für Sternengucker - Canon hat mit der EOS 60Da eine DSLR-Kamera vorgestellt, die für Astronomiemotive mit hohem Infrarot- und Ha-Lichtanteil gedacht ist.
darktable - Eine Open Source Photo Workflow Applikation und RAW developer.