A simple way to encrypt/decrypt data in php

In this post, we will focus on how can we encrypt/decrypt store (text/JSON) using PHP. This may be useful in cases where we need to store and retrieve sensitive data in filesystem instead of a database. We will be seeing…

Select theme while registering in wordpress multisite network

Select theme while registering in wordpress multisite network

Learn how to enable user to select theme while registering in wordpress multisite network. This article explains the steps along with ready to use script.

Copy to clipboard using javascript without any plugin

Copy to clipboard using javascript, this is the topic that we are going to explore in this post. The solution we will discuss here will use native javascript and no third party tool. As the solution is bare minimum code…

Replace HTML audio tags with jPlayer

In This post we are going to take a look at how we can replace html audio tags with jPlayer. jPlayer is a popular jQuery player that provides consistent interface to play audio and video files in web page. This…

Eliminate render blocking javascript and defer parsing of js

Why is it important to Eliminate render blocking javascriptYou know your website needs to be fast. Even if the users with slow Internet connection don’t matter much to you, you should consider the speed optimization of your website because it…

Create extract zip files using php

Uploading and downloading files to and from web servers is a common task in web development environment. This task is simple and straight forward as long as we have to process few files or have cPanel access, in which case…

Git src refspec does not match any error

Cloning a branch of a git repository (particularly non master ones) and then pushing your changes to the same can result into this error Resolve src refspec does not match any error This error can be resolved by pushing using…

How to download a website in linux

To download a website in linux is quite easy process. The inbuilt wget tool can get the job done in a hassle free manner. Moreover, this tool comes with a number of optional parameters to configure the download process. How…

403 error in opensuse while using htaccess files

403 error in opensuse while using htaccess files

Configuring url rewriting in apache 2.4 in opensuse might not be that easy after all. First you need to follow these set of instructions. This will work perfectly for older versions of apache. But getting them to work for apache…