Change all files and folders permissions of

Other

Change all files and folders permissions of a directory to 644/755

Find is best command to apply permission to directories and files recursively to all . For Directories find /desired_location -type d -print0 |…

Import Database using xampp mysql command

MySQL

Import Database using xampp mysql command prompt windows

As we all know the xampp is most popular tool at machine level programming work, but sometime we need to deal with the bigger databases to import…

Retrieve the query used in mysql views

MySQL

Retrieve the query used in mysql views

we can create the database views for many reason, but if we forget what query you was used to create the views or need to find out using which query…

Redirect Old Domain to New Domain via .

Other

Redirect Old Domain to New Domain via .htaccess

Usually we develop the site on developement or subdomain and when we finally mirgate the to new domain then some of thing will remain or page…

Jquery prevent enter to submit form

Javascipt

Jquery prevent enter to submit form

If you want to prevent the form submit using jquery, then this page helps you to doing this. jQuery(document).ready(function() {…

Drupal site maintenance not affecting front

Drupal

Drupal site maintenance not affecting front page

function HOOK_preprocess_page(&$vars) { global $user; if (!in_array('administrator', $user->roles) && variable_get('…

Display a child div on hover using pure css

CSS

Display a child div on hover using pure css (without javascript/jquery)

hey Guys, In this tutorial, we are showing you how to display a child div on hover on parent div having multiples section over that page, as we all…

Prevent to Load a js file on particular page

Drupal

Prevent to Load a js file on particular page using hook_js_alter Drupal 7

Drupal provided the lots of hook to extents its functionality, using this we can prevent a js file to load on particular page using HOOK_JS_ALTER If…

How you can get Mailchimp API KEY

PHP

How you can get Mailchimp API KEY

By Follow steps below, you can find the api key or create the api key at mailchimp and use it to your website to connected the site with mailchimp to…