www.benjamin-schieder.de
Braindumps, sometimes useful
-
[Tech] Base64 encode and decode in MySQL
I just found this earlier when trying to do base64 encode and decode in MySQL: http://wi-fizzle.com/downloads/base64.sql -- base64.sql - MySQL base64 encoding/decoding functions -- Copyright (C) 2006 Ian Gulliver -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of version 2...
-
[Tech] Getting Android running natively on the WeTab
This is a short summary of my last Weekend hacking on getting Android-X86 to run as smoothly on the WeTab as possible. A first search on the web showed me that the Sparta build should run smoothly on the WeTab, so that was the first I tried. This image seemed...
-
[Tech] Sorting Apache Logfiles
Found a great way to sort Apache logfiles (combined logformat) ascending by date. #!/bin/sh if [ ! -f $1 ]; then echo "Usage: $0 " exit fi echo "Sorting $1" sort -t ' ' -k 4.9,4.12n -k 4.5,4.7M -k 4.2,4.3n -k 4.14,4.15n -k 4.17,4.18n -k 4.20,4.21n $1 > $2 (Original...
-
[Tech] Patch PHP HTTP Client to support SNI
Today I have a really great PHP class called 'PHP HTTP Client'. Unfortunately, I had to teach it SNI first. Here is the patch for http.php. EOF
-
[Tech] carddav plugin 0.4.0 for roundcube 0.5.x and 0.6.x
I just released version 0.4.0 of the carddav plugin for roundcube. ChangeLog: * check if PHP_VERSION >= 5.3.0 and display an error message in the preferences tab if too old. This is because of https://bugs.php.net/bug.php?id=46035 * fix FS#14 - add function get_name * fix FS#16 - do not use +...