Skip to content

Instantly share code, notes, and snippets.

<script>
window.addEventListener("load", function(){
document.getElementById('product-specs-tab').click();
});
</script>
<div>
<h4 style="font-size:28px;margin-bottom:10px">Waggoner Guide Flotillas</h4>
<div>Desolation Sound is a place of extraordinary beauty. And, it is one of the Pacific Northwest’s most dreamed-about and sought-after cruising destinations. Desolation Sound offers a wilderness setting, generally easy waters, many bays and coves to explore, tranquility, and more.</div>
<div>For adventurous cruisers, try the holy grail of Pacific Northwest cruising: the Inside Passage to Alaska. The scenery is magnificent and the experience is once-in-a-lifetime. Cruise to Southeast Alaska on our yearly flotilla to Ketchikan every May.</div>
<div>Visit our website (<a href="https://waggonerguide.com/flotillas/">https://waggonerguide.com/flotillas/)</a></div>
<script>
window.addEventListener("load", function(){
document.getElementById('product-specs-tab').click();
});
</script>
<div><b>Cruisers College</b></div><div>Providing high-quality marine courses to boat owners. These courses are offered in a first-class marine training facility with the opportunity for demonstrations and hands-on activities. Cruisers College brings in expert staff to provide delivery designed courses. Find out more <a href="https://waggonerguide.com/cruisers-college/" target="_self">here</a>.</div><div><br></div><div><div><b>Waggoner Guide Seminars</b></div></div><div><div>Advance your skills with a Waggoner Guide <a href="https://waggonerguide.com/seminars/" target="_self">Seminar</a> taught by experienced instructors.</div></div><div><br></div><div><div>Disclaimer: Due to Covid some seminars and classes are subject to change or may be online only.</div></div>
<script>
window.addEventListener("load", function(){
document.getElementById('product-specs-tab').click();
});
</script>
<div>
<h4 style="font-size:28px;margin-bottom:10px">Cruising <a style="color: #007dc1; text-decoration: underline;" href="https://youtu.be/XbwKrCLJaLM">Puget Sound</a></h4>
<div style="display: flex;">
<div style="flex-basis:33.33%;">
<script>
window.addEventListener("load", function(){
document.getElementById('product-specs-tab').click();
});
</script>
# Count of files in each sub-directory
find . -maxdepth 1 -mindepth 1 -type d -exec sh -c 'echo "$(find "{}" -type f | wc -l)" {}' \; | sort -nr
## Output example
# 1128 ./wordpress-seo
# 676 ./wp-ses
# 618 ./css-javascript-toolbox
# 423 ./gravityforms
# 394 ./wp-usertrack
## Install from private_html folder
wp plugin install ../private_html/divi-card-factory-1.7.0.zip --activate --force --skip-plugins --skip-themes
wp theme install ../private_html/mydivi-theme-3.8.5.zip --activate --force --skip-plugins --skip-themes
## Install from S3
wp plugin install https://assets.roadsidemultimedia.com/plugins/divi-card-factory/divi-card-factory-1.7.1.zip --activate --force --skip-plugins --skip-themes
wp theme install https://assets.roadsidemultimedia.com/themes/mydivi-theme/mydivi-theme-3.8.5.zip --activate --force --skip-plugins --skip-themes
wp plugin install https://assets.roadsidemultimedia.com/plugins/rsmm-page-cache/rsmm-page-cache-0.3.4.zip --activate --force --skip-plugins --skip-themes
wp plugin install https://assets.roadsidemultimedia.com/plugins/rsmm-page-cache/rsmm-page-cache-0.3.5.zip --activate --force --skip-plugins --skip-themes
<?php
function get_all_plugin_data(){
$all_plugins = get_plugins();
$list_of_all_plugins = array();
foreach ($all_plugins as $path => $data) {
$parts = explode('/', $path);
$slug = $parts[0];
$list_of_all_plugins[$slug] = array(
'Slug' => $slug,
'path' => $path,

Call it like so manually or periodically from cron (because you might forget):

tmux-session save

It will write to ~/.tmux-session. Restore them after reboot like so:

tmux-session restore

1) Configure the wp-config.php

As follows:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

1. General Stuff

Terminology

An image is a set of layers. When you start an image, it becomes a running container. You can have many running containers of the same image.

An instance of an image is called a container.

The image is the recipe, the container is the cake. You can make as many cakes as you like with a given recipe. A stopped container is a cake in the freezer.