Fix Undelivered Mail Returned to Sender for

Gmail was responding with this message everytime I wanted to send an email on gmail account. The MAIL FROM domain [] has an SPF record with a hard fail 550-5.7.26 policy (-all) but it fails to pass SPF checks with the ip: 550-5.7.26 [21

Send bulk emails using sendgrid api in php

This is an example of how to send bulk emails to the users in chunks. $users = DB::get("SELECT * FROM user;"); $chunks = array_chunk($users, 1000); foreach ($chunks as $chunk) { $personalizations = []; foreach ($chunk as $user) { $personalizations[] = [

Squash older commits on git

How to clean up you git history by selecting which old commits to squash

How to get the size of linux folders

How to get the size of linux folders To get the size of a directory you can use the du command. To get the total size of the disrectory (without the subdirectories) use the s argument. The h argument will display the number in human rea

Export latex equations in png

Here is how you can export latex equations in png format

January 2021 Links

How to install SSL certificates and wildcard certificates in apache

Connect to vultr mysql databases from your machine

For security, mysql does not let incoming connections in the databases. So, if we want to connect to them from our local machine, we can use a firewall that will allow our public ip. First we have to let connections to mysql server from other ips. We do it by adding bind-address option.

How to resize images from command line

How to resize images from command line in Linux

How to use your smartphone as webcam with DroidCam

DroidCam turns your mobile device into a webcam for your PC. Use it with chat programs like Skype, Zoom, Teams, or with live streaming programs like OBS.

How to support emojis in MySQL databases

In order to support all unicode characters, you have to use utf8mb4 charset in your database

Using Gila CMS as a back-end service

Gila CMS is a content management solution I am building the last few years. It started as an open source project that would give the ability to smal

Weblinks 2020#31

How to load asycronous css   Tabler icons   10 modern layouts in 1