Skip to content

Instantly share code, notes, and snippets.

@allisonpaigemcentire
allisonpaigemcentire / make_accessible.py
Last active October 10, 2025 07:04
SwiftUI Accessibility Refactor Script
# make_accessible.py
import os
import sys
import re
from openai import OpenAI
INJECTION_PATTERNS = [
r"ignore.*instructions", r"disregard.*above", r"assistant.*role", r"user.*role",
r"only respond with", r"do not follow", r"system:.*", r"@role", r"::"
]
@lopspower
lopspower / README.md
Last active October 13, 2025 08:43
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store