Skip to content

Instantly share code, notes, and snippets.

View Jacopo-DM's full-sized avatar

Jacopo Jacopo-DM

View GitHub Profile
@Jacopo-DM
Jacopo-DM / run_script_in_terminal.applescript
Last active July 13, 2024 15:35
Apple Scripts #system
on run {input, parameters}
--> command to run
set myScript to "<SCRIPT NAME>"
--> open window
quit application "Terminal"
tell application "Terminal" to activate
tell application "Terminal"
--> check if window is busy (or wait till isn't)
@Jacopo-DM
Jacopo-DM / boilerplate---colors.py
Last active October 22, 2025 01:55
Python Templates #python #templates
from dataclasses import dataclass
@dataclass
class Clr:
"""Color palette for printing in the terminal."""
GR: str = "\033[1;90m"
R: str = "\033[1;91m"
G: str = "\033[1;92m"