#Miscellaneous

How to take thread dumps

tail -f /var/log/escenic/engine1-catalina.out > /tmp/threaddumps.log & for i in $(seq 1 10); do kill -QUIT `cat /var/run/escenic/engine1.pid`; sleep 1; done fg Starts logging Tomcat output to /tmp/threaddumps.log. Triggers 10 JVM…

Read more

Regexp hints

echo "bla bla word word1 = string1 string2" | sed -e 's/.* \([^ ]*\)=.*/\1/g' Some basic regexp hints: the first /…/ is what your string should match s…

Read more

How to add speaker notes to reveal

I came across to a great HTML Presentation Framework: reveal.js, which is a framework used to create stunning presentations using either a visual editor or simple text. https://github.com/hakimel/reveal.js/…

Read more