Tuesday, November 11, 2014

drupal installation error: fatal error in line 2171

Source: https://www.drupal.org/node/2178753

It is not necessary to change the settings from Php.ini, you can easily do it from below method:
Goto :
[Base-Url] / sites / default /
Open, settings.php which you should have renamed from default.settings.php
Edit the file, and put this on the very beginning of file:
ini_set('max_execution_time', 0);
Run, it will work, no need to restart your apache service. Cheers :)

Wednesday, October 22, 2014

Adding jars, classes in eclipse

If you need to add JAR Files/Class files to your project in Java, it is very simple.

Follow below steps,

Right click properties of your project,

Select Java Build Path,

Select Libraries,

Add JAR's -> If you have the .JAR files within your project directory.
Add External JAR's -> If you have the .JAR files outside your project directory.
Add class files -> If you have the .class files within your project directory.
Add External class files -> If you have the .class files outside your project directory.


Do not forget to "Order and Export" the files that you have added before clicking OK or closing the dialog box.

Click "Order and Export" and select all those files that you have added into the libraries. Select Ok.

Now close the Dialogue box to save the changes.


Tip: If you are working on any type of projects, its better to add those jar's and class files into the project directory "/lib" and then give the appropriate build path of the project directory. It lets you do not misplace your libraries that belong to the project.

Wednesday, October 1, 2014

Setting Display Resolution in ubuntu

If you are one of those, who are stuck with 648*480 AKA Built-in Display mode in ubuntu, then you can change to better 1024*968 resolution with the following changes.


  1. Go to search Bar,
  2. Click Additional drivers,
  3. click "Using x86 virtualization solution-guest addition module source for dkms"
  4. click apply changes,ok
  5. Restart the operating system
That's it.

 

Thursday, September 4, 2014

running jar applications in windows

java -jar "filename".jar
Command for java file to run the jar file.
Note** : JAVA Runtime needs to be installed in windows, to run them.

You can also double click to run the jar file in windows.

Tuesday, September 2, 2014

Setting Up python Environment variables and PYTHONPATH

Path to System Variables:
C:/python34/

PYTHONPATH in user environment Variables:
 C:\Python34\Lib\site-packages

Here C:\Python34 is the directory where I installed the Python software on my operating system.

For More Reference on how to do:
Check this Video..!!

Why to set variables:
Setting the environment variables allows you to use python commands and execute several programs in command prompt.

How to check if the environment variables are set properly
Type "python" in command prompt and click enter.

for exiting use, Ctrl-Z/exit() and click enter.

Friday, March 14, 2014

Installing Net Beans and confiiguring it properly

1. download both idk form this link and install it before installing the netbeans software


2 download netbeans software version which includes all bundles of ide

https://netbeans.org/downloads/