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
services: | |
backend: | |
image: jonmatum/draftmk-backend:latest | |
environment: | |
APP_ENV: local | |
MODULE_NAME: app.main | |
VARIABLE_NAME: app | |
GITHUB_TOKEN: ${GITHUB_TOKEN} | |
GITHUB_REPO: ${GITHUB_REPO} | |
GITHUB_BRANCH: ${GITHUB_BRANCH} |
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
# Generated by Powerlevel10k configuration wizard on 2025-04-03 at 12:31 CST. | |
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 49619. | |
# Wizard options: nerdfont-v3 + powerline, small icons, rainbow, unicode, 12h time, | |
# angled separators, sharp heads, flat tails, 1 line, sparse, many icons, concise, | |
# transient_prompt, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with powerline prompt style with colorful background. | |
# Type `p10k configure` to generate your own config based on it. | |
# |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH |
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
# Generated by Powerlevel10k configuration wizard on 2025-04-28 at 18:50 UTC. | |
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 37983. | |
# Wizard options: powerline, ascii, lean, 1 line, compact, concise, transient_prompt, | |
# instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# | |
# Tip: Looking for a nice color? Here's a one-liner to print colormap. |
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
import { useState } from "react"; | |
export default function App() { | |
const [darkMode, setDarkMode] = useState(false); | |
return ( | |
<main | |
className={`min-h-screen w-full font-mono flex flex-col items-center justify-center px-6 py-16 transition-colors duration-500 ${darkMode | |
? "bg-[#0A0A0A] text-[#00FFFF]" | |
: "bg-black text-green-400" |
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 python3 | |
""" | |
Encrypting passwords for use with Python | |
https://www.mssqltips.com/sqlservertip/5173/encrypting-passwords-for-use-with-python-and-sql-server/ | |
- Problem | |
Due to requirements in my environment I need to use SQL Server authentication | |
with my Python scripts instead of Windows trusted authentication. We don’t | |
want a clear text password stored in the Python scripts and we’re not sure how |