Friday, 4 December 2015

importing parent stylesheet in child theme css

@import url("../Parallax-One/style.css");

Monday, 17 August 2015

Usefull linux commands

Recursively Zip a Directory and Files on Linux

zip -r /path/to/folder
to unzip to current directory,
unzip -d .
To get the size of directory
 du -sh dirname 

Monday, 22 December 2014

A quick way to generate lorelm ipsum text

I created a small application using appspot to generate lorelm ipsum text quickly and add free one.

I think i will explain you how i created and it will be helpful for others to learn appospot's initials.

Thursday, 24 July 2014

Friday, 25 January 2013

slow ssh connection on ubuntu

Simply edit sshd_config  by typing

 >> sudo vim /etc/ssh/sshd_config

Add the line to the bottom of file

UseDNS no

Restart the ssh service

>> sudo service ssh reload

After this it will not delay for ssh login.

Monday, 25 June 2012

Wordpress - set the large image size in editor

The large image size will be depend on the global variable $content_width.

Even if we change the settings in the media settings to a bigger one, we have to put the width to $content_width.

  In functions.php inside the active theme folder, 
   change like this,

if ( ! isset( $content_width ) ) 
$content_width = 754;