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…
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…
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…
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.…
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' => 587,
'timeout' => 30,
'username' => 'firstname.lastname@example.org',
'password' => 'xxxxxxx',
'client' => null,
'tls' => true,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
In the EmailTransport configuration named default above the className parameter is the…
The following example demonstrates creating a simple toggle switch using plain html and css.
Simple du command lists all folders with their corresponding size of disk plus to start with. DU – Disk Usage
When attaching the .dropzone() object via jQuery, generally it does not allow you to click child elements and open the upload dialog.
Like many bloggers I was looking to earn money online through affiliate marketing. Unfortunately I included Bharat Matrimony Affiliate Program as one of the affiliate partner. But eventually I was proved wrong. Why?