Dec 6, 2009

You may have used hibernate 2.x and in case you are getting error (Hibernate Dialect must be explicitly set, jdbc connection parameters must be specified, etc) by using the same code to initialize SessionFactory as you did before then there's a simple fix for that error. Create a hibernate.cfg.xml file and place it in root of the classpath and to initialize SessionFactory use the following code. AnnotationConfiguration ac= new AnnotationConfiguration(). setProperties(System.getProperties()); ac.configure(); //static final instance of SessionFactory sessionFactory=ac.buildSessionFactory(); or...

Posted on Sunday, December 06, 2009 by Unknown

Aug 24, 2009

The sysdate.exe file is a trojan and it binds itself with the help of windows registry with the explorer.exe process.So that whenever you start the explorer.exe it starts alongwith it. It has various names like 604.exe,408.exe etc. The sysdate.exe process is stored in the recycle bin or the recycler folder which is hidden.To heal your computer from...

Posted on Monday, August 24, 2009 by Unknown

Aug 16, 2009

This tutorial provides you with tips on how to get a consistent 100fps or round about that. Prerequisites: a graphics card external but it maybe the case that an on-board card would suffice.I use nvidia geforce 5200fx 8x agp(accelerated graphics port) slot card. It is pretty cheap and old technology as now pc's come with the pci express slot. a...

Posted on Sunday, August 16, 2009 by Unknown

The dual core and quad core processors have become very popular nowadays but the main reason behind their success is the power management. There are two basic concepts that one must know, they are :- Overclocking the processor :- Let's say that ideally a normal single core processor takes x units of power to give x units of performance. But users generally tend to increase the performance by overclocking the processor ie essentially increasing the clock frequency of the processor. If a user follows the process of overclocking the processor,...

Posted on Sunday, August 16, 2009 by Unknown

There are a few steps that you have to follow before you can create a dedicated server (Hlds) for counter strike 1.6 The steps are :- 1. Configuring the router/modem: Follow these steps:- Open any web browser and in the address bar type 192.168.1.1/main.html or 192.168.1.1/index.html or 192.168.1.1 , whichever provides you with advanced configuration...

Posted on Sunday, August 16, 2009 by Unknown

In this tutorial i will be explaining about following two things 1) Creating your own spray paint image. 2) Converting images to counter strike sprays. 1) Creating your own spray paint image : for this follow these steps open a simple paint program, i am using microsoft paint for this example. paint your own image and then there are following 2 options available to you. Transparent Background: If you want your images to have a transparent background then in microsoft paint or any other paint program set its background to blue. Normal background:...

Posted on Sunday, August 16, 2009 by Unknown

If you want to verify your blogger site on msn follow these simple steps:-Go to the msn site Then do not directly submit your site url, first visit the link at bottom that says webmasters (as shown in figure below). I could have provided you this link directly but i did not because most of the users end up entering their site at the first link and...

Posted on Sunday, August 16, 2009 by Unknown

Aug 15, 2009

Here i discuss about the tool that is of paramount importance in a situation where you do not have time to defragment the entire drive and just want to defragment single file /folder in windows xp. The tool i am discussing about is Contig it was developed by sysinternals and can be downloaded here. It is a tool that is operated through the command...

Posted on Saturday, August 15, 2009 by Unknown

Jul 31, 2009

Installing php:- Download the zip archive of php from this site. Extract the archive to a c:\php or any name that you like but in the entire explanation c:\php is assumed to be the path where php is installed so replace it with the path to your directory in case you choose to install it in another directory . Rename the php-ini-dist to php.ini because...

Posted on Friday, July 31, 2009 by Unknown

Jul 23, 2009

The dynamic dns service can be used by any person with a non-static ip address to host a website on pc. Non- static ip address means that a person who is using services of an isp and so generally every time he resets his router or modem a new ip address is assigned, so the binding of a domain name to the ip address just cannot happen. The dynamic dns service can be used for this purpose to bind the non-static ip-address to a domain name by constantly updating the ip-address with the domain name provider thus a normal user can host his/her website...

Posted on Thursday, July 23, 2009 by Unknown

Jul 21, 2009

The first thing that you should know is that Timer class is available both in java.util and javax.swing packages and they both are different from each other. I will be discussing code example about the Timer class in javax.Swing package which you can use to make a countdown timer, JprogressBar or do other operations. Below is the code example and then the explanation follows:- import java.awt.event.*; import javax.swing.Timer; /** * * @author morph */ public class timer_Example extends javax.swing.JFrame implements ActionListener { Timer...

Posted on Tuesday, July 21, 2009 by Unknown

Jul 20, 2009

In case you change the password for root account using phpMyAdmin and then try to login into mysql database using phpmyadmin you will receive a log in error and you won't be able to login, this happens because phpmyadmin has no way of knowing what's the root password that you have set.The phpmyadmin uses it's config.inc.php file for storing mysql user related information and that is where you should enter the root password so that on next log in it can successfully log in to the mysql database.The solutions to update the password are explained...

Posted on Monday, July 20, 2009 by Unknown

Jul 6, 2009

Problem:-You encounter this error while executing your jar file then it is likely due to missing library files that your jar file needs to run.Solutions:-For applications made using NetBeans Ide:-Netbeans while making your jar file adds the classpath of the libraries needed for your application to the manifest.mf file and creates the folder lib in the dist folder containing the jar files that your application needs to execute.If you copy and paste just the jar file and try to execute it it will raise an error, so instead of just copying the jar...

Posted on Monday, July 06, 2009 by Unknown

Jun 28, 2009

What is a servlet ?Servlet:a short introduction:-A servlet handles the requests from the server, that require servlet to add something or do some operations in response to the client request so that a dynamic page can be generated, rather than the same old monotonous static html pages.The servlet API's are generally provided along with Containers...

Posted on Sunday, June 28, 2009 by Unknown

To change cs 1.6 start-up or menu music, follow these simple steps:- Open the directory where counter strike is installed and navigate to the cstrike directory. For non steam cs 1.6:- If you don't know where the installation directory is just right click on the shortcut, choose properties and then click on the find target button. For steam cs 1.6:- Right...

Posted on Sunday, June 28, 2009 by Unknown

Jun 27, 2009

The related posts widget is really helpful for your site because of the following reasons:-It attracts the attention of the user viewing your website to other articles filed under the similar category i.e the posts filed under the same label. So a user generally ends up viewing those articles and in effect stays at your site for longer period of time.It generates a lot of internal links from which a user might be able to find related information on your site and these internal links are good for SEO also. To add the widget to your just follow these...

Posted on Saturday, June 27, 2009 by Unknown

Jun 23, 2009

This tutorial of Hlds server for counter strike 1.6 mainly concentrates upon the following aspects:- Launching the hlds and its launch options. Server rates for lag and choke free game-play. This tutorial does not cover the configuration of modem/router as it has been already covered, visit this link for that. 1. Launching HLDS and it's launch options...

Posted on Tuesday, June 23, 2009 by Unknown

partprobe is a program that tells the operating system kernel about the partition table changes by requesting the operating system to re-read the partition table again so that you do not have to reboot for the changes to appear on the partition table. A reboot is what the system administrators just cannot do on the system running web server's so for them this command is of utmost importance.The command and its optionpartprobe [-d] [-s] [-h] [device]-d : Don't update the partition table, it is what you normally don't intend to do when you...

Posted on Tuesday, June 23, 2009 by Unknown

The netstat command displays the network connections that have been established, the port's which these connections are using, the routing table, the statistics related to an interface(eth0 etc) and statistics for a particular protocol(ipv4,ipv6,icmp). You can use it to see whether a trojan or a backdoor connection is established with your pc acting as a server to a client (remote pc).The netstat command and its options are explained below:-NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]The options:--a :It displays all the...

Posted on Tuesday, June 23, 2009 by Unknown

Jun 16, 2009

What is the File Extension JSON ?JSON is a lightweight, language independent "data " interchange format. It was derived from ECMAScript programming language standard. The MIME content type for it is application/json.The file extension for it is .json. JSON defines a small set of formatting or rules for portable or language independent representation of data. JSON can represent four primitive types namely string, number, boolean, null and it can also be used to represent two structured types namely objects and arrays.An object is a name-value pair...

Posted on Tuesday, June 16, 2009 by Unknown

Jun 11, 2009

Safari 4 : "The fastest web browser"The one thing that you expect from apple when they launch a new product is the "design and functionality" of the product and the safari 4 web browser is just one example of how much attention software developers at apple pay to it.The safari 4 browser is the fastest browser as endorsed by apple. It has incorporated...

Posted on Thursday, June 11, 2009 by Unknown

Jun 8, 2009

What is the use of pivot table ?The pivot table provides support for a sequence of values for ex: In case you want to have sequential values from 1 to 100 . These sequential values are required and can be used in numerous cases. In pivot tables values are not inserted directly but they are inserted inside a support table which is then concatenated with itself to populate pivot tables.How to create a pivot table ?To create a pivot table and insert values into it, you would have to create 2 following tables:-1) Pivot table 2) Temporary/Support...

Posted on Monday, June 08, 2009 by Unknown

Jun 7, 2009

The problem that you might face when you install ubuntu is it's default window manager GNOME is quite heavy on resources and tends to be buggy (for my pc configuration at least) so to cope up with resource crunch you can shift to a light window manager like fluxbox, XFCE etc as they tend to provide better performance than GNOME or KDE but are a little...

Posted on Sunday, June 07, 2009 by Unknown

Jun 5, 2009

The installation is very easy just follow these steps:-Installing Wine :- the wine package helps run windows executables on linux like systems. You can get any package with ease by using a single command or you can use synaptic package manager. I'll explain the procedure by using the command line (it's very easy).Open the terminal :- Go to Applications->Accessories->TerminalThen...

Posted on Friday, June 05, 2009 by Unknown

May 31, 2009

This collection is made from deviant art's some of the most beautiful wallpapers, you can download some of these from below by clicking on the wallpaper image and opening them in a new tab and other wallpapers come in a pack so they can be downloaded in a rar archive format:-1. Ultra Beam by Yethzart:-2. High Definition Nature wallpaper by CurtiXs:-...

Posted on Sunday, May 31, 2009 by Unknown