Bash Get .ini file value sed -nr "/^\[protocol.mysql\]/ { :l /^password[ ]*=/ { s/.*=[ ]*//; p; q;}; n; b l;}" /etc/somefile where protocol.mysql is the section and password is the variable name. Fancy PS1 prompt… 

This is a blog post where I’ll be collecting some cool Java tricks I keep forgetting about. Logging Enable http client / web services dumping -Dlogging.level.org.apache.http=DEBUG -Dlogging.level.org.springframework.ws.client.MessageTracing=TRACE Maven Download artifact manually mvn -s ../Projects/rh/workspace/settings.xml org.apache.maven.plugins:maven-dependency-plugin:2.1:get… 

I mean, a zombie process of course. Normally, this should not happen, but will happen if a parent process fails to run waitpid() to wait for child process to finish. I came across this situation… 

I had to automate Cassandra backups recently and thought I’d write it up, because the process is not really well documented. If you’re used to MySQL or PostgreSQL backups, you will see that the process… 

This is not as trivial as you may think. The easiest way is to simply dd the ISO image to the USB device, but you get a 1) ReadOnly media and 2) Not all Servers…