Archive
Posts
DirectAdmin: apt libz error
Getting the `/usr/local/lib/libz.so.1: no version information available` error? Let's fix that!
Quick tip: Finding subfolders
When organizing folders you might want to find out if (and which) folder has subfolders. Let's figure out how to find those.
XPath select parent by child attribute
Using the XML parser for a crawler works great. Most of the sources are well formatted and easy to parse. Unfortunately not all sources are that easy and that's where some advanced XPath comes in handy.
View XPath results in Google Chrome
Using XPath in your browser is really useful for testing your XPath expressions.
Grep recursive search
For searching through files I always end up using grep with a number of options. Let's make that a bit easier!
A quick tip about determining the size of a folder by using the command line.
Minecraft commands from cronjob
For a minecraft mini-game I wanted to give all the players a special item at predefined times. This calls for a bash script!
Adding a cronjob from a bash script
A quick tip this time about adding a cronjob from a bash script.