November 2011

Dynamische CSS-Dateien richtig in PHP einbinden

Lange Zeit habe ich dynamisches CSS inline eingebunden, das heißt in einem <style> Block. Das erzeugt eine ekelhafte Ausgabe, in der das gesamte Stylesheet direkt lesbar ist. Jetzt habe ich herausgefunden, wie das eleganter geht: In der css-Datei geben wir direkt im Kopf nach <?php die Anweisung, dass die Ausgabe nicht etwa HTML-Code, sondern ein […]

Dynamische CSS-Dateien richtig in PHP einbinden Read More »

Changing the critical battery power level for system shutdown in Ubuntu

Tested and working under: Ubuntu 11.10 („Oneiric“) Ubuntu 12.04 („Precise“) Ubuntu 12.10 („Quantal“) Ubuntu 13.04 („Raring“) Ubuntu 13.10 („Saucy“) On my Dell Inspiron i have had the problem of Ubuntu not shutting down the system early enough. As a result, the computer just gets banged off, potentially suffering data loss. I googled a bit and

Changing the critical battery power level for system shutdown in Ubuntu Read More »

Nach oben scrollen