Skip to content

Instantly share code, notes, and snippets.

View coreycb's full-sized avatar

Corey Bryant coreycb

View GitHub Profile
@coreycb
coreycb / check_lang.mjs
Last active April 22, 2026 20:07 — forked from jobisoft/check_lang.mjs
check_lang.mjs
#!/usr/bin/env node
// Usage:
// node check_lang.mjs --list list all available locales
// node check_lang.mjs --locales <locale[,locale,...]> analysis for given locale(s), for all available Thunderbird versions
// node check_lang.mjs --locales <locale[,locale,...]> --version <TB> analysis for given locale(s), for a specific Thunderbird version
// node check_lang.mjs --version <TB> analysis for all locales, for a specific Thunderbird version
// node check_lang.mjs --version <TB> --default-only fast scan: check only the ATN default version per locale, no multiple check
//
// No external dependencies — uses built-in fetch (Node 18+) and zlib
@coreycb
coreycb / temporal-microk8s.md
Last active November 10, 2023 21:16
Temporal on microk8s

Temporal on microk8s

Configure environment varaibles on microk8s host

Update /etc/environment on microk8s host with proxy environment variables with:

HTTPS_PROXY=http://squid.internal:3128
HTTP_PROXY=http://squid.internal:3128
NO_PROXY=10.0.0.0/8,192.168.0.0/16,127.0.0.1,172.16.0.0/16,temporal
https_proxy=http://squid.internal:3128
http_proxy=http://squid.internal:3128
diff --git a/patches/0001-Add-sort-argument-to-v2-volume-list.patch b/patches/0001-Add-sort-argument-to-v2-volume-list.patch
new file mode 100644
index 0000000..4cc3f8d
--- /dev/null
+++ b/patches/0001-Add-sort-argument-to-v2-volume-list.patch
@@ -1 +1,37 @@
+From a13edaa73e006b9228a04b7d5a707cb98fc28868 Mon Sep 17 00:00:00 2001
+From: Your Name <your-name@canonical.com>
+Date: Fri, 13 May 2022 18:47:10 +0000
+Subject: [PATCH] Add --sort argument to v2 volume list
diff --git a/patches/0001-Add-sort-argument-to-v2-volume-list.patch b/patches/0001-Add-sort-argument-to-v2-volume-list.patch
new file mode 100644
index 0000000..4cc3f8d
--- /dev/null
+++ b/patches/0001-Add-sort-argument-to-v2-volume-list.patch
@@ -0,0 +1,129 @@
+From a13edaa73e006b9228a04b7d5a707cb98fc28868 Mon Sep 17 00:00:00 2001
+From: Your Name <your-name@canonical.com>
+Date: Fri, 13 May 2022 18:47:10 +0000
+Subject: [PATCH] Add --sort argument to v2 volume list

Better debug capabilities for “FROM scratch” images?

UPDATE: This is a known feature request.

The coredns/coredns image is a “FROM scratch” image, which means it’s a very minimal image with the /coredns ENTRYPOINT, with no shell to access for debugging and no utilities available.

$ juju ssh --container charm coredns/0
# exit
$ juju ssh --container coredns coredns/0
@coreycb
coreycb / gist:6b311669173034ff9522144535a1d60b
Created April 27, 2017 14:38
Neutron L3HA + DVR with OpenStack Charms
References
----------
http://blog.gnuoy.eu/2015/07/neutron-router-high-availability-as.html
https://specs.openstack.org/openstack/neutron-specs/specs/juno/neutron-ovs-dvr.html
Bundle config
-------------
neutron-api:
branch: https://github.com/openstack/charm-neutron-api;stable/17.02