A while back I found a small code segment that solves your Sudoku problems.
This code is written for solving the 3×3(blocks) puzzle, where puzzle is an 81 character string representing the puzzle read left-to-right, top-to-bottom, and 0 is a blank.
Java – Sudoku solver
Java – Using configuration files
I recently came across a situation where i needed a small configuration file in my Java project.
Using XML would in most cases be the way to go, but in this particular situation, using XML would be complete overkill.
I only needed a few variables in my configuration file, and for this, Java has a built-in solution that works great.
Ever heard of .properties files ??
NetHogs – See what process uses your bandwidth
Ever wanted to see what is taking up your bandwidth. There are lots of tools out there for this, but lately I have been taking a closer look at NetHogs.
It is really worth checking out..
NetHogs is a small ‘net top’ tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there’s suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth.
Download Nethogs here
Backspace error in SSH sessions – acts as Delete key
In OSX 10.6.xx (Snow Leopard) users who use the Terminal application to SSH into remote servers might experience that the backspace key works as the delete key in some applications (VI, Nano, Pico etc) I have not heard of this happening in any other OS or application, so an easy way to fix this in Terminal configuration on your Mac.
Go to Terminal preferences, select the Advanced tab, and check “Delete sends Ctrl-H”. That’s all it takes to get the “delete” key to work correctly in all applications used in your SSH sessions.

Simple filesharing in Linux – Python HTTPServer
So, want to show something on your machine to another user? Or want to share a file ?
If you have Python installed (default for most *nix systems) the following trick is awesome.
Create the following alias in your .bashrc
alias webshare=’python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"’
Now just type the command “webshare” in your terminal, and all files in current folder and beneath will be available at
http://localhost:8000
If you dont want to create an alias, just type the following command in your terminal
python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
Remember, if you start the webserver in your /home/<username> folder, you share everything in the folder !
CCleaner – Add your custom files or folders for deletion
CrapCleaner is a great tool for removing all sorts of crap, *doh, from your computer.
But many users doesn’t know about all features in this program.
Most users often don’t bother with exploring what is actually available in different software.
Well, in CCleaner you can add any folder you want, for deletion when you run the Cleaner.
Kill RDP session remotely
Install Dropbox on Linux Server
Dropbox is probably the best way of sharing files quickly and secure today. The possibility of instant syncing between computers makes it a must have for every geek with several computers active.
But installing it on a X free Linux server, has so far been a bit tricky.
Not anymore – some guys have made an excellent script for installing Dropbox and linking to your account.
Check it out here
Applescript for mounting SMB drives
Remove VMWare Suspend State
In Vmware Fusion you might sometimes experience that the virtual machine hangs, and wont restart. You then might have to delete the suspend state to recover your image.
Read more »