Helper functions are time saving tools in any application. Laravel comes with many built-in useful PHP functions which may include Array & Objects functions, String functions, URL functions and many more. Please see the complete list before you decide to…
Useful functions in Laravel and its Usage explained
There are many useful “helper” PHP functions in Laravel. According to documentation, “Many of these functions are used by the framework itself; however, you are free to use them in your own applications if you find them convenient.”
How to run URL from cronjob at specific time in Linux
Cron allows Linux users to run commands or scripts at a given date and time. Here I’m going to explain how to setup cron job in Linux in which you want to run URL at specific date-time. Each user has…
Traversing through Elements using jQuery
jQuery is a very powerful tool that provides various traversing methods to select the element randomly and sequentially. With jQuery selecting and finding an element becomes very easy. But at times, we may wish to improve the selection and when…
Get Started with Vi Editor
Vi editor is a command line text editor. It’s a single window with text input and output only. It is the most popular and classic text editor in the Linux and it is available in all Linux Distributions. There are…
Creating Custom Shortcode in WordPress
With a lot of customization with the theme WordPress also provide us to create our own Custom Shortcode. Basically, shortcodes are the small piece of code which let user to add dynamic content in WordPress posts, pages or sidebar widgets.…
LocalStorage in JavaScript
LocalStorage is a type of web storage that allows JavaScript websites and apps to store and access data right in the browser with no expiration date. This means the data stored in the browser will persist even after the browser…
How to enable MySQL slow query log and analyze it on Linux
MySQL slow query log is helpful when you needed to debug slow down or failure of your MySQL server. Slow query log can house queries which took more than n number of seconds.
Fixing “SSL operation failed” email issue in cakephp 3.8
Sending emails from a CakePHP application is simply a piece of cake. Here is the basics according to Cakephp documentation. Here is the basic configuration in config/app.php 'EmailTransport' => [ 'default' => [ 'className' => 'Smtp', 'host' => 'smtp.xxxxx.com', 'port'…
Understanding WordPress Template Hierarchy
WordPress is the most used CMS that powers 30% websites over the internet! WordPress uses themes to control look and feel of a website. You can create new theme or a child theme by following simple instructions found here.