|
You are here |
0x00.cl | ||
| | | | |
blog.valentin.sh
|
|
| | | | | [AI summary] The author analyzes the performance of a command-line todo program, identifying that the majority of the execution time is due to Python interpreter startup and standard library imports, rather than their own code. | |
| | | | |
www.nayuki.io
|
|
| | | | | [AI summary] The author announces the permanent end of support for Python 2 in their personal code and published libraries, migrating exclusively to Python 3. | |
| | | | |
www.trickster.dev
|
|
| | | | | Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting | |
| | | | |
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... | ||