Skip to content

Instantly share code, notes, and snippets.

Process Runtime Vulnerability Management with Spektion
Discover Automatically detects all software, including vendor-provided and shadow IT assets, in real time at first run.
Classify Maps each asset to vendor, product, version, category, usage, privileges, and data touchpoints for complete context.
Assess risk Evaluates exploitability in your live environment using a runtime risk score, enriched with CVE data when available.
Prioritize Ranks risks based on behavior, business contex
@cupcakesprinkle3
cupcakesprinkle3 / gist:cf0080f68501c88b995bd896555c0856
Created April 7, 2025 13:36
Bio evolution—companion to creativity and imagination blog
Version 1 (100% Human Generated)
My name is Kiddo, and I was born and raised here in San Francisco. A few things about me are that I love robotics and playing soccer. Last summer, I thought up an idea to start painting. I went over to a family friend for lessons on abstract art, where I got many tips and tricks on painting. A fun fact about me is that I have always been interested in art and anything that I can work on physically. My newfound love for painting sparked an idea to create a business selling my art. A benefit of my paintings is that they are competitively priced and thoroughly thought through. Any piece of art that the community buys goes to my current and future education. The process of planning, painting, and publishing brings me to the present, where you can own my paintings.
Version 2 (Human-curated after considering HyperWrite AI's improvements over V1)
Born and raised in San Francisco, I'm Kiddo – a kid who lives for robotics and soccer, but lately I've discovered something unexpected:
@cupcakesprinkle3
cupcakesprinkle3 / fo-remote-model-zoo.py
Last active November 18, 2024 15:07
Python for remote zoo models
import fiftyone as fo
import fiftyone.zoo as foz
foz.download_zoo_model(
"https://github.com/voxel51/openai-clip",
model_name="voxel51/clip-vit-base32-torch",
)
dataset = foz.load_zoo_dataset("quickstart")
model = foz.load_zoo_model("voxel51/clip-vit-base32-torch")
@cupcakesprinkle3
cupcakesprinkle3 / hex-value-regex-tutorial.md
Last active July 25, 2021 19:40
This is a regex tutorial

How to Match a Hex Value Using Regular Expressions (Regex)

In this tutorial, we will deconstruct a regex for matching a hex value as an example of how to think about and use regular expressions more broadly.

Summary

Here's the regex for matching a hex value: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/ In this case, the regex searches for a hex (or hexadecimal) code, which, for example, is a very useful code to know when creating web assets to match an organization's exact color specifications.

For example, when I worked at NGINX, we specified the beloved green in the logo as PMS 355c for printing purposes (tshirts, etc.). To translate this color to web properties, you need to convert the pantone/PMS color over to a hex color equivalent, which in the case of 355c is the #009645 hex color code. Here's a screenshot of the hex color code #009645 with different surrounding variations from Encycolorpedia: