Tuesday, January 20, 2015

Multiple versions of jQuery on the same page?

Multiple versions of jQuery on the same page?

Is it possible to handle conflicts between 2 versions of jQuery loaded in the same page? Assume that these lines of code:

<script type="text/javascript" src="jquery-1.1.3.js"></script>              
<script type="text/javascript" src="jquery-1.4.2.js"></script>              


use $.noConflict(true);

<!-- load jQuery 1.1.3 -->                                                       
<script type="text/javascript" src="http://example.com/jquery-1.1.3.js"></script>
<script type="text/javascript">                                                  
var jQuery_1_1_3 = $.noConflict(true);                                           

<!-- load jQuery 1.3.2 -->                                                       
<script type="text/javascript" src="http://example.com/jquery-1.3.2.js"></script>
<script type="text/javascript">                                                  
var jQuery_1_3_2 = $.noConflict(true);                                           

Then, instead of $('#selector').function();,                                     
 you'd do jQuery_1_3_2('#selector').function(); or jQuery_1_1_3('#selector').function();.

enjoy :)                                                                                
Read more....

Tuesday, January 13, 2015

Enable htaccess in Apache 2.4.7 on Ubuntu

Enable htaccess in Apache 2.4.7 on Ubuntu

open terminal
 open etc folder into this open apache2
into this file 
  <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride none
    Require all denied
<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
First enable rewrite using this command:
sudo a2enmod rewrite
Then restart apache2:
sudo service apache2 restart 
Enjoy :) 
Read more....

Thursday, January 8, 2015

How to login without password in phpMyAdmin

How to login without password in phpMyAdmin 

paswordless root login for MySQL. phpMyAdmin however is by default set to not allow that.

If disabled, you'll get the following error when trying to log in without entering the password;



 To enable the option, uncomment or add the following line;
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

there is two times this line  remove comment 

The line above need to be added twice; once within within the
if (!empty($dbname)) 
{ statement, and another one outside of it
 (probably towards the end of the configuration file). 
Read more....

How to install phpmyadmin on ubuntu 14.04

How to install phpmyadmin on ubuntu 14.04

Phpmyadmin is a free web tool used to administrative MySQL database. You can perform all major tasks like creating ,

1. Apache2 installation

sudo apt-get update

2. Mysql installation 

sudo apt-get install phpmyadmin

"During the installation, You will prompted to choose the type of web server . just choose “apache2″."

Now you will be prompted for mysql database configuration, just choose “No” as we already configured mysql server manually and hit enter to complete the installation 

open the path “http://localhost/phpmyadmin” in the browser , you will prompted for username and password . just type Mysql root username and password given during the Mysql installation

If you are getting “Page not found” issue .Include the below line in /etc/apache2/apache2.conf file.

" Include /etc/phpmyadmin/apache.conf "

after that command

sudo /etc/init.d/apache2 restart 

Enjoy :)

if there is an ISSUE in password then 

click here 

Read more....

install LAMP in ubuntu (Linux)

LAMP is used to create web project in linux 14.4


Linux Apache MySql Phpmyadmin

use the basic 6 step and Enjoy :)

1. Install Apache
sudo apt-get install apache2

2. Install MySQL
To install MySQL you must install the Metapackage mysql-server. This can be done by searching for and installing in the Software Centre, or by running the following command.
sudo apt-get install mysql-server

3. Install PHP
install the Metapackages php5 and libapache2-mod-php5.sudo apt-get install php5 libapache2-mod-php5

4. Restart Server
sudo /etc/init.d/apache2 restart

5. Check Apache
Open a web browser and navigate to http://localhost/. You should see a message saying It works!

6. Check PHP
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'

Congratulations, you have just Installed a Ubuntu LAMP Server!
Read more....

Ubuntu 14.04 connect to wifi button not working

Ubuntu 14.04 connect to wifi button not working

This is a problem in ubuntu 14.4
for resolve this problem you have install network manager
type following commands
sudo network-manager-gnome
sudo apt-get install network-manager-gnome
sudo nm-connection-editor
open the tab menu update password
Enjoy !! This is really helps you :)

Read more....
Related Posts Plugin for WordPress, Blogger...