Skip to content

Instantly share code, notes, and snippets.

View midacts's full-sized avatar
🗝️
It's a secret to everybody

John McCarthy midacts

🗝️
It's a secret to everybody
View GitHub Profile
@pantsel
pantsel / docker-compose.yml
Last active October 10, 2024 12:50
example docker-compose.yml for kong, postgres and konga
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
@earthgecko
earthgecko / bash.generate.random.alphanumeric.string.sh
Last active December 25, 2024 19:39
shell/bash generate random alphanumeric string
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1