How to get current url in javascript
Javascript provides multiple methods to get current url which is displayed in the browser address bar and all these methods relies on window.location.
Whatsapp share link with image in websites
While sharing a website link in whatsapp, have you ever seen how it a shows rich preview of the page with a image and description?? This post will show how to do it for your website.
Best way to get facebook like/share count after fql depreciation - PHP
So FQL depreciated after August 7,2016. What are you going to do if you have used FQL to get facebook like / share count in your webpage. This trick will get you those numbers without using any app. This is the best alternative to get facebook like / share count after fql depreciation.
What is binary safe functions in php
In PHP, Some functions are marked as binary safe functions. It means that the functions works correctly even when you pass binary data. Ex: A string containing non-ascii bytes, null bytes etc..
How to find & replace a string in multiple files recursively using sed
I had to replace a string in multiple files in one of my project and i have to do it recursively because the files in the inner directories also contains that word. I intented to do this using sed command in linux, rather than going for the options available in the editor.
Cannot find autoconf Please check your autoconf installation
Recently i tried to install development version lampp. While running phpize command during the installation, i got "Cannot find autoconf Please check your autoconf installation" and the $PHP_AUTOCONF environment variable.
configure: error: no acceptable C compiler found in $PATH
This error usually occurs when you installing a program and its missing gcc compiler location in the $PATH variable, one of dependencies for the program you are installing.