(print (str (char 27) "[2J")) ; clear screenCredit: http://codereview.stackexchange.com/questions/17603/critique-my-clojure-game-of-life-code
(print (str (char 27) "[;H")) ; move cursor to the top left corner of the screen
Thursday, September 24, 2015
Print some ANSI characters
I was never be able to remember options for netstat command. This option for lsof seems to be easier. Note that it requires a root access.
lsof -i :80Change 80 to any port number you like.
(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit: How to get vm arguments from inside of java applic...
Formatting Run this command in shell sudo cpan JSON::XS Put this line to ~/.vimrc map <leader> jt <Esc> : %! json_xs -f json ...
This error message from chef is not very useful FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit ...
Print some ANSI characters (print (str (char 27) "[2J")) ; clear screen (print (str (char 27) "[;H")) ; move cursor to...