It's a powerful command to rename files in a batch. Usage: rename 's/(\d+)$/$1.txt/' * rename add '.txt' extension name for all files that ends with number.
Read MoreIf you have http proxy, set it to system environment, export http_proxy=http://127.0.0.1:8000 Then start the application in that same terminal. If the proxy is socks proxy, use 'tsocks' to wrap the application in terminal.
Read MoreHonestly speaking, you have eaten the best delicious food if you're living in China. Though we have more and more concerns on the safety of food, we have to recognize that Chinese food is more delicious than others. The cuisine is simple in Austria. People always use pork, beef, flour, tomato, potato and few green …
Read MoreJoel posted a blog related to how to hire the great programmers. One of his key points is building comfortable workspaces. I believe every programmer loves the workspace like Google and Fog Creek. The workspace of Google has been very famous due to its French chef, gymnasium and big sofas. Why is Fog Creek? It's the …
Read MoreSalzburg is a small city and is on the banks of the Salzach River. It's easy to go through the city by bus in 30 minutes. Salzach River outline view Riding the bicycle is a very good way to enjoy the beautiful sight of the city. You could see many kids with parents riding bicycle in the sunny weekend. The train station …
Read MoreThere are 20+ staffs in Salzburg office. Most of them are developers, one is administrator of office. Generally the staffs in Salzburg work more flexible than the staffs working in Beijing. Some of them live in German. Even though it's not so far as Salzburg, they also need come to Salzburg by train. So sometimes they …
Read MoreCheck out this SlideShare Presentation: Discovering the p2 API View more presentations from Sonatype.
Read MoreDays ago I updated my p2 replication tool. It's easier to install it in your Eclipse. A new component named 'Eclipse marketplace' is added into Eclipse SDK since Helios, which is an application store for Eclipse. People could be easy to install third party plug-ins into their Eclipse. You can launch marketplace via …
Read More- tcpdump tcpdump -n port 80 -i eth0|lo monitor all package transferred on 80 port on the network interface eth0/lo
- netstat netstat -anp|grep java trace all network traffic on the process named java netstat -anp|grep 128.224.159.xxx trace all network traffic on the host whose ip address is 128.224.159.xxx
- …
Read More