Send email asynchroniously using Sidekiq.
Create your mailer us usual:
<?php | |
//I found a few tutorials for making custom WooCommerce shipping methods but most were confusing or didn't work any more. | |
//This is a simple custom shipping method. | |
//It originally calculated a fee per 'delivery day' based on some date meta on the cart items, but for this example it's a hard-coded flat fee. | |
//See calculate_shipping() | |
//Step 1: | |
//Save this code (minus these instructions) in a file in your plugins directory, preferably in its own subdirectory eg myplugin_shipping/myplugin_shipping.php | |
//Step 2: |
- Go to your heroku account > Select your app > Settings | |
- Go to the "Domains" section and click "Add domain" | |
- Enter your domain with www => "www.yourapp.com" | |
- Heroku will provide you a DNS to point to like this one strange-name-jl5klkslds2qm505.herokudns.com | |
- Copy this DNS | |
- Go to your ovh account > My Domains > DNS Zone | |
- Remove the DNS "www.yourapp.com. | 0 | CNAME yourapp.com." | |
- Remove the 3 TXT DNS entries | |
- Select "Add a DNS entry" |
from playwright.async_api import async_playwright | |
import time | |
import re | |
import json | |
import urllib | |
import requests | |
from bs4 import BeautifulSoup | |
import logging | |
logger = logging.getLogger() |
This blogpost shows how to setup Rails 6 with Bootstrap 4.
This snippet shows a somehow different and less customized approach.
$ rails new rails6-bootstrap4
$ bundle --binstubs
$ yarn add bootstrap jquery popper.js
##Windows users:
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
homestead
utf8_general_ci