Friday, March 6, 2009

top 16 useful shortcuts in eclipse

Code of Doom presents the most useful Eclipse shortcuts. If you're using Eclipse for sometime you'll know some of them for sure, but there could be some shortcuts you missed. Check it!

Thursday, March 5, 2009

an eclipse summit in istanbul? here comes eclipsist!

In 28, 29 april, an Eclipse summit (Eclipsist) will be held here in Istanbul. Eclipsist will contain some workshops and speeches about subjects pertaining to Eclipse (can't you believe?) and Java EE. The fact that there's no entrance fee to the summit obviously increases its charm.

Monday, March 2, 2009

take one line notes easily in linux with touch (of evil)

You're reading some comics or watching some serie and you want to take note of the last book/episode you read/watched so, few days later, you can continue from where you have left. One of the most practical ways of doing that is to put a reminder in the comic/serie directory. No need to create a text file named "tome-11" or "scrubs-s05-e11", you can create an empty file with the desired name in a single second. We can do it by using touch (of evil) command. Usually, touch command is used for changing access and modification time of files but also it is an easy way to create an empty file. Just open the terminal and write
 touch yourNote
in the comic/serie directory.

Saturday, February 28, 2009

find the process id of an application in linux

In one of my previous posts, I talked about killing unresponsive processes in Linux. It is pretty straightforward to find the process ids of applications if you're the only user, but if that's not the case you have to find a clever way. Assume that we want to find the process id of bash. We write
ps -A
to the terminal for seeing all active processes but we don't have 1 hour to inspect all processes. We just want to see the process id of bash. We will use the pgrep command which's basically a grep variant for processes.
pgrep bash
will give us the process id (PID) of bash.

Thursday, February 26, 2009

italics! everywhere!

Today, I saw that Google's font is in italics and another website's font is in italics and some application's font is in italics; what a lovely coincidence! I had no idea how this happened, but fonts switched to italic mode without asking my opinion. The odd thing's that Firefox doesn't have this problem. For fixing this, I downloaded arial font and installed it. I was planning to download and install all vista fonts, but installing the arial font fixed the problem.