This file contains 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
# https://docs.warden.dev/installing.html | |
# MacOS: brew install wardenenv/warden/warden | |
sudo mkdir -p /opt/warden | |
sudo chown $(whoami) /opt/warden | |
git clone -b main https://github.com/wardenenv/warden.git /opt/warden | |
echo 'export PATH="/opt/warden/bin:$PATH"' >>~/.$(basename ${SHELL})rc | |
PATH="/opt/warden/bin:$PATH" | |
warden svc up |
This file contains 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
TIMEZONE=America/Chicago | |
PUID=1001 | |
PGID=1001 | |
CONFIG_PATH=/configs | |
MEDIA_PATH=/mnt/media | |
ROMS_PATH=${MEDIA_PATH}/roms |
This file contains 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
TIMEZONE=America/Chicago | |
PUID=1001 | |
PGID=1001 | |
CONFIG_PATH=/configs | |
MEDIA_PATH=/mnt/media | |
MOVIES_PATH=${MEDIA_PATH}/movies | |
TV_PATH=${MEDIA_PATH}/tv | |
LEAVING_PATH=${MEDIA_PATH}/leaving-soon/ | |
DOWNLOADS_PATH=${MEDIA_PATH}/downloads |
This file contains 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
# syntax=docker/dockerfile:1 | |
# Keep this syntax directive! It's used to enable Docker BuildKit | |
# Based on https://github.com/python-poetry/poetry/discussions/1879?sort=top#discussioncomment-216865 | |
# but I try to keep it updated (see history) | |
################################ | |
# PYTHON-BASE | |
# Sets up all our shared environment variables | |
################################ |
This file contains 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
from aws_cdk import ( | |
CfnOutput, | |
RemovalPolicy, | |
Stack, | |
aws_iam as iam, | |
aws_pipes as pipes, | |
aws_logs as logs, | |
aws_sqs as sqs, | |
aws_stepfunctions as sfn, | |
) |
from soap_client import SoapClient
client = SoapClient("<host>", "<username>", "<password>")
client.doOperation()
options = {}
client.doThingWithParams(options)
This file contains 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
import json | |
import logging | |
import platform | |
import sys | |
import time | |
import traceback | |
class JSONFormatter: | |
"""A formatter for the standard logging module that converts a LogRecord into JSON |
This file contains 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
text = input("Enter text: ") | |
# The list of fonts. Add your font here. | |
print("┌───────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┐") | |
print("│ Font │ Characters │▒▒") | |
print("├───────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤▒▒") | |
print("│1 Bold │ 𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗦𝗧𝗨𝗩𝗪𝗫𝗬𝗭𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵") | |
print("│2 Italic │ 𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫") | |
print("│3 Bold Italic │ 𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵") |
NewerOlder