Spring 3 annotation + Maven 3 + Tomcat 7 + Intellij Idea

February 6, 2012

What I Want: Integrate Spring 3 annotaion controller in my Hello World project created from  last post: Create a web application using Maven, Import as Intellij Idea project and Deploy to Tomcat Server. Some asumtions before start: Maven 3 installed Tomcat 7 installed Project already created by maven and imported in Intellij idea Final Project Structure: [...]

Read the full article →

How to Create a web application using Maven, Import as Intellij Idea project and Deploy to Tomcat Server

February 6, 2012

What I Have Maven 3 is already installed A local instance of Tomcat 7 is already installed and configured to run on port 8080 Best IDE Intellij Idea is installed What I Want Create a web application Hello World project using maven Import the new project as Intellij Idea project Deploy to my local tomcat [...]

Read the full article →

Install Apache Tomcat 7 on Ubuntu 10.10

February 6, 2012

What I Want: Set up and configure apache tomcat 7 which on my ubuntu 10.10 Major changes in this version, you can highlight support for Servlet 3.0 and JavaServer Pages 2.2 Following steps I have followed: Download Apache Tomcat 7 on my home. $ cd /home/<myusername> $ wget http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.25/bin/apache-tomcat-7.0.25.tar.gz Unpacks tomcat and moves extraced tomcat [...]

Read the full article →

Installing Maven 3 on Ubuntu

February 6, 2012

What I Want: As my prefered build tool I want to set up maven 3 in ubuntu 10.10 Installing Maven 3 Following steps I have followed: Download Maven 3 latest version on my home $ cd /home/<myusername> $ wget http://ftp.heanet.ie/mirrors/www.apache.org/dist//maven/binaries/apache-maven-3.0.4-bin.tar.gz Unpacks maven and moves extraced maven files in a more appropriate directory, in my case in [...]

Read the full article →

Install 64 bit Flash Player in Ubuntu

February 1, 2012

What I Have? 64 bit Ubuntu 10.10 (Maverick Meerkat). Firefox and Google Chromium Browser, 64 bit version. What I Want? To install adobe flash plugin for watching youtube video and loading other flash related application on browser. What I Have Done? I’ve included a small script originally created by Romeo-Adrian Cioaba that takes care of installing [...]

Read the full article →

What is scaler subquery

January 3, 2012

A scalar subquery expression is a sub-query that returns exactly one column value from one row. The value of the scalar sub-query expression is the value of the select list item of the sub-query. If the sub-query returns 0 rows, then the value of the scalar sub-query expression is NULL. If the sub-query returns more [...]

Read the full article →

How to use chmod and chown command

August 23, 2011

chmod command chmod command sets the access permissions of a file or folder to read, write, execute etc. chmod command uses three digit code as an argument and the file or folder location. The fundamental concept: There are only three basic permissions: Execute is 1, Write is 2 and Read is 4. Sum of these [...]

Read the full article →

How to Install Curl in Ubuntu System?

August 16, 2011

curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, [...]

Read the full article →

JQuery: How To Get URL Parameters & Values

July 13, 2011

While working, i need url parameters value to disable a dropdown list. A function using Jquery works great for me. This was the function I used: $.extend({ getUrlVars: function(){ var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf(‘?’) + 1).split(‘&’); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split(‘=’); vars.push(hash[0]); vars[hash[0]] = [...]

Read the full article →

How Git Stores Information

May 29, 2011

This note is an extremely high level of overview on how the Git object model works, based mostly on the Git Community Book. Git stores just the contents of the file for tracking history and not just the differences between individual files for each change. The contents are then referenced by a ‘Object name’ of [...]

Read the full article →