- Use multiple servers: Always configure at least 3–4 servers from different providers to avoid single points of failure.
- Mix vendors & geographies: Don’t rely solely on one provider (e.g., all Google or all NIST). Spread across commercial, academic, and public pools.
- Prefer Anycast where possible: For global reach, use pool.ntp.org, time.google.com, ntp.se, etc. These automatically route you to the nearest healthy server.
- Favor stratum 1/2 servers: Stratum 1 servers are closest to the reference clock; stratum 2 are usually fine and often less overloaded.
- Regional selection: Pick servers close to your geography (e.g., europe.pool.ntp.org in Europe, north-america.pool.ntp.org in North America).
- Fallbacks: Include a mix of pool.ntp.org and vendor-specific (Google, Cloudflare, Microsoft) for redundancy.
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
| #!/usr/bin/env bash | |
| # Disable DMG integrity verification process | |
| defaults write com.apple.frameworks.diskimages skip-verify true | |
| # Speed up Time machine backups | |
| sudo sysctl debug.lowpri_throttle_enabled=0 |
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
| Open OVA/OVF file with VirtualBox | |
| Right click the virtual machine and select 'Clone' | |
| Import the generated .vbox file with Parallels Desktop |
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
| def main(argv): | |
| inputfile = '' | |
| outputfile = '' | |
| try: | |
| opts, args = getopt.getopt(argv,"hi:o:", ["ifile=", "ofile="]) | |
| except getopt.GetoptError: | |
| print('test.py -i <inputfile> -o <outputfile>') | |
| sys.exit(2) | |
| for opt, arg in opts: | |
| if opt == '-h': |
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
| def getmount(path): | |
| path = os.path.abspath(path) | |
| while path != os.path.sep: | |
| if os.path.ismount(path): | |
| return path | |
| path = os.path.abspath(os.path.join(path, os.pardir)) | |
| return path |
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
| system_os = sys.platform | |
| if sys.platform.startswith('win32'): | |
| # Win32-specific code here... | |
| print("DEBUG: Windows Version", system_os) | |
| elif sys.platform.startswith('linux'): | |
| # Linux-specific code here... | |
| print("DEBUG: Linux Version", system_os) | |
| elif sys.platform.startswith("darwin"): | |
| # OSX-specific code here... |