Eurodisney with Noah

Went with noah to see that Euro Disney thing and he seems to really enjoyed it. I am not a big fan of Eurodisney personally but the kid was so enjoying it. Last time i was there was like 11 years ago, things got way more expensive now  as well.

FFAP and Ruby in Emacs

If you want to use FFAP (find-file-at-point) in ruby-mode you can add this to your .emacs

(defvar ruby-program-name "ruby")
(defun ruby-module-path(module)
      ruby-program-name " -e "
      "\"ret='()';$LOAD_PATH.each{|p| "
      "x=p+'/'+ARGV[0].gsub('.rb', '')+'.rb';"
      "if(File.exist?(x))};printf ret\" "

(eval-after-load "ffap"
  '(push '(ruby-mode . ruby-module-path) ffap-alist))

When you do ffap (i bind it to C-x f) near a require ‘PP’ for example it will find it in your ruby path.