Understand Vim: The Editor as a Language
The problem with learning Vim is not that it's hard to do—it's that you have to keep doing it. Daniel Miessler
The problem with learning Vim is not that it's hard to do—it's that you have to keep doing it. Daniel Miessler
PowerShell can prevent accidental or untrusted script execution by checking whether a script has a valid digital signature. Signing a script sounds complicated, but the basic workflow is small: get a code-signing certificate, sign the .ps1 file, then verify the signature. This is useful when you run scripts with
Audit local SMB shares with PowerShell by checking both Share and NTFS permissions against a list of high-risk security principals. The script logs compliance results as structured events in the Windows Event Log, making it easy to integrate with monitoring and SIEM solutions.
Sometimes a server needs to be restarted outside business hours, but you do not want to wait until the planned reboot window. A simple PowerShell script can create or update a one-time Scheduled Task for this.
Many scripts require a simple confirmation before performing an action. Instead of using `Read-Host` and validating user input manually, PowerShell already provides a native solution through `PromptForChoice()`.
Virtualization-Based Security (VBS) is a Microsoft security technology that leverages hardware virtualization to isolate sensitive operating system components from the rest of the system.
Group Managed Service Accounts (gMSAs) simplify service account management in Active Directory by automatically handling password changes and reducing administrative overhead.
Generate a public/private key pair and copy the public key to the remote host. # generate public/private keys ssh-keygen -b 2048 -t rsa -C "your_username" -f filename # copy key to remote host cat ~/.ssh/filename.pub | ssh username@remote_host "mkdir -p ~/.ssh &
Vim is available on almost every Linux distribution and remains one of the most powerful terminal-based text editors. While the default configuration works well, a few small adjustments can significantly improve usability.
Whether I'm developing locally, managing remote Linux servers over SSH, or running long-running processes, tmux allows me to keep everything organized and running—even if my SSH connection drops.
How I built a solid oak 10-inch mini rack that blends into my living space while running a full Proxmox homelab.