Technology Articles

The science of today is the technology of tomorrow. Browse Technology related articles.

Dot. NET Articles

Browse the Dot.NET technical articles.

Web Design & Development

Browse Web Design & Development Articles which includes Technologies of Drupal, Joomla, CodeIgnitor, JQUERY, CMS, etc.

Health Articles

Browse Health Tips & Articles

Friday, February 11, 2011

Sri Lanka New Currency Notes

Thanks to Vinoth Yogasagayam, BOC

To view enlarged version click the images.

Thursday, December 16, 2010

Black Seed - Health Benefits and How to Use ?

I got this information from a very close friend of mine. After doing some background research I found some very useful and interesting information. So I am writing this blog post so that it will benefit everyone. If you find it interesting and helpful, please click like in the post and share it with your friends.

Monday, October 11, 2010

Apache log4cxx framework - Example using Pthreads - Part Two

This blog post is continued from Apache log4cxx framework - Part One

This post comprises of a simple Configuration file and how it can be incorporated to a c++ code file for using the log4cxx framework.

Add the following simple xml Configuration file and name it as "MyLog4CxxConfig.xml"

<?xml version="1.0" encoding="UTF-8" ?>
 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> 

Sunday, October 10, 2010

Php Mysqli extension

The MySql Improved Extension, a.k.a mysqli is faster more improved version of existing mysql. It is available in PHP 5 or later versions. The source code of mysqli is available at ext/mysqli. For further information click here.
A simple example how to connect and insert temp data to database 'mydb' and table 'mytable'.
Lets add DbConnector.php first,

Apache log4cxx framework - Part One

I happened to work with Apache log4cxx, a logging framework for c++. This framework offers lot of capabilities from simply outputting a log message to console, writing to log files, socket streaming and database logging. Best thing that i love about this framework that it is Thread safe.

Apache log4cxx, You can download it here

Log4cxx comprises of three main parts,


1) Public Class Logger
- Top level entry point of Logger

Sunday, May 2, 2010

Green Tea and Its 25 Health Benefits

I got this information from Email. It was very useful and I want to remember this information forever and also wanted to help others also by letting them know about this, so decided to post it in my blog. If you are reading this blog post, hope you will find this useful. Please re-post or send it to your friends and relatives if you find this useful.

Friday, April 23, 2010

How to TripleDES encrypt decrypt data? - Part Two


This post has reference to part one of this Article.

Inside our "TripleDESCrypt" class, lets implement another method to read the MD5 HashKey generated from the Secret Key from the User. This method will load the TripleDESKey.xml file and returns the HashKey in String format.

How to TripleDES encrypt decrypt data? - Part One


In this post, a simple demonstration of how TripleDES Encryption algorithm can be implemented using System.Security.Cryptography namespace in .NET will be explained.

First of all, we need to create a XML file where we will be storing our Special Key. This Key will be used for both Encryption and Decryption not like RSA. DES is symmetric key encryption algorithm.

Monday, April 19, 2010

How to RSA Encrypt Decrypt Data (C#) ?


This post has reference to part one of this Article.

Inside our "Crypt" class, lets include two more methods.



How to Generate RSA Encryption keys (C#) ?


In this post, Simple Demonstration of RSA Encryption Algorithm will be explained.

Here, we are going to make use of the System.Security.Cryptography namespace.