How to purge the cache of a page

I get sometimes requests from customers to invalidate the cache for a particular webpage only. From inside the server the PURGE request is allowed so: curl –insecure -I…

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

Default max heap size

If you need to get the default max heap size used by your machine: java -XX:+PrintFlagsFinal -version 2>&1 | grep MaxHeapSize

Read more