kalani's Tech blog

This blog mainly contains technical stuff. It may contain info of some events too.

Thursday, February 08, 2018

Java 8 : Functions

›
Functional programming in Java, a useful feature was introduced with Java 8 (java.util.function package). With that, we have the ability t...
67 comments:
Saturday, August 13, 2011

NSIS - How to Write the Uninstaller

›
If you know how to create an installer using NSIS , you'll probably want to know how to create the uninstaller too :) So you have to w...
10 comments:
Friday, July 15, 2011

NSIS - How to Embed Other Installers in Your Installer

›
Sometimes you may want to embed some other installer in your installer. As an example if you need Java as a prerequisite then you can embed ...
4 comments:
Thursday, April 28, 2011

NSIS - How to Detect Whether Java is Installed in the System

›
While writing my installer I wanted to install JRE (embed JRE installer in my installer) only if Java is not installed already. So I had to ...
16 comments:
Friday, April 15, 2011

Nullsoft Scriptable Install System (NSIS) - A Really Good Windows Installation System

›
I wanted to write an installation for IFRI data entry application which is currently being used to enter forest data to their database. The...
7 comments:
Monday, October 18, 2010

How to Print from Java (JPS) - javax.print Package

›
javax.print package is available in JDKs 1.4 and above. Formerly Java AWT printing API was used to perform basic printing and now it is enh...
14 comments:
Monday, September 06, 2010

How to Fetch MP3 from YouTube Videos

›
I found a nice site to fetch mp3s from YouTube videos . The process is pretty simple and fast. Check it out, you'd love it.
12 comments:
Saturday, August 14, 2010

How to Find which Process Runs on which Port in Windows

›
netstat -ab shows which process runs on which port. If you need to find a process which runs on a particular port, the command can be used...
4 comments:
Tuesday, August 10, 2010

How to Remove Duplicate Records from a Table, Considering a Subset of Columns - Sql

›
I wanted to delete some duplicate records from a table. "Duplicate" doesn't mean identical records in this scenario. I wanted ...
5 comments:
Saturday, February 27, 2010

How to merge multiple images into one image - Java ImageIO

›
My previous post shows how to split an image into chunks . Now let's see how to merge multiple images into one image. Say we need to c...
62 comments:
›
Home
View web version

About Me

My photo
kalani Ruwanpathirana
I am Kalani Ruwanpathirana. A graduate from Dept. of Computer Science and Engineering, University of Moratuwa, Sri Lanka. Currently working as a Software Analyst in Indiana University, Kuali Software Foundation.
View my complete profile
Powered by Blogger.