Let say you have Circulars that would rendered like so:
Note default render when there are no layout define will be 2 columns on normal screen and 1 column on mobile.
# USAGE INSTRUCTIONS | |
# 1. Download this .env file, docker-compose.yml file, and put it in a separate folder. | |
# | |
# 2. In above folder with: 'mkdir -p wpsite/mariadb wpsite/wordpress wpsite/dbinit' and 'chown 1001:1001 wpsite/mariadb' | |
# | |
# 3. Upload existing-site-dump.sql file to wpsite/dbinit and your existing wordpress (.htaccess, wp-config.php, and | |
# wp-contents folder) to wpsite/wordpress | |
# | |
# 4. Update the passwords in .env file. Backup 'cp wpsite/wordpress/wp-config.php wpsite/wordpress/wp-config-bak.php' | |
# a. because setting WORDPRESS_SKIP_BOOTSTRAP=yes prevent fresh installation of wordpress, we must edit wp-config.php; |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\Http; | |
class CpanelEmailCallback extends Command | |
{ | |
/** |
<?php | |
/** | |
* Responsible for importing recipes. | |
* | |
* @since 5.8.0 | |
* | |
* @package Import Example | |
*/ | |
/** |
Vietnamese phonetics for Hmong / Cách phát (phiên) âm bồi Tiếng Việt cho Tiếng H'Mông | |
# Consonants | |
- these rules denote exception to how they are pronounced in Vietnamese. | |
- h is silent as in hmong = mong | |
c, rh, ts, tx = ch | |
d = đ | |
ny = nh | |
r = tr (like trick) |
const fs = require('fs') | |
const readline = require('readline') | |
const stream = require('stream') | |
const {promisify} = require('util') | |
const got = require('got') | |
const pipeline = promisify(stream.pipeline) | |
/** | |
* Processing file line-by-line synchronously |
#!/bin/sh | |
# Usage: | |
# ./cleanup-dir.sh /path/to/directory olderThanXDays(default=7) | |
EXPIRATION=${2:-7} | |
if [ ! -d "$1" ]; then | |
echo "'$1' is not a directory!" | |
echo "Usage:" |
add_action( 'woocommerce_cart_loaded_from_session', 'sort_cart_items_alphabetically' ); | |
function sort_cart_items_alphabetically() { | |
global $woocommerce; | |
// Read Cart Items | |
$products_in_cart = array(); | |
foreach ( $woocommerce->cart->cart_contents as $key => $item ) { | |
// sort by title by default |
proxy_cache_path /tmp/nginx/cache levels=1:2 keys_zone=remoteimages:10m max_size=1g inactive=45m; | |
server { | |
listen 80; | |
listen [::]:80 ipv6only=on; | |
listen 443 ssl; | |
listen [::]:443 ipv6only=on ssl; | |
ssl_certificate /etc/nginx/ssl/placeholder-fullchain.crt; |
Example GTIN with valid check-digit: 00666522900091
You sent us an image without/0 as check-digit, simply request your image as: https://han.brickinc.net/gtin/00666522900090.jpg
Since it's a national product, pass in a valid check-digit to get Brick's image: https://han.brickinc.net/gtin/00666522900091.jpg
NOTE The free API will watermark your image and has a limit of 10 requests per minute, with a burst of 5 requests.