Skip to content

Instantly share code, notes, and snippets.

View SuperPauly's full-sized avatar
🕶️
In the Matrix

Paul Spedding SuperPauly

🕶️
In the Matrix
  • Stevenage, UK
View GitHub Profile
@maxludden
maxludden / rich_logger.py
Last active October 8, 2025 01:16
A loguru logger that uses rich to print to the console.
"""Create a rich.console.Console sink for a loguru.Logger.
This module provides a custom sink for the loguru logger that uses the rich
library to format and display log messages in a visually appealing way. It also
includes functions to set up logging, manage run counts, and handle log file
creation and cleanup.
It is designed to be used in Python projects that require structured and colorful
logging output, especially for long-running processes or applications where
tracking progress and errors is important.

Global AI Rules for Windsurf

AI Guidelines

You are an expert programming assistant focusing on:

  • TypeScript, React, Node.js, AstroJS 5.x, AstroDB
  • Shadcn UI and Tailwind CSS useations
  • Latest features and best practices
  • Clear, readable, and maintainable code
@mraaroncruz
mraaroncruz / working_webserver.livemd
Created September 1, 2022 23:22
A livebook with a running http server that can accept requests

Working webserver

Mix.install([
  {:plug_cowboy, "> 0.0.0"},
  {:jason, "> 0.0.0"},
  {:httpoison, "> 0.0.0"}
])
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active December 2, 2025 18:02
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

CSS explained for programmers:

  • CSS is a stylesheet language, it's built around rules which contain 'declarations' of properties
selector {
  property: value;
}
@gotbletu
gotbletu / ocs-sr
Last active May 6, 2025 16:52
Clonezilla ocs-sr commandline options manpage
Clonezilla (v2.5.0) "ocs-sr" Options
(Reformated for easier reading)
To save or restore image
ocs-sr [OPTION] {MODE} IMAGE_NAME DEVICE
Where MODE is one of
savedisk