Skip to content

Instantly share code, notes, and snippets.

@jon-nfc
jon-nfc / gist:8b45ad5afb857e18b45d734081ee7dc3
Last active August 12, 2025 06:17
badge endpoint test
{
"schemaVersion": 1,
"label": "RabbitMQ",
"message": "3.12 | 3.13 | 4.0 | 4.1",
"logoSvg": "<svg width=\"800px\" height=\"800px\" viewBox=\"-7.5 0 271 271\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMidYMid\"><path d=\"M245.44 108.308h-85.09a7.738 7.738 0 0 1-7.735-7.734v-88.68C152.615 5.327 147.29 0 140.726 0h-30.375c-6.568 0-11.89 5.327-11.89 11.894v88.143c0 4.573-3.697 8.29-8.27 8.31l-27.885.133c-4.612.025-8.359-3.717-8.35-8.325l.173-88.241C54.144 5.337 48.817 0 42.24 0H11.89C5.321 0 0 5.327 0 11.894V260.21c0 5.834 4.726 10.56 10.555 10.56H245.44c5.834 0 10.56-4.726 10.56-10.56V118.868c0-5.834-4.726-10.56-10.56-10.56zm-39.902 93.233c0 7.645-6.198 13.844-13.843 13.844H167.69c-7.646 0-13.844-6.199-13.844-13.844v-24.005c0-7.646 6.198-13.844 13.844-13.844h24.005c7.645 0 13.843 6.198 13.843 13.844v24.005z\" fill=\"#F60\"/></svg>",
"color": "#F60",
"style": "plastic"
}
@jon-nfc
jon-nfc / development-test-count.json
Created August 7, 2024 03:59
Centurion ERP Badges
{}
@jon-nfc
jon-nfc / ldap3_schema_json_creation.py
Created July 26, 2021 10:38
Python ldap3 schema json creator
import unittest, functools, ldap3, ssl, os
from unittest import mock
from ldap3 import Server, Connection, MOCK_SYNC, OFFLINE_SLAPD_2_4, OFFLINE_AD_2012_R2, ALL_ATTRIBUTES
# May require some debugging to get working.
class test_ActiveDirectory(unittest.TestCase):