EC2 Virtual Machine Tips — more instances

Ok, if you are a free user, this will be useful. After a long time to search, I found that we can launch more than one ec2 instance. But we need to attention that the time limited to 750 hours per-month, one instance spend 720 hours one month, so if we launch two instances, we … Read more

Categories Uncategorized

Checkout a specific commit in GIT

Many people may want to get a specific version of you working copy to lookup the detail information on it. So, how to? The way is simple: “git checkout commit [ — filename or directory]” Then you will find you in a special branch named “no branch”, you can add/modify files, and create a new … Read more

Categories Uncategorized

Profile with callgrind

SUMMARY There are still three articles about introducing the way to analyse a program. But today, I’ll show you another member: callgrind. It’s a tool which belongs to valgrind. WHY Sometimes maybe you encounter the issue as same as me: I don’t want to re-compile the program and the oprofile cannot work in my system as well, … Read more

Categories Uncategorized