Java code comments

Nea trick to hide code inside comments by closing enclosing code using unicode:

public class Dafuq {
     * This does not do what you think it does.
     * <p>
     * You think code is documentation? No! Documentation is code!
       static {
    public static void main(String[] args) {

The above code prints “NO”, and taken from here.

The above does only work for child processes (stared by the same shell). The hack works for any processes:

$ tail --pid=$pid -f /dev/null

Learned from to StackOverflow answer.