Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

2012/11/30

Useful shortcut keys in Eclipse

I have been learning Java language. Java is one of the popular static language. Static languages have a rigid interface on many aspects. Unlike dynamic languages, like Javasctipt, Ruby and Perl, this rigidness decrease misunderstandings on a complicated system. And we are able to take advantage of this characteristics by using IDE (Integrated Development Environment).
I have been using Eclipse Juno and found that it makes me more productive when I use shortcut keys.
Following are some of the shortcut keys:

Java Editing

1. Content Assist (Ctrl + Space)
2. Quick Assist (Ctrl + 2)
3. Organize Imports (Ctrl + Shift + O)
4. Format (Ctrl + Shift + F)
5. Toggle comment (Ctrl + 7)
6. Quick Fix (Ctrl + 1)
7. Move line up or down (Alt + Arrow)
8. Delete line (Ctrl + D)
9. Quick menu (Alt + Shift + S)

Find
1. Open call hierarchy (Ctrl + Alt + H)
2. Open declaration (Ctrl + Click)
3. Open Type (Ctrl + Shift + T)
4. Open Resource (Ctrl + Shift + R)
5. Go to Line (Ctrl + L)
6. Quick Outline (Ctrl + O)
7. Incremental Search (Ctrl + J)
8. Search (Ctrl + H)
9. Find/Replace (Ctrl + F)

Workspace navigation
1. Close Editor (Ctrl + W)
2. Switch Editor (Ctrl + E)

These are a part of huge amount of shortcut keys in Eclipse. Remember it and have a happy coding time.




2012/11/28

PC server ML110 G7 with VMware ESXi 5.1

After I wrote a previous post on my blog, I received a coupon which had a discount on PC servers. The coupon gave me a 4,000 yen ($50) discount on ML110 G7 which is normally priced at 13,980 yen ($175). I decided to buy it soon and I had started to collect some parts to upgrade the machine.
Finally, I bought following items:

---------------------------------------------
ML110 G7    9,980 yen
WD 2.0TB WD20EZRX/N (HDD)    6,778 yen
Kingston DDR3 KVR1333D3E9SK2/8G (Memory)  5,164 yen x 2
BUFFALO RUF2-PS2GS-BK (USB stick memory)  891 yen
---------------------------------------------
Total       27,977 yen ($350)

I put memories and the HDD into the server when all items had arrived. A body of the server is quite accessible to put items on easily. Furthermore, it has an internal USB port so that I can put the USB stick memory which was installed VMware ESXi 5.1 on it.
The procedure of installing ESXi is following: 
  • Download VMware ESXi 5.1(ISO image) into my pc.
  • Make a bootable USB memory key using unetbootin (It's very useful software).
  • Set the USB memory key into an internal USB port of the server.
  • Set power management setting of the server to "OS Control" in BIOS settings screen.
  • Boot from USB memory key then ESXi installation starts.
  • Install ESXi into USB memory key itself.
Installation is smooth and I got a virtualized server quickly and easily. Finally, I installed VMware vSphere Client on my pc to control the server. At the time, ESXi is installed as evaluation edition which is used only for 60 days so that I needed to input license code, which was provided on VMware's website freely, into the server by using vSphere Client.