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 MoreWhen 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 MoreI 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