The fix is here https://github.com/rvm/rvm/issues/3540#issuecomment-152824133
I copied the fix here just in case it's removed in the future
Another option is to create .bash_logout with a single line:
shell_session_update
Another option is to create .bash_logout with a single line:
shell_session_update
What's clojure equivalent of ruby's `caller` method? http://ruby-doc.org/core-2.2.3/Kernel.html#method-i-caller
To put it another way, if a function is call from multiple places, at runtime, is there a way to print out caller for debugging purpose?Thanks to Alex Miller. He answered
the Thread class has methods to inspect the stack
(Thread/dumpStack) will just dump that thread's stack to stderr
or (Thread/getStackTrace) gives you an array of StackTraceElement's that you can traverse and do whateverBasically, we can just use Java's Thread class. To be more precise, getStackTrace is an instance method so we have to call it this way.
(.getStackTrace (Thread/currentThread))We'll get back Java's array of StackTraceElement class.
$ ffmpeg -i input.flv -c copy -copyts output.mp4Tested on: OS X 10.11
(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
lsof -i :80Change 80 to any port number you like.
I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...