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
| /* page break */ | |
| .new-page { | |
| page-break-before: always; | |
| } | |
| @media print, (overflow-block: paged) or (overflow-block: optional-paged) { | |
| /* Move top-level headings to a new page on the right-hand side: */ | |
| h1 { |
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
| SEE: https://github.com/GJCav/imstitch | |
| THIS FILE GIST IS DEPRECATED!!! |
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 socket as S | |
| import requests | |
| ZONE_ID = "zone_id_here" | |
| TOKEN = "token_here" | |
| DNS_NAME = "name.domain.ltd" | |
| ################################################################## | |
| # | |
| # A bunch of helper functions |
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
| CONFIG_FILE = "dnsconfig.json" | |
| # BACKUP_FILE = "dnsbackup.json" | |
| """ config file template | |
| [ | |
| { | |
| "name": "default", | |
| "v4": null, | |
| "v6": null | |
| }, | |
| { |