I needed to inspect an HTTPS site's current certs and wanted to do it from the command line. Here are a couple of commands that I used that worked quite well.
nmap -p 443 --script ssl-cert [hostname]
| from huggingface_hub import get_safetensors_metadata | |
| model_id = "deepseek-ai/DeepSeek-R1" | |
| dtype_bytes = {"F32": 4, "F16": 2, "F8": 1} | |
| metadata = get_safetensors_metadata(model_id) | |
| memory = ( | |
| sum(count * dtype_bytes[key.split("_")[0]] for key, count in metadata.parameter_count.items()) | |
| / (1024**3) | |
| * 1.18 |