List open transactions to connected database
SELECT * FROM MON$TRANSACTIONS WHERE MON$ATTACHMENT_ID <> CURRENT_CONNECTION;
<# | |
.SYNOPSIS | |
Add or remove a DNS TXT record to Skymail | |
.DESCRIPTION | |
Note that this script is intended to be run via the install script plugin from win-acme via the batch script wrapper. | |
As such, we use positional parameters to avoid issues with using a dash in the cmd line. | |
.PARAMETER RecordName | |
The fully qualified name of the TXT record. |
#!/usr/bin/env python3 | |
import json | |
import sys | |
import cs | |
def get_usage_percent(storage: dict) -> float: | |
allocated_space = float(storage['disksizeallocatedgb'].split()[0]) | |
unallocated_space = float(storage['disksizeunallocatedgb'].split()[0]) | |
usage = (allocated_space / (allocated_space + unallocated_space)) * 100 |
#!/usr/bin/env sh | |
# | |
#SKYMAIL_Token="sdfsdfsdfljlbjkljlkjsdfoiwje" | |
# | |
#SKYMAIL_Email="xxxx" | |
#SKYMAIL_Password="xxxx" | |
#SKYMAIL_Secret="xxxx" |
/** | |
* Sums cell values in a range if they have the given background color | |
* | |
* @param {Array<number>} range Values of the desired range | |
* @param {String} colorRef Label to color reference to match values on range | |
* | |
* @return {number} Sum of all cell values matching the condition | |
* @customfunction | |
*/ | |
function sumByColor(range, colorRef) { |
#!/usr/bin/env python3 | |
import sys | |
records = [] | |
if len(sys.argv) < 2: | |
print('Usage: tinytobind.py ZONEFILE') | |
sys.exit(0) | |
with open(sys.argv[1], 'r') as zonefile: |
#!/bin/bash | |
set -e | |
if [ "$EUID" -ne 0 ] | |
then echo "Need run as root" | |
exit 1 | |
fi | |
# Install libfbclient |
List open transactions to connected database
SELECT * FROM MON$TRANSACTIONS WHERE MON$ATTACHMENT_ID <> CURRENT_CONNECTION;
version: "3" | |
services: | |
wordpress: | |
depends_on: | |
- db | |
image: wordpress:latest | |
volumes: | |
- wordpress_files:/var/www/html | |
ports: | |
- "8080:80" |