Javascript: Generic Table of Contents Function

Ever needed to create a table of contents for all your <h*>-elements on a webpage?The following javascript function is a easy way to do it. The Code

Read More

Bash: Print Docu from Script Header

When I started to write bash scripts, I used to write a documentation in the script, and write a method to echo another documentation fur the user. It was a bit annoying to have redundant text and keep both up to date. So I wrote below function to print out what I put into the header of the script.

Read More

Javascript: Generic Filter Function

I often have the need to filter items on websites. Previously I had different functions for filtering rows in tables, items in <div>-tags and so on. Now I created the following method which can be used in a generic way.

Read More