Monday, November 14, 2011

Resetting the Root Password in MySQL

1) Stop mysqld and restart it with the --skip-grant-tables option.

(This enables anyone to connect without a password and with all privileges. Because this is insecure, you might want to use --skip-grant-tables in conjunction with --skip-networking to prevent remote clients from connecting.)

2)Connect and  Issue the following statements in the mysql client. (Replace the password with the password that you want to use.)

    mysql> UPDATE mysql.user SET Password=PASSWORD('MyNewPass')
        ->                   WHERE User='root';
    mysql> FLUSH PRIVILEGES;

   ( The FLUSH statement tells the server to reload the grant tables into memory so that it notices the password change.)

3) now  able to connect to the MySQL server as root using the new password. Stop the server, then restart it normally (without the --skip-grant-tables and --skip-networking options).


Source MySQL help Site

http://klairvoyant.in

Monday, October 10, 2011

For makeing beautiful Tooltips using jQuery plugin

Chek the below link for the plugin and for useage details

http://plugins.jquery.com/project/bt


useage.

1) put 1) jquery.bt.min.js  and 2) jquery.bt.css in the javascript folder and stylesheet folders respectively.

2) $('#accordion').bt({ padding: 20, width: 100, spikeLength: 60, spikeGirth: 10, cornerRadius: 30, fill: 'rgba(0, 0, 0, .4)', strokeWidth: 2, strokeStyle: '#CC0', cssStyles: {color: '#FFF', fontWeight: 'bold'}, positions: ['right','top' ] });

where #accordian id given to a div element and others are configurable options for the tool tip.


by http://klairvoyant.in

Thursday, October 6, 2011

Google Web Fonts

The Google Web Fonts API helps you add web fonts to any web page.
Benefits of the Google Web Fonts API include:


http://klairvoyant.in

Friday, September 2, 2011

Mail Templates

 while developing email templates the care shouls be


1) spans and divs are used but use tables for the layout work.
2)CSS style declarations should be very basic, and code as inline style.

Reference

http://www.sitepoint.com/code-html-email-newsletters/

http:www.klairvoyant.in

Thursday, June 23, 2011

Git hosting, agile development, revision control, rich media kit

Assembla:-Free Git Hosting

http://offers.assembla.com/free-git-hosting/


pivot tracker:- Collaborative, lightweight project management tool, for agile software development.

https://www.pivotaltracker.com/


Cincopa :-Rich media kit for WordPress, Joomla, Blogger and many other CMS systems. Cincopa includes many videos players, slideshows, galleries, podcast, music players in many different shapes and sizes, in total over 40 skins.

http://www.cincopa.com/

git :-A distributed revision control, distributed version control.

tutorial

http://www.vogella.de/articles/Git/article.html

http://www.ralfebert.de/tutorials/git/


GitHub :- GitHub is a web-based hosting service for software development projects that use the Git revision control system.GitHub is the most popular Git hosting site.



https://github.com/




by http://klairvoyant.in

Friday, June 10, 2011