Monday, March 17, 2014

Emacs insert new line in minimized CSV

Minimized CSV file content:
"2013-01-12","test", "123","2013-01-12","test", "123","2013-01-12","test", "123"

to convert to CSV (new line at each "yyyy-mm-dd", "test" tuple):
M-x replace-regexp
\("[0-9]+",\)
replace with: (new line insert)
\1<C-q C-j>n

Done

Hadoop on OSX

To get Hadoop 2.+ working on OSX, not using brew, just a pure installation from Hadoop homepage follow this tutorial:
Thank you for making these articles available for free. Click on some ads while you are there :)