Wordpress: How to send email using wp_email()
wp_mail() is a wrapper function available in wordpress core that can send emails using wordpress configuration. You can use wp_mail() to send emails from wordpress/woocommerce plugins and themes.
Wordpress: Schedule a hook to be triggered by at the specified interval.
Wordpress core offer hook Schedules functionality. We can shedule custom events using wp_schedule_event() and wp_next_scheduled() hooks which will be triggered by WordPress at the specified interval.
Woocommerce How to setup GST Tax for India (2023)
Follow this woocommerce guide to learn how to setup GST Tax for India.
ISO codes for Indian states and union territories
Indian states and union territories and their ISO codes in json and table format
Customize Bash prompt
Linux bash prompt can be customized, here is my customized bash prompt. I used below entry in ~/.bashrc file
How to convert audio files to and from SBC codec format in Linux
SBC is a digital audio format used for transferring audio between Bluetooth host and output devices like headphones or loudspeakers. This article explains how to convert audio files to and from SBC codec format in Linux.
Hugo: frontmatter title block code snippet for Visual Studio Code
In VSCode, Code Snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements. Learn how to use code snippets to generate frontmatter title block for Hugo
PHP: How store css or js code in a variable using Heredoc
Learn how to use PHP Heredoc to create dynamic css/js code for your frontend
How To decode captcha using opensource ocr tools
With simple open source tools you can automate the process of decoding captcha with zero programming knowledge.
Linux: arm gcc cross compiler fails with error No such file or directory
After updating the Linux OS of a system from 32bit to 64bit OS. After which the ARM cross compiler failed to work. the cross compiler that worked earlier was not working, here is the solution for it.