Posts

Excel VBA - Value vs Text

Image
Value vs Text Sheets(1).Cells(6, 3). Value will give the raw value in the cell. Sheets(1).Cells(6, 3). Text will give what you see in the cell .

Best PHP Framework: Yii vs CodeIgniter vs CakePHP

Yii - http://www.yiiframework.com/performance/ CodeIgniter - http://codeigniter.com/ CakePHP - http://cakephp.org/

Upgrading to tomcat 6 and JRE1.6 in Centos 5

Image
First we have to download the latest jre binary from http://java.sun.com/javase/downloads/index.jsp choose Java SE Runtime Environment (JRE) Update xx then select platform, please select linux or linux x64 depending on your centos version you ‘ve install in your machine. then select [ jre-xxx-linux-xxx.bin] please do not select the rpm one. to download: [server]# wget http://xxxxx.jre-xxx-linux-xxx.bin we have to allow the file to be execute using [server]# chmod +x jre-xxx-linux-xxx.bin then extract it using : [server]# ./ jre-xxx-linux-xxx.bin in the screen appear EULA just press spacebar ’till it ask yes or no, just type yes then move the extracted folder to /usr/lib/jre1.6.0_xx [server]# mv jre1.6.0_xx /usr/lib/ then link it to jre directory so u wont have to recreate JAVA_HOME path if u want to upgrade jre later [server]# ln -s /usr/lib/jre1.6.0_xx /usr/lib/jre define Java home to that path [server]# export JAVA_HOME=/usr/lib/jre java instalation done then we have to down...

Freelance projects

Working on two projects. Point of Sale System is very interesting. For the last two days was trying google how to increase the width of the scrollbar in scrollpane. Couldn't find anything but expert-exchange dead end. At last, thanks to blogspot... UIManager.put("ScrollBar.width", new Integer(40)); Note: Call this method before adding any components to the JFrame. http://javadevelopersdiary.blogspot.com/2008/10/increase-width-of-scrollbar.html

Things tried out in first two weeks

I have tried out lots of new thing within these two weeks. Good New!... I have mastered writing portlets , using struts and extreme programming using Google Web Toolkit . I also learned to write build scripts using Ant . Now I am doing some research about authentication and authorization in portals . My concept about the portal was totally wrong before I started the work. Now have a clear idea... In short portal is a point of access to information on the WWW. It allows the user to access multiple application from a single page. I am now more interested in exploring new things. Going to try Groovy , a better java like programming for writing shell and build scripts.

My Very First Blog

This is the first time I am writing a blog. I don't like writing but somehow decided to start it this vacation. I have not much things to do. Last week, started my internship. Not bad! I am learning new things. Just happened to realise the amazing power of Google Web ToolKit (Java for Javascript). Had some hands on in portlets and struts. Nowadays I am using more php because of drupal. Hopefully this will be a great experience. So I will be logging the updates about my internship and freelance work here(hopefully!!).