Anwendungen und Tools zum Monitoring und Graphing von Serverdaten (Load, Memory, Traffic)
Veröffentlicht am 31.7.2011, 18:19 Uhr
SAAS:
Self-hosted:
- http://munin-monitoring.org/
- http://www.cacti.net/
- http://www.eluna.org/eluna_graph_system.html
- http://www.monitorix.org/
- http://www.prbproject.org/
- http://serverstats.berlios.de/
Ergänzungen willkommen.
1 einsamer Kommentar - :/Fix ugly fonts in Firefox 5
Veröffentlicht am 27.6.2011, 09:40 Uhr
- about:config
gfx.direct2d.disabledauf true setzen
Keine Kommentare - :(Secure XAMPP: only local connections
Veröffentlicht am 25.3.2011, 12:23 Uhr
1) Open file xampp\apache\conf\httpd.conf and replace
Listen 80
with
Listen 127.0.0.1:80
2) Open file xampp\apache\conf\extra\httpd-ssl.conf and replace
Listen 443
with
Listen 127.0.0.1:443
3) Open file xampp\mysql\bin\my.cnf|.ini and put in
bind-address=localhost
directly after [mysqld] (NOT [mysql]!)
Keine Kommentare - :(Dual-boot a hackintosh with Windows 7
Veröffentlicht am 7.7.2010, 10:26 Uhr
http://thebackpackr.com/hackintoshing-with-snow-leopard/
http://www.chip.de/news/Microsoft-Tool-Windows-7-vom-USB-Stick-installieren_38622482.html
Keine Kommentare - :(Pin Freemind to the taskbar in Windows7
Veröffentlicht am 8.4.2010, 09:55 Uhr
The normal Freemind shortcut goes directly to Freemind.exe, but as the execution takes place in Java you can’t pin this shortcut to the taskbar in Windows 7. Another icon will appear with the same icon. If you try to pin this icon, Freemind won’t start or the icon will change to the generic Java icon.
The solution to the problem is to change the target of the shortcut from [...]/Freemind.exe to this:
"C:\Program Files\Java\jre6\bin\javaw.exe" -jar lib/freemind.jar
Now you can pin the program to the taskbar in Win7 and use it as every other program.
And yes, this tip works with almost all Java programs that are delivered with working .jar files.
Keine Kommentare - :(Programming is hard
Veröffentlicht am 16.1.2010, 19:10 Uhr
http://writing.bryanwoods4e.com/
Keine Kommentare - :(MySQL: temporäre Tabellen
Veröffentlicht am 23.6.2009, 23:57 Uhr
Große Queries, die sowieso per ‘Using temporary’ anzeigen, dass im Hintergrund eine temporäre Tabelle erstellt wird, lassen sich oft wunderbar zwei- oder dreiteilen indem man erst eine temporäre Tabelle erstellt und dort nun dann die Abfragen ausführt. Besonders effektiv ist das, wenn Teil 1 des Queries die Anzahl der zu betrachtenden Zeilen stark einschränkt, Teil 2 dann jedoch nochmal heftig sortieren muss.
Keine Kommentare - :(MySQL: Delete a subset in a table quickly
Veröffentlicht am 21.6.2009, 14:04 Uhr
Heute mal wieder über einen netten MySQL-Hack gestolpert:
The trick is, that INNER JOIN will ‘shrink’ the LargeTable down to the size of the TemporarySmallTable and the delete will operate on that smaller set only, since USING will reference to the joined table.
http://blog.mkoebele.de/2008/07/mysql-delete-subset-in-table-quickly.html
http://dev.mysql.com/doc/refman/5.0/en/delete.html#c9536
Mehr davon bitte…
Keine Kommentare - :(Elastische Tabstopps
Veröffentlicht am 16.10.2008, 11:26 Uhr
Verdammt interessant, aber gerade keine Zeit hier nochmal komplett separat etwas darüber zu schreiben, deshalb der Verweis auf mein Privat-Blog:
http://blog.janpiotrowski.de/elastische-tabstopps/
Keine Kommentare - :(PHP: UTF-16 zu UTF-8 konvertieren
Veröffentlicht am 8.9.2008, 11:18 Uhr
Und die zweite Heldentat gleich hinterher:
Eine kleine PHP-Funktion (evtl. unvollständig, bei meinem Anwendungsfall hat es ausgereicht) zum konvertieren von UTF-16-Daten zu UTF-8:
function utf16_to_utf8($str) {Quelle: http://www.moddular.org/log/utf16-to-utf8
$c0 = ord($str[0]);
$c1 = ord($str[1]);
if ($c0 == 0xFE && $c1 == 0xFF) {
$be = true;
} else if ($c0 == 0xFF && $c1 == 0xFE) {
$be = false;
} else {
return $str;
}
$str = substr($str, 2);
$len = strlen($str);
$dec = '';
for ($i = 0; $i < $len; $i += 2) {
$c = ($be) ? ord($str[$i]) << 8 | ord($str[$i + 1]) :
ord($str[$i + 1]) << 8 | ord($str[$i]);
if ($c >= 0x0001 && $c <= 0x007F) {
$dec .= chr($c);
} else if ($c > 0x07FF) {
$dec .= chr(0xE0 | (($c >> 12) & 0x0F));
$dec .= chr(0x80 | (($c >> 6) & 0x3F));
$dec .= chr(0x80 | (($c >> 0) & 0x3F));
} else {
$dec .= chr(0xC0 | (($c >> 6) & 0x1F));
$dec .= chr(0x80 | (($c >> 0) & 0x3F));
}
}
return $dec;
}
Update:
Manchmal sollte ich erst nachdenken, und dann nach Code googlen. Das hier reicht natürlich auch vollkommen aus und ist sicher besser getestet:
$utf8 = mb_convert_encoding($utf16, 'UTF-8', 'UTF-16LE');
1 einsamer Kommentar - :/