Ikool’s Blogbed

Tips to Access FTP/SSH on Different Ports using Eclipse RSE

FTP and SSH servers can use different port other than the default and most of these servers are configured using default ports, but often times FTP/SSH servers may be on different port, so how do you configure Eclipse RSE to access these servers? That’s what this little article is about.

  1. Make sure you know the FTP/Port port first, create an account on the server
  2. Start up Eclipse with RSE
  3. Go to Window -> Open Perspective -> Remote System Explorer to bring up Remote Systems Panel
  4. Expand SSH/FTP node(s) if you created them already, otherwise, please refer to XXXXXX to create an FTP or SSH connection, your Remote Systems panel will look like this:
  5. For FTP right click Files node under your FTP root node and choose properties from context menu, for SSH you can click on Sftp Files, Ssh Shells or Ssh Terminals node. You will now be presented the following dialog:
  6. Select Subsystem node on the left panel of the properties dialog, note the port field on the right side of the dialog, change the value to whatever port you have in hand (see above image for details)
  7. Click OK to accept the changes you just made, and right click FTP/SSH node and choose connect, now you should be able to connect to your FTP/SSH server

Hope you enjoy it

July 25, 2008 Posted by | How Tos, IDE Tools, Technology | , , , , | 5 Comments

SSH Access through Eclipse RSE

I wrote an article on how to install Eclipse RSE (Remote System Explorer), and how to access Eclipse DStore agent using Eclipse RSE. Since then I also explored how to access SSH servers as most of our environments are only SSH enabled. It would be convenient if I can access the remote system using SSH within Eclipse while I am working on projects. I shall be able to run any commands that are supported by my system through Eclipse RSE, and I should also be able to execute programs that I am working on from within Eclipse through Eclipse RSE. According to what I tried so for, that’s what Eclipse RSE is going to do for you. With these features (such as browsing files, shell and terminal, and even FTP) you don’t have to open any extra windows/terminals on your desktop. One concern of Eclipse is memory usage which may be very big, so for I haven’t yet. Ok, let’s start the session.

  1. First make sure you install Eclipse Ganymede for J2EE. Follow this link to install Eclipse RSE
  2. Make sure you have an SSH account. If you don’t have it, you need to consult your system administrator. Or you can install a local SSH server, you can get a copy of SSH server from SSH for Win32. Use Putty to confirm that you can access your SSH server if you haven’t done so.
  3. Start Eclipse
  4. Let’s first bring up the RSE Explorer, go to Eclipse Window -> Open Perspective -> Remote System Explorer, if you don’t see it, then do Eclipse Window -> Open Perspective -> Other. From Open Perspective dialog select Remote System Explorer and click OK
  5. Now you should see a default “Local” Connector Service in Eclipse RSE explorer, from here you can navigate through your local systems such as home, and different drives Continue reading

July 22, 2008 Posted by | How Tos, IDE Tools, Technology | , , , , | 8 Comments

How to create a pure ActionScript Application

This is a very good article on getting started on programming pure ActionScript Applications. Author give a simple and thorough sample ActionScript which helps users, especially newbies, to start programming pure ActionScript application using Flex 3 SDK and its compiler. And I tried and it works perfect.

July 15, 2008 Posted by | How Tos, Technology | , | 3 Comments

Tips to Set Directory Alias on Filezilla Server

Documentation of Filezilla server is not available, the only thing that I can find so far is Filezilla’s forum. I felt really sad the first time I was using Filezilla server on windows, I had to spend lots of time figuring things out. Note just ignore the little tips in Enter Directory Alias dialog, it’s misleading though, I can never have aliases working for me if I follow that reminder 😉

Here is how you can add directory aliases to Filezilla server:

Start Filezilla server interface, click the user/group button on the menu bar, create a user/group if you don’t have one already.

Then select Shared folders from the left panel, and select a user/group from the right panel

Now in the middle panel you can add a few different directories pointing to wherever you want, but if you try to log onto your FTP server now, you will only see the root directory. All other directories are hidden from you since you haven’t added any aliases yet.

Right click one of the directories other than home directory (denoted by a leading H) and choose Edit Aliases from popup menu. In Enter Directory Alias dialog enter the alias for that directory with a leading slash “/”. For example, /pub or /etc. (Don’t try to create nested aliases such as /pub/documents/engineering, I had never got this work for me. If you can please let me know)

Next click OK to close Enter Directory Alias dialog, add more directory aliases as you want.

Once you are done with that, click OK on Users/Groups dialog to make the changes take effect

You should now be able to navigate to different directories from your FTP clients

July 10, 2008 Posted by | How Tos, Technology | , , , | 23 Comments

How to view more than 7 days’ history data in wordpress.com

While blogging in your wordpress.com account, you may always want to check if your blog’s pageviews is increased or improved, what trend of blog is, where are the visitors coming from, which posts have better pageviews, and even search terms from search engine. I found referrer and search statistics are very useful, they are great hints to improve your blogs pageranks in search engines such as google, yahoo etc. But I was feeling hopeless to see only 7 days history data and then I found it’s a simple job to view more statistic data back to history ;-). This howto is about going beyond the limited history data (by default 7 days) to 9 days (seems it still doesn’t solve my issue though, but what can we do).

If you logged in and visit your wordpress stat page using this link http://<YOUR_USERNAME>.wordpress.com/wp-admin/index.php?page=stats or moving your mouse over your wordpress.com admin “My Account” menu and clicking stat, you will be presented with wodpress.com’s statistics page. There are 7 sections: Pageviews Graphs(daily, weekly and monthly), Referrers, Top Posts & Pages, Search Engine Terms, Clicks, Blog Stat and Incoming Links. We will see how to view more history data for Referrers, Top Posts & Pages, Search Engine Terms, Clicks.

As mentioned above, WordPress.com currently only displays 7 days history data for wordpress bloggers, but this limit can be modified through changing URLs on your browser’s location bar. Note the system currently only allows for a max of 9 days’ result to be returned and default to 7 days, here is how: Continue reading

July 10, 2008 Posted by | How Tos, Technology, Wordpress Tips | , , , | 1 Comment

How to Kill a Windows Process on Windows 2000, XP and Vista

There are many scenarios that we need to kill processes on windows, such as your computer is slowing down significantly by one specific process like virus or hacking application and adwares, and even IE and Firefox browsers need to be killed sometimes since they are using too much memory and your computer doesn’t even work except chirping and slowly responding. If you know Unix/Linux well you probably know how to kill a process using the “kill” command which is really powerful as long as you have the permissions to do so. I am sure you can’t always kill all the processes on Linux/Unix systems. Well, let’s focus on windows system.

You don’t have to be an expert to use some of the tools available from Microsoft or third parties. Most of us know Process Manager and you use it to kill processes, don’t you know Process Manager doesn’t really show you all the processes running on your windows system, such as those windows services and system processes. If you can find your process from Process Manager, then you can select the process by right click and choose kill, this process will go away. Be warned that some of the system processes should not be killed unless you really want to do so, otherwise, your system will also be killed and shutdown.

There is another tools from Microsoft called Process Explorer:

The Process Explorer display consists of two sub-windows. The top window always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window depends on the mode that Process Explorer is in: if it is in handle mode you’ll see the handles that the process selected in the top window has opened; if Process Explorer is in DLL mode you’ll see the DLLs and memory-mapped files that the process has loaded. Process Explorer also has a powerful search capability that will quickly show you which processes have particular handles opened or DLLs loaded.

Pretty useful tools to kill processes and its child processes. It’s very similar to Process Manager but with more information available. You know sometimes one process can spawn one or more processes, if you only kill the parent process, then you left its child processes running as zombie processes. Similar to Process Manager you can kill the process tree so that it will clean up all processes that you really want to kill.

Give it a try, you will like it soon

You can download this tool here

July 10, 2008 Posted by | How Tos, Technology | , , , | 2 Comments

Little Tricks on Download and Test Open Flash Chart

While finding a chart package for my project I noticed Open Flash Chart is very promising, so I decided to download it and try it out. Well, what’s good about Open Flash Chart? let’s see what the owner writes:

Open Flash Chart, is open source. It is free to use and you get the source code to fiddle with!

then How does it work?

  1. User browses to your web site.
  2. The browser downloads the web page which contains the Open Flash Chart.
  3. Open Flash Chart downloads the data file and displays the chart.

It sounds pretty easy, right? However, I had to spend quite sometime finding out the download link from Open Flash Chart’s homepage. I did try to click other links to see which one is going to take me to the download page, the page seems very sneaky though, and finally I clicked the one at the top right corner of the page which led me to the login page of sourceforge.net and I have to do a search from to get the very download page. I am sure some of you encountered the same issue as I did. Here I’d like to write down what I experienced so that my experience could benefit others.

First the homepage of Open Flash Chart is here, which actually is the documentation page. I guess you will have to stay there for a while to read and understand how Open Flash Chart works

Secondly, go to sourceforge.net to download the packge and follow the tutorial to install the package.

[Update at 07-09-08]: http://www.teethgrinder.co.uk/open-flash-chart/download.php should work now! Continue reading

July 7, 2008 Posted by | How Tos, Technology | , , , | 5 Comments

Determine my IP Address

You may want to know your home computer’s WAN IP address, one way to check it is log onto your cable/DSL gateway route’s setup utility page and then find your WAN IP address, remember your WAN IP address will most probably be changed if you restart your cabel/DSL router unless you have a static IP service.

There is an easy way to check your computer’s WAN IP, that is accessing some web sites which are providing free services for you. Here are some of these sites that I tried, I think these are very useful for layman. If you know computer very well you might also find them helpful too:

  1. http://whatismyipaddress.com, this site also provide the following services to you:
    IP Lookup Popular
    Trace EmailNew
    Visual Traceroute
    Traceroute
    Check if your IP is blacklisted
  2. http://whatismyip.com
    You can also check your internet service’s download and upload speed through this site
  3. http://www.boutell.com/newfaq/creating/myip.html
  4. http://www.mywanip.com/
  5. http://www.find-ip-address.org/

July 6, 2008 Posted by | How Tos, Technology | , , , , , , , , | Leave a comment

Eclipse Skins to make your Eclipse IDE spicy

Eclipse skins/themes provide custom look and feels to your Eclipse platform and make your monotonous working environment spicy. My old versions of Eclipse (3.1.2 and 3.3.2, not so old, right?) do have 2-3 working skins that I like, note that VS Improved Presentation doesn’t work on 3.3.2 as expected, also see notes from VS Improved Presentation. After upgraded to Eclipse 3.4 – Ganymede – skin VS Improved Presentation still behaves very weird, even with the latest version of it, I am assuming the author still doesn’t have time to fix it.

Here are other skins that I am using:

Installing them is very simple. If you know how to manually install Eclipse plugin, then you are all set, just unzip the plugin into eclipse’s plugins directory or copy the jar file that directory.

After installing it, you need to restart eclipse. Then go to “Window->Preferences->General->Appearance” and change “Current presentation” to a Presentation that you like, now you need to restart eclipse again.

After it’s up and you can go to preference and select a theme to best suit your taste. You are warned there are not many themes available though, ha, better than nothing.

You are all done, enjoy it!

July 6, 2008 Posted by | How Tos, IDE Tools, Technology | , , , , , , | 1 Comment

Powerful firefox shortcuts and tips

Most of us who use computers on daily basis like shortcuts – keyboard combinations such as Ctrl+N, Ctrl+T, Ctrl+L, Ctrl+W and Ctrl+P etc, those shortcuts can save your fairly amount of time and save you from moving the sticky mouse, you know what I am talking about though.

I used some of Firefox shortcuts to surf the wonderful and mysterious web. These shortcuts include Ctrl+N, Ctrl+T, Ctrl+L, Ctrl+W and Ctrl+P. I recently did a search for powerful Firefox shortcuts – note that these shortcuts are most likely applicable to different versions of firefox browsers, and found that there are a few other key combinations that I didn’t even know. Search and going through these articles and very time consuming, plus some of them really are empty, so I figure this short list may be useful to others, first here goes my summary:

Function Shortcut
Reload F5 or Ctrl+R
Home Alt+Home
Back Backspace or Shift-Backspace
Stop Esc
Page Down Spacebar
View Page Source Ctrl-U
Print Ctrl-P
Save As Ctrl-S
Increase/Decrease Font Ctrl – [+/-]
Original Font Size Ctrl-0 [zero]
Location Bar Focus F6 / Ctrl-L
Search Bar Ctrl-E / Ctrl-K
Top of Page Home
Bottom of Page End
Automatically append *.com, .net, .org Ctrl-Enter, Shift-Enter, Ctrl-Shift-Enter
New Window Ctrl-N
New Tab Ctrl-T
Next Tab Ctrl-Tab
Previous Tab Ctrl-Shift-Tab
Close Tab Ctrl-F4, Ctrl+W
Open in New Tab Ctrl-Click the link
Open in New Window Shift-Click
Reload and Override Cache Ctrl-F5 / Ctrl-Shift-R
Kill Animated GIFs Esc
Find Ctrl+F
Find Next Ctrl+G
Find Previous Ctrl+Shift+G
Find Link
Find Text /

To learn more please take a look at these articles:

June 26, 2008 Posted by | How Tos, Technology | , , , , | Leave a comment