This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| DOMAIN="dev.7xen.com" | |
| EXPORT_ROOT="/mnt/data/exports" | |
| CADDYFILE="/etc/caddy/Caddyfile" | |
| echo ">>> Creating export folder and setting permissions..." | |
| sudo mkdir -p "${EXPORT_ROOT}" | |
| if id caddy &>/dev/null; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # ========= Args ========= | |
| if [[ $# -lt 3 ]]; then | |
| echo "Usage: $0 <domain> <email> <db_password> [windmill_version]" | |
| echo "Example: $0 windmill.example.com you@example.com StrongPass123 1.298.0" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # ========= Args ========= | |
| if [[ $# -lt 3 ]]; then | |
| echo "Usage: $0 <domain> <email> <db_password> [n8n_version]" | |
| echo "Example: $0 n8n.example.com you@example.com StrongPass123 1.117.2" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| (function($) { | |
| var formId = document.querySelector('form.frm-fluent-form').getAttribute('data-form_id'); // Dynamically get form_id | |
| var formFieldsFilled = {}; // Track fields that have been filled | |
| var allFields = []; // Track all form fields | |
| var isFormSubmitted = false; // Flag to check if the form is submitted | |
| var sensitiveFieldNames = ['email', 'phone', 'mobile', 'contact', 'telephone']; | |
| // List of system or hidden fields that should be ignored | |
| var ignoredFields = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| CONCAT(source,' / ',medium) AS source_medium, | |
| COUNT(DISTINCT a.session_id) AS sessions, | |
| COUNT(DISTINCT a.user_pseudo_id) AS users, | |
| COUNT(DISTINCT | |
| CASE | |
| WHEN b.session_engaged = '1' THEN CONCAT(a.user_pseudo_id,b.session_id) | |
| END | |
| ) AS engaged_sessions, | |
| COUNT(DISTINCT |