NERDTree basic usage Here I list same commands I think is most useful. ? help C move into this folder u move to parent folder cd similar as cd in shell, change PWD into this folder m open NERDTree me 2015-04-23 development #vim
apply and map in clojure It is a very confusing comparison between map and apply. 12; data preparation(def data [[1,2,3],[1,3,4],[1,5,6]]) The famous function map means to call function provided to each element in collect 2015-04-23 development #clojure
Hadoop HDFS Connection Refused Today I encounter a problem about connection refused by HDFS, not because of the firewall or something, but because of the /etc/hosts configuration in ubuntu.By default, the there will have an entry 2015-04-14 operation #linux #hadoop
HDFS Permission denied While developing hadoop or using HDFS, I want to access HDFS without permission problem for convenience.So we could add one property in conf/hdfs-site.xml file. 1234<property> <name>d 2015-04-14 operation #hadoop
spark over YARN I don’t know why a lot of people start using Spark, but it is very easy to integrate it with YARN. Deploy you Yarn and HDFS as usual, let’s say configuration folder is at $HADOOP_HOME/conf where co 2015-04-14 operation #hadoop
latex on ubuntu Development Environmentsudo apt-get install texlive-latex-base texlive-latex-extra xzdec Package ManagementInit tlmgr with command: tlmgr init-usertree Then you can install packages by: tlmgr i 2015-01-19 study #linux #latex
X11 forward, Xorg is C/S based It has been a very long time that I came into such feeling: How could that be???.Yes, You may encounter such situation that you need to invoke an application than needs Xorg or desktop support connect 2015-01-16 operation #linux
change keyboard layout in linux If it was not Dvorak is much better than qwerty I wont mention this post.Yes you could do almost everything in command line, even change keyboard layout or printing. setxkbmap dvork setxkbmap us set 2015-01-16 operation #linux
bash completion Nowadays it is unimaginable using shell without auto completion, yum and apt-get tool is different from each other. when using yum: 12yum install bash_completionecho "source /etc/bash_complet 2015-01-16 operation #bash #linux
execute and import python in python shell import1>>>import moduleName from1>>>from moduleName import function/* build in command12>>>exec(open('filename.py').read())>>>execfile('filename.py 2015-01-16 development #python