Convert arbitrary IP range to a set of CIDR
Problem I found myself trying to figure out the least amount of rules that would cover a certain IP range (that doesn’t exactly fit CIDR bounds) to find it annoying....
Flush INBOX via IMAP
This is a simple script I wrote a while back to delete all emails in given IMAP inbox folder. If I were you, I would treat it as a proof...
How to fix the `AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd`
Problem When trying to compile OpenITG I ran across this cryptic warning: configure.ac:208: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd autoconf/m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... autoconf/m4/iconv.m4:22: AM_ICONV_LINK is expanded from......
Wordpress leading whitespace fix
Problem Ever got the infamous “xml declaration not at start of external entity” error instead of your RSS feed when using Wordpress? Well, you’re not alone. I’ve spent couple hours...
How to setup passwordless disk encryption in Debian Etch
tl;dr This article is really old; if you’re looking for general principles, fine. If you’re looking for specific solutions, you might have some luck towards the end of the page....