I had an issue earlier this week where I needed to remote profile a java process, but it was not using the standard(?) RMI protocol. Some intense googling later, here are the obscure, but simple steps to get this working.
RMI requires two ports to communicate, whereas JMXMP only uses one. You'll need to port forward/tunnel that remote port to...
Exporting part of a webpage to PDF is a solved problem, but it took some digging to find the simplest solution that just worked.
Several hours of googling and trying out snippets here and there, here is the sequence that led to success:
1. html2canvas
This library worked well, but for a single div element it generates a single giant image that...