April 30, 2013

Oh! Big O?

If you had ever thought of “Big O” notation, which is used to represent algorithm complexity, as complex or something “which needs to be memorized”, then here is a very useful link for you.

A very simple and plain English explanation of Big O @ http://stackoverflow.com/questions/487258/plain-english-explanation-of-big-o/487278#answer-487278.

April 27, 2013

SSH or Telnet using Java

Ever wanted to find out how one can programmatically connect to a server or a network element like router, switch, firewall etc. using SSH or Telnet – specifically if the programming language is Java? If so, then JSch and Apache Commons enable you to realize it.

SSH in Java using "JSch"

JSch can be downloaded from http://www.jcraft.com/jsch/.
Examples can be found at http://www.jcraft.com/jsch/examples/.

Telnet in Java using "Apache Commons"

Apache Commons can be downloaded from http://commons.apache.org/.
Example can be found at http://commons.apache.org/proper/commons-net/examples/telnet/TelnetClientExample.java.

April 22, 2013

JD-Eclipse: Java Decompiler

JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.

JD-Eclipse is free for non-commercial use. This means that JD-Eclipse shall not be included or embedded into commercial software products. Nevertheless, this project may be freely used for personal needs in commercial or non-commercial environments.

JD-Eclipse >> http://java.decompiler.free.fr/?q=jdeclipse

April 8, 2013

WinDirStat: Disk Usage Analyzer

WinDirStat is a disk usage analyzer that gives you a visual representation of what files are taking up the most space on your disk. It scans a disk and displays a treemap representing each file as a colored rectangle, the area of which is proportional to the file's size.

Here is a sample use-case: If you find a large file or two taking up loads of space that you had forgotten was/were there and don't need, it's very easy to find the culprit(s) from WinDirStat. Once the tool finds the files, you can either open the folders containing the large files in Windows Explorer, open the files directly, or delete the files altogether directly from the tool itself.

WinDirStat is located at http://windirstat.info/.