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 python3 | |
| """ | |
| SCTP Client/Server | |
| Author: Fahad Yousuf | |
| This script implements a simple SCTP client/server using Python's socket module. | |
| The server listens on port 62324 and the client connects to the server on the same port. | |
| """ |
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
| #!/bin/sh | |
| dnsserver=“your-dns-server.ns.cloudflare.com" | |
| host="your-record-name" | |
| domain_name=“yourdomain.com” | |
| cf_user_email="[email protected]" | |
| cf_api_key=“—get-your-own-api-key--“ | |
| cf_zone_id="—get-your-own-zone-id—“” | |
| cf_record_id=“check-your-own-record-id” | |
| dnsrecord=$host.$domain_name |
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
| font-family = "JetBrainsMono Nerd Font Mono" | |
| font-style = Regular | |
| font-size = 13 | |
| font-thicken = true | |
| adjust-underline-position = 40% | |
| adjust-underline-thickness = -60% | |
| cursor-style = block | |
| cursor-style-blink = false |
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
| # Set the paths for your files | |
| $replacementListFile = "C:\temp\replace.txt" | |
| $targetFile = "C:\temp\target.xml" | |
| # Read the contents of the replacement list file | |
| $replacementList = Get-Content -Path $replacementListFile | |
| # Read the content of the target file into a single string | |
| $content = Get-Content -Path $targetFile -Raw |
OlderNewer