Monthly Archives: November 2015

Bookmark folder in bash shell

There is a small shell script which could use as a bookmark for folder navigation. usage: 1. go to certain folder, do mark {name}, I use {} to enclosing the variable, when you type in the command, you don’t need … Continue reading

Posted in programming | Tagged | Leave a comment

java multi-threads design pattern study note 6 – Producer and Consumer

Sample code Main.java EaterThread.java MakerThread.java Table.java be aware of the put method, it throws InterruptedException, which means this operation could be cancelled, result xwei  MTVL121d4cef2  ~  Desktop  …  java-thread-design-pattern  ProducerConsumer  target  master … Continue reading

Posted in programming | Tagged | Leave a comment