Automatic page load progress bar with Pace.js

The pace.js is an automatic page load progress bar. You don’t need to write any code to initialize the script during page load.

It is easy to implement and not dependent on any other external JavaScript libraries.

You can also use this with AJAX request to show the progress bar when the request is been triggered.

Several themes with different-different colors are available that you can use.

Automatic page load progress bar with Pace.js

Read more

Remove unwanted whitespace from the column – MySQL

There is always the possibility that the users may not enter the values as you expected and the data is saved on the Database table. E.g. unwanted whitespace or characters with the value.

You will see the issue when you check for duplicate records or sort the list.

MySQL has some string functions that you can use to eliminate the extra space or characters from the field.

Remove unwanted whitespace from the column - MySQL

Read more