Skip to content

Instantly share code, notes, and snippets.

# A Docker Compose application with moqui, postgres, and virtual hosting through
# nginx-proxy supporting multiple moqui instances on different hosts.
# Run with something like this for detached mode:
# $ docker-compose -f moqui-ng-pg-compose.yml -p moqui up -d
# Or to copy runtime directories for mounted volumes, set default settings, etc use something like this:
# $ ./compose-run.sh moqui-ng-pg-compose.yml
# This sets the project/app name to 'moqui' and the network will be 'moqui_default', to be used by external moqui containers
# Test locally by adding the virtual host to /etc/hosts or with something like:
@acetousk
acetousk / library.xml
Created November 16, 2022 07:23
Moqui Actions Concept Graphical Programming Language Block Library
<xml xmlns="https://developers.google.com/blockly/xml"><block type="factory_base" id="!3HK3u3O50:YC,nt5y7F" deletable="false" movable="false" x="10" y="10">
<mutation connections="BOTH"></mutation>
<field name="NAME">parameter</field>
<field name="INLINE">INT</field>
<field name="CONNECTIONS">BOTH</field>
<statement name="INPUTS">
<block type="input_dummy" id="J{q]Mw(6!e{p2).btlid">
<field name="ALIGN">LEFT</field>
<statement name="FIELDS">
<block type="field_static" id="@c7]Y3{pCw*Kt`Hx~)5@">
@acetousk
acetousk / Copied_vue_and_ftl_components_to_allow_overriding_default_behavior.patch
Last active February 18, 2024 22:42
Copied vue and ftl components to allow overriding default behavior
Subject: [PATCH] Copied vue and ftl components to allow overriding default behavior
---
Index: data/SimpleScreensSetupData.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/data/SimpleScreensSetupData.xml b/data/SimpleScreensSetupData.xml
--- a/data/SimpleScreensSetupData.xml (revision 787bf9cf17e52f20b4eb4e69a03d3212dae7c493)
+++ b/data/SimpleScreensSetupData.xml (date 1708058009445)
0.0.0.0 youtube.com
0.0.0.0 m.youtube.com
0.0.0.0 instagram.com
0.0.0.0 x.com
0.0.0.0 twitter.com
0.0.0.0 reddit.com
0.0.0.0 facebook.com
0.0.0.0 tiktok.com
0.0.0.0 snapchat.com
0.0.0.0 whatsapp.com
#!/bin/bash
# Check if the required arguments are provided
if [ "$#" -lt 3 ]; then
echo "Usage: $0 <current_db_uri> <db_to_delete> <user_to_delete>"
exit 1
fi
# Variables
CURRENT_DB_URI="$1"
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kuard
annotations: {}
#cert-manager.io/issuer: "letsencrypt-staging"
spec:
ingressClassName: nginx
tls:
- hosts:
[
{
"title": "tt0068646",
"movieName": "tt0068646",
"plotText": "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.",
"streamingProviders": [
"AMC+",
"Paramount+",
"Pluto TV",
"Prime Video"
[
{
"title": "tt0068646",
"movieName": "tt0068646",
"plotText": "The aging patriarch of an organized crime dynasty transfers control of his clandestine empire to his reluctant son.",
"streamingProviders": [
"AMC+",
"Paramount+",
"Pluto TV",
"Prime Video"
{
"title": "tt0032551",
"movieName": "The Grapes of Wrath (1940)",
"plotText": "An Oklahoma family, driven off their farm by the poverty and hopelessness of the Dust Bowl, joins the westward migration to California, suffering the misfortunes of the homeless in the Great Depression.",
"streamingProviders": []
},
{
"title": "tt0107048",
"movieName": "Groundhog Day (1993)",
"plotText": "A narcissistic, self-centered weatherman finds himself in a time loop on Groundhog Day.",
[
{
"title": "tt0111161",
"movieName": "The Shawshank Redemption (1994)",
"plotText": "A banker convicted of uxoricide forms a friendship over a quarter century with a hardened convict, while maintaining his innocence and trying to remain hopeful through simple compassion.",
"streamingProviders": []
},
{
"title": "tt0068646",
"movieName": "The Godfather (1972)",