This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Software Bill of Materials (SBOM) Generator | |
This script generates a Software Bill of Materials (SBOM) in Markdown format by parsing | |
`pyproject.toml` and `poetry.lock` files of a Python project. It fetches metadata from PyPI | |
for each dependency and compiles a comprehensive SBOM detailing components, versions, | |
licenses, and more. | |
## Prerequisites |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
This script was written by Bing Chat. | |
This script generates a random string with the same length as the given GUID. | |
INSTRUCTIONS: | |
1. Replace the input variable with your own GUID. | |
2. Run the script. | |
DISCLAIMER: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ------------------------------------------------------------------- | |
-- AUTHOR: Robby Boney | |
-- LICENSE: MIT | |
-- DESCRIPTION: | |
-- This is a simple cheat sheet for working with SQL Server JSON | |
-- data. It may not be complete but covers many of the aspects | |
-- I find useful to have examples for. For more details on SQL | |
-- Server JSON, see: | |
-- https://docs.microsoft.com/en-us/sql/relational-databases/json/json-data-sql-server?view=sql-server-ver15 | |
-- ------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess as sp | |
import sys | |
import platform | |
from typing import Optional | |
class Proc: | |
""" | |
DESCRIPTION: | |
CREDIT: https://gist.github.com/HarmonicHemispheres/2ab991476e37ae20796a70de3d43c90a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Copyright <<year>> <<insert publisher name>> | |
DESCRIPTION: | |
this is a sample Typer CLI layout | |
USAGE EXAMPLE: | |
> python template_simple_cli.py example_cmd | |
""" |