Tuesday, December 29, 2009
Wednesday, October 28, 2009
Java heap error
Set
export MAVEN_OPTS="-Xms512m -Xmx2048m"
to skip the java heap space error when building the code.
export MAVEN_OPTS="-Xms512m -Xmx2048m"
to skip the java heap space error when building the code.
Monday, October 5, 2009
Office communicator in Ubuntu
https://mknowles.com.au/wordpress/index.php/2009/07/10/pidgin-and-microsoft-office-communicator-in-ubuntu
http://ubuntuforums.org/showthread.php?t=1046158
http://ubuntuforums.org/showthread.php?t=1046158
Wednesday, August 26, 2009
Firefinder for Firebug 0.91
Firefinder for Firebug 0.91 finds HTML elements matching chosen CSS selector(s) or XPath expression.
Monday, August 3, 2009
EPEL
to add new packages for yum:
http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/
http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/
Thursday, July 30, 2009
Download subversion
http://svnbinaries.open.collab.net/servlets/ProjectDocumentList?folderID=227
http://downloads-guests.open.collab.net/servlets/ProjectDocumentList?folderID=6
http://downloads-guests.open.collab.net/servlets/ProjectDocumentList?folderID=6
Friday, July 10, 2009
Install guide to Xvfb
http://testdrive.mapinfo.com/techsupp/miprod.nsf/kbase_by_product/A832A07452B9A0E385256F8000760F68
Thursday, July 9, 2009
Monday, April 20, 2009
Jmeter
Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.
I used Jmeter for performance testing.
Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.
I used Jmeter for performance testing.
Thursday, March 26, 2009
Create new module in project
(1) create relevant folder within project folder
plugins\keywordparameters\src\main\java
(2) create pom file and set artifact if,parent etc
(3) add module name to root pom
(4) svn add keywordparameters
(5) build the project
(6) mvn idea:idea
(7) in IDEA, right click module -> module settings-> select the module and right click and New-> Spring
(8) build the project
(9) mvn idea:idea
(10) create com.fastsearch.admomentum.plugins.keywordparameters.feature package using idea
plugins\keywordparameters\src\main\java
(2) create pom file and set artifact if,parent etc
(3) add module name to root pom
(4) svn add keywordparameters
(5) build the project
(6) mvn idea:idea
(7) in IDEA, right click module -> module settings-> select the module and right click and New-> Spring
(8) build the project
(9) mvn idea:idea
(10) create com.fastsearch.admomentum.plugins.keywordparameters.feature package using idea
Wednesday, February 11, 2009
The Top 50 Proprietary Programs and their Open Source Alternatives
http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/
Wednesday, February 4, 2009
List of Linux distributions
We are using Ubuntu as OS. Now in melborrn servers, we use CentOS.
Debian (Ubuntu) / Fedora (CentOS)
They belongs to different distributions.
Useful link:
http://en.wikipedia.org/wiki/List_of_Linux_distributions#RPM-based
To find, which linux distribution we use:
cat /etc/*release
or
cat /proc/version
or
uname -a
or
cat /etc/*version
http://www.linuxquestions.org/questions/linux-general-1/how-to-get-os-name-from-command-line-557339/
There are some differences in those distributions.
In Debian, we use app-get and In CentOS, we use yum.
Debian (Ubuntu) / Fedora (CentOS)
They belongs to different distributions.
Useful link:
http://en.wikipedia.org/wiki/List_of_Linux_distributions#RPM-based
To find, which linux distribution we use:
cat /etc/*release
or
cat /proc/version
or
uname -a
or
cat /etc/*version
http://www.linuxquestions.org/questions/linux-general-1/how-to-get-os-name-from-command-line-557339/
There are some differences in those distributions.
In Debian, we use app-get and In CentOS, we use yum.
Tuesday, February 3, 2009
XSS
To prevent XSS, Input validation and output encoding can be done by using SafeHtml (php)and Anti-XSS (ASP )libraries.
Sunday, February 1, 2009
Create samba shared folder
sudo vim /etc/samba/smb.conf
give
[admo]
path = /home/manoj
public = yes
writable = yes
and save
sudo smbpasswd -a manoj
sudo service smb restart
Then, mycomputer->map netwok drive-> //mel1u111/manoj
give
[admo]
path = /home/manoj
public = yes
writable = yes
and save
sudo smbpasswd -a manoj
sudo service smb restart
Then, mycomputer->map netwok drive-> //mel1u111/manoj
Thursday, January 29, 2009
TortoiseSVN
TortoiseSVN is a easy to use Revision control / version control / source control software for Windows. Since it's not an integration for a specific IDE we can use it with whatever development tools you like. After install it, "SVN update", "SVN commit", "SVN checkout", "TortoiseSVN" ... options come to right click. We just need to right click on the folder and do the relevent thing.
Putty
PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols. I use putty to connect and get a terminal to linux machine from windows machine (using ssh).
http://en.wikipedia.org/wiki/PuTTY
http://en.wikipedia.org/wiki/PuTTY
winSCP
Using WinSCP , files can be sent to linux machines. Its a free SFTP, FTP and SCP client for Windows
http://winscp.net/eng/index.php
http://winscp.net/eng/index.php
Doxygen and NDoc
I needed to generate documentation like javaDoc for C#. It can be done by NDoc. But since i used comments like java, Doxygen was very useful.
http://www.stack.nl/~dimitri/doxygen/
Not only C#, it can be used to generate documents for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D.
useful links:
http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc
http://www.thunderguy.com/semicolon/2006/08/06/c-sharp-documentation-comments-useless/
http://www.programminglearn.com/320/c-commenting-c-vsnet-commenting
http://www.stack.nl/~dimitri/doxygen/
Not only C#, it can be used to generate documents for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D.
useful links:
http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc
http://www.thunderguy.com/semicolon/2006/08/06/c-sharp-documentation-comments-useless/
http://www.programminglearn.com/320/c-commenting-c-vsnet-commenting
Thursday, January 22, 2009
Thursday, January 1, 2009
Java Util Calendar
This is the way to month\date\year from the calender.
ad.getCreated().get(Calendar.MONTH);
ad.getCreated() returns a java util calendar type object.
ad.getCreated().get(Calendar.MONTH);
ad.getCreated() returns a java util calendar type object.
Subscribe to:
Posts (Atom)