Recent Blog Posts
Is your argument list too long? :)
Juli 21st, 2016 Read more ...
Good reference!
awk idioms
April 18th, 2015 Read more ...
Just stumpled upon a great resource on Stackoverflow that lists a couple of really nice awk
idioms related to printing N lines after some matching line in a text.
http://stackoverflow.com/a/17914105/171318
Nice Answer!
PCRE Regex to match IP Version 4 Address in Decimal ASCII Representation
Juni 12th, 2014 Read more ...
PHP implementation of common distribution functions
April 30th, 2014 Read more ...
Today I stumpled upon a great old answer on stackoverflow. @MarkBaker showed an implementation of the common distribution functions in PHP.
http://stackoverflow.com/a/3109793/171318
Don’t miss to upvote him
Create CSV file in memory PHP
Februar 9th, 2014 Read more ...
Science of Sound
Januar 25th, 2014 Read more ...
sl – The opposite of ls :)
Januar 24th, 2014 Read more ...
1982 Awards for Achievement
Oktober 14th, 2013 Read more ...
Disable autoloading and enable it again later
Juli 17th, 2013 Read more ...
Iterative algorithm to remove a directory tree
Juli 11th, 2013 Read more ...
Windows XP, PXE Boot
Juni 14th, 2013 Read more ...
What’s the best (most efficient) way to search for content in a file and change it with PHP?
Juni 4th, 2013 Read more ...
PHP IPC Signal Example
Mai 24th, 2013 Read more ...
Dump Source Code of Closure in PHP
Mai 22nd, 2013 Read more ...
Maximum URL Length
April 20th, 2013 Read more ...
I found an interesting article about the maximum length of an URL: http://www.boutell.com/newfaq/misc/urllength.html
Great answer on floating point precision on stackoverflow
Februar 12th, 2013 Read more ...
I recently found a GREAT point on floating point precision on stackoverflow. Here comes the link:
Simple download / upload speed measurement with PHP
Januar 29th, 2013 Read more ...
Remove all packages from a pear channel
Dezember 20th, 2012 Read more ...
The PEAR installer has no option to remove all packages from a channel at once. So I’ve crafted a small shell script for that task:
#!/bin/bash
CHANNEL_NAME="THE NAME"
for pkg in $(pear list -c "$CHANNEL_NAME" \
| awk '{if ( $2 ~ /([0-9]+)\.([0-9]+)\.([0-9]+)/ ) print $1}') ; do
pear uninstall "$CHANNEL_NAME/$pkg"
done
metashock PEAR channel
November 23rd, 2012 Read more ...
Using the PEAR channel server you can install / upgrade my php packages using the PEAR installer. The url is http://www.metashock.de/pear/
Booting your usb stick using Virtual Box on a Linux host
November 16th, 2012 Read more ...
VBoxManage internalcommands
. As I found no articles on this, here comes a short howto: