Download and install talosctl
binary
wget https://github.com/talos-systems/talos/releases/download/v0.8.1/talosctl-linux-amd64
#cloud-config | |
# Enable automatic package updates and upgrades during cloud-init execution | |
package_update: true | |
package_upgrade: true | |
packages: | |
# Security and Hardening | |
- ufw | |
- fail2ban |
/** | |
* # Bluesky Bulk Post Deletion Script | |
* | |
* This script logs into a Bluesky account and deletes all posts (feed records) | |
* that contain a specified domain in their facets or embeds. It employs a | |
* two-pronged approach to handle rate limits: | |
* | |
* 1. **Proactive Rate-Limit Avoidance** | |
* Uses a known hourly limit (5000 delete points/hour) to pace deletions and avoid | |
* hitting server limits directly. Once the threshold is approached, it waits until |
# https://4bes.nl/2021/09/19/update-all-powershell-modules-on-a-system/ | |
<# | |
TIM C: Changes: | |
- Added scope parameter so scope could be controlled | |
- altered code to always check for old versions, as this script may not have done the install, but it can still remove old versions | |
- changed contains and othercomparison syntax to be case insensitive | |
- altered logic around when the module is not found in the gallery to make the verbose output clearer | |
- added version parses around the version compares so string comparisons do not screw up the comparison | |
- added admin check when using AllUsers |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |
The contents of keytab file can be verified using either Unix/linux ktutil or klist commands or java ktab utility. | |
(1) | |
-bash-3.2$ ktutil | |
ktutil: rkt krba01.keytab | |
ktutil: list | |
slot KVNO Principal | |
---- ---- ------------------------------------------------------------------------------------------------ |
[user] | |
name = Ricardo Mendes | |
email = [email protected] | |
username = rmdes | |
[init] | |
defaultBranch = main | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
const new_items = []; | |
const key_field = "guid"; | |
console.log("key_field from json.key: " + key_field); | |
const now = $now | |
// Get static data stored with the workflow | |
data = $getWorkflowStaticData("node"); | |
// delete the old cache, that didn't have time | |
data.ids = null; |