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 subprocess | |
| import json | |
| def run_axfr_query(name_server, domain): | |
| # Run the AXFR query using dig | |
| command = f"dig @{name_server} {domain} AXFR +noall +answer" | |
| output = subprocess.check_output(command, shell=True, universal_newlines=True) | |
| # Parse the output and create the JSON dictionary | |
| records = {} |
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
| # $HOME/.config/systemd/user/battery-monitor.service | |
| # Then: systemctl daemon-reload && systemctl enable --now --user battery-monitor.service | |
| [Unit] | |
| PartOf=graphical-session.target | |
| After=graphical-session.target | |
| Requisite=graphical-session.target | |
| [Service] | |
| ExecStart=%h/.local/bin/battery-monitor | |
| Restart=on-failure |
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
| recipe_version: "1" | |
| name: DeepSeek-V4-Flash | |
| description: DeepSeek V4 Flash FP8 on dual DGX Spark TP=2 with PR 41834 SM12x support | |
| model: deepseek-ai/DeepSeek-V4-Flash | |
| container: vllm-node-dsv4 | |
| cluster_only: true | |
| build_args: | |
| - --apply-vllm-pr | |
| - "41834" |
OlderNewer