/explore
|
You are here |
blog.alexwendland.com | ||
| | | | |
memo.mx
Usage: pip install pynetbox ansible ansible all -i hosts/env -m setup --tree /tmp/facts/env #!/opt/netbox/bin/python import argparse import json import os import sys import pynetbox import yaml import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) if sys.version_info < (3, 6): print("Python 3.6 is required") sys.exit(2) def to_json(in_dict): return json.dumps(in_dict, sort_keys=True, indent=4) def load_configuration(path="/etc/ansible/netbox.yml"): """ Load netbox configurati... |
|
| | | | | ||
| | | | |
calvinlc.com
[AI summary] The author writes a humorous post about a bug in their computer vision script for compressing images by removing low-frequency noise, which ironically generates a funny-looking historical image of Joseph Fourier's cat. |
|
| | | | | ||
| | | | |
teppen.io
[AI summary] This article explains how to calculate the S3 ETag for a local file using Python 3.6, including code examples and methods to determine the appropriate chunk size. |
|
| | | | | ||
| | | | |
bengarvey.com
[AI summary] A practical guide to a simplified, safe workflow for managing version control with Git. |
|
| | | |||