- Shorten ssh command using config file
on Dec 3, 2016
If you are accessing remote servers frequently using ssh. You can save your ssh configuration (server Ip, port, user, key) to a file and reuse this configuration without entering these details repeatedly. This provides cleaner approach for ssh comman... - Online JSON Validator
on Oct 11, 2016
JSON stands for JavaScript Object Notation and it's a lightweight human readable data format which used to exchange and store data. Today it's very popular data format, so everyone using it (webservices, websites, mobile apps). Even now most of the d... - HMAC Authentication
on Dec 14, 2015
In this short article I'm going to explain about HMAC authentication and how it works.What is HMAC authentication? HMAC (Hash-based message authentication code) authentication provides a simple way to authenticate and verify the data integrity o... - Ubuntu - Gnu parallel - It's awesomeGNU parallel is a shell package for executing jobs in parallel using one or more nodes. If you have used xargs in shell scripting then you will find it easier to learn GNU parallel,because GNU parallel is written to have the same options as xargs. If...
- Shell script edited on windows - Issue when executing on linuxI faced the above issue when I'm trying to execute the script after doing some editing on windows. Those two issues are due to BOM character and the carriage return (\r) present in the file.BOM (byte order mark) character - This is a Unicode ch...
- Article on Monitor Your Key Performance Indicators using WSO2 BAM.
on Jun 27, 2013
I've written an article for WSO2 library explaining how to Monitor your Key Performance Indicators using WSO2 BAM WSO2 BAM an enterprise-ready, fully-open source, complete solution for aggregating, analyzing and presenting information abou... - Configuring Hive metastore to remote database - WSO2 BAM2
on Oct 23, 2012
Hive MetastoreHive metastore is the central repository which is used to store Hive metadata. We use embedded H2 database as the default hive metastore. Therefore only one hive session can access the metastore. Using remote MYSQL database as Hive... - A Fix for Huawei E220 connection issue with ubuntu 12.04
on Oct 6, 2012
After installing Ubuntu 12.04, I faced an issue when connecting to the internet from my Huawei E220 dongle. So I did some google search and found a bug report relating this[1]. After going through this issue I found a workaround which fix the issue.T... - A Fix for Huawei E220 connection issue with ubuntu 12.04
on Sep 16, 2012
After installing Ubuntu 12.04, I faced an issue when connecting to the internet from my Huawei E220 dongle. So I did some google search and found a bug report relating this[1]. After going through this issue I found a workaround which fix the issue.T... - WSO2 Business Activity Monitor 2.0.0 released ....!!!!
on Sep 8, 2012
We spent almost year for releasing the WSO2 BAM 2.0.0 after completely re-writing it twice from BAM 1.x.x to BAM 2.0.0 according to new architecture, suggestions and improvements. Finally we released it today, below you can... - JDBC Storage Handler for Hive
on Jun 10, 2012
I was able to complete the implementation of Hive JDBC Storage Handler with basic functionality. Therefore I thought to write a blog post describing the usage with some sample queries. Currently It supports writing into any database and reading from... - How to remote debug Apache Cassandra standalone server
on Apr 29, 2012
In order to debug the cassandra server from your favorite IDE. You need to add the following into cassandra-env.sh located in apache-cassandra-1.1.0/conf directory.JVM_OPTS="$JVM_OPTS -Xdebug"JVM_OPTS="$JVM_OPTS -Xnoagent"JVM_OPTS="$JVM_OPTS -Djava.c... - WSO2 BAM 2.0.0-Alpha 2 released..!!!!
on Mar 18, 2012
After working hard on releasing BAM-2.0.0 Alpha2, We were able to release it on 13th March 2012.This is the release note :WSO2 team is pleased to announce the release of version 2.0.0 - ALPHA 2 of WSO2 Business Activity Monitor.WSO2 Busines... - Setting up a Cassandra cluster using wso2 carbon
on Feb 26, 2012
If you want to use WSO2 security model with Cassandra cluster here I'll show you, how you can setup a cassandra cluster using wso2 carbon.First you need to download wso2 carbon (I am using version 3.2.2)Then install cassandra feature by using the p2... - Fixing ADB databinding issue when web service method returning OMElement
on Feb 16, 2012
When I try to call a web service which return an OMElement, I faced above issue (My Axis2 version is 1.6.1). Following I have shown the steps that I did for fixing the issue.This is the part of the stack trace.org.apache.axis2.AxisFault: org.apache.a... - WSO2Con 2011
on Sep 10, 2011
"WSO2Con is one fantastic week of tutorials, tech talk and networking events. Whether you are a developer, architect, IT manager or technology enthusiast, learn how global enterprises, SaaS providers and innovative startups are using WSO2 platforms t... - How to close, open ports in linux
on Aug 22, 2011
If you want to close the port 8080, this is an one way of doing this, if you are on ubuntu.type following command:> netstat -lpnThis will list all listening portsProto Recv-Q Send-Q Local Address Foreign Address... - How to re-index all resources in GREG 4.0.0
on Jul 3, 2011
If you need to re-index all resources in greg 4.0.0, here I have explain how you can do that. This can be easily done by editing registry.xml located at CARBON_HOME/repository/conf folder. In registry.xml go to the indexingConfiguration section... - Reinstall grub2 after installing windows 7 (XP/Vista)
on Jul 2, 2011
You may need to reinstall grub when windows is installed after ubuntu (or if you reinstalled windows in dual boot (Windows and ubuntu) system). I used following steps for reinstalling grub in order to login to my Ubuntu 10.04 after reinstalling Windo... - Few ways to improve the performance of your Java code
on Apr 23, 2011
In the following post, I have shown several ways to improve the performance in your Java code. Appending string values in a loopBAD String s = ""; for (int i = 0; i < field.length; i++) { s = s + field[i]; }GOOD...
Kasun
Join Date:
2011-09-29