Recent Hows

How to Create Symlink vai CLI in Unix – CentOS – Ubuntu – Linux

Symbolic link or symlink ( or sometime called soft link ) is a file that only exists as a reference for another file or directory. In order to create symlink via command link interface (CLI) in an Unix based system you will need to use ln command. ln -s /path/to/file /path/to/symlink ln stands for Link.

Continue Reading →

How to Extract tar.gz file in Unix/Linux

When you are in a unix based system like Ubuntu, CentOS etc. You will need to know how you can extract a tar.gz file using command line interface (CLI) Take an example, we have a file myFile.tar.gz cd into the same directory as the file. Now run the command tar -xzf myFile.tar.gz This will create […]

Continue Reading →

How to Fetch Latest Update Form Bitbucket Private Repo to Local

If you are collaborating with a team and working on a fork of a repo. Merge conflicts are common on git but you always need to be upto date to avoid nasty merge conflicts, which may very well kill your production time if you get too far behind. This is how you can download the […]

Continue Reading →

How to Exit from Linux CLI Editor / VIM

Often for newbies how to exit form VIM or CLI (command line interface) editor is confusing. I’ve seen people just close the CLI in out of frustration. Follow the instruction below if you finding it hard to exit from VIM   Press Esc key couple of time. This will ensure that you are back in […]

Continue Reading →

How to Change PHP Version for Current Directory – Godaddy – Linux Hosting

So, I recently had a special case where my client was using older version of php in his godaddy hosting and didn’t want to upgrade. But for the current project I needed to enable php 5.4. I couldn’t use godaddy control panel to change/upgrade php version because that would change the php version for whole […]

Continue Reading →

How to Disable Password Requirement on Windows 8 Logon?

While setting up Windows 8 you will need to setup a password for your user account. On previous windows version it was optional. Its a awesome security feature but if you are using your PC in home you might not require that. So, Here is how you disable it. Logon to your user account. Press […]

Continue Reading →

How to Toggle, Remove Tab on Top on Firefox Latest Versions

I was updating firefox other day and after the update i have found the tabs gone back to default location. I like tabs after web address bar. So, here is how it can be changed if you need. On your firefox browser write about:config and press enter. You will be shown a alert message. Click […]

Continue Reading →

Permanently (301) Redirect Old Domain URL to New Domain URL Using .htaccess – Linux Server

Make sure to change url for oldesite.com and newsite.com

Continue Reading →

How to Convert GET URL Structure to Array and Reverse

Source: http://stackoverflow.com/questions/4297765/make-a-javascript-array-from-url

Continue Reading →

How to Get Posts Using Post IDs in The Order It was Given on WordPress?

Example: We have an array containing post ids Now if we want to get those posts we can use any of wordpress query functions such as get_posts(), query_posts() or WP_Query. In the order they will be received you can control it via ‘orderby’ and ‘order’ parameters. But if you look closely there is now good […]

Continue Reading →