Blog

Cordova: How to check if a file exists or not?

Above code works for both files and directories.

For Full article with extended features visit Following:
Cordova Sample: Check for a file and download if it isn’t there

Click here for Complete Documentation of cordova.file plugin

  […]

Cordova: How to get list of all Files/Directories in a directory?

Tested in Android.

Click here for more details.

Another link Mobile File Explorer with PhoneGap/Cordova has examples. […]

Cordova: How to create directory?

For Documentation Visit: https://www.npmjs.com/package/cordova-plugin-file#android-file-system-layout […]

How to get Base64Image from input type file?

Live Demo: […]

How to access Query String Values using Javascript?

Following function is very useful to easily access url paramters ( query string values).

Source: http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript […]

jQuery: How to open specific links in new tab having specific url?

Just put following code in your javascript file and It will pick all links globally from your website and will open them in a new tab. Don’t forget to replace url with your own website’s url.

  […]

PHP: How to force to download remote file using php?

Following funcion can be used to force to download remote files via curl:

  […]

WordPress: Best Plugin to improve your website speed in google

Today I wasted many hours to increase my website’s speed in google PageSpeed insights but I could not. I was in red color. But then I found following plugin that surprisingly increased my page speed. And now that website entered in Green on google:

Plugin: GZip Ninja Speed

URL: https://wordpress.org/plugins/gzip-ninja-speed-compression/

Further I would like to share my final .htaccess file to you. May that can […]