Git Operations

Git Operations How to remove local untracked files from the current Git branch To remove directories, run git clean -f -d or git clean -fd. To remove ignored files, run git clean -f -X or git clean -fX. To remove ignored and non-ignored files, run git clean -f -x or git clean -fx. reset to an absolute commit SHA1 value 1 git reset 5d125c Git submodule 1 git submodule add https://github.

Hadoop YARN Setting

Hadoop YARN vi .bash_profile add two lines export JAVA_HOME=`/usr/libexec/java_home -v 1.7` export HADOOP_PREFIX=/usr/local/Cellar/hadoop/2.6.0/libexec 2.SSH If you cannot ssh to localhost without a passphrase, execute the following commands: $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys modify In the distribution, edit the file etc/hadoop/hadoop-env.sh to define some parameters as follows: # set to the root of your Java installation export JAVA_HOME={your java home directory} # set

Yarn Scheduler Load Simulator (SLS)

Yarn Scheduler Load Simulator (SLS) Yarn Scheduler Load Simulator (SLS) The Yarn Scheduler Load Simulator (SLS) is such a tool, which can simulate large-scale Yarn clusters and application loads in a single machine.This simulator would be invaluable in furthering Yarn by providing a tool for researchers and developers to prototype new scheduler features and predict their behavior and performance with reasonable amount of confidence, thereby aiding rapid innovation. The simulator

Prepare for Intel technical interview

My friend told me there is an open position as software engineer in Intel, Oregon. I send my update resume to her. She give me some advices. To pass the interview, I need to refresh my Operation system knowledge and c/c++ skills. Job requirment This position focus on the software performance. Since I have the experience using WinDB , understand the basic concepts related to Operating System such as Process

当前的任务和想法

2015.04.08 去学校餐厅吃完晚饭后,和同学在学生活动中心打了二十分钟的乒乓球,出了点汗。回到座位上以后,不想写程序。索性打开writed 来写一下自己现在

This is my first post!

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve --watch, which launches a web server and auto-regenerates your site when a file is updated. To add new posts, simply add a file in the

JS Flowchart Diagrams

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
st=>start: Start|past:>http://www.google.com[blank]
e=>end: End:>http://www.google.com
op1=>operation: My Operation|past
op2=>operation: Stuff|current
sub1=>subroutine: My Subroutine|invalid
cond=>condition: Yes
or No?|approved:>http://www.google.com
c2=>condition: Good idea|rejected
io=>inputoutput: catch something...|request

st->op1(right)->cond
cond(yes, right)->c2
cond(no)->sub1(left)->op1
c2(yes)->io->e
c2(no)->op2->e

JS Sequence Diagrams

Usage

1
2
3
4
Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!