Skip to main content

4 posts tagged with "tutorial"

View All Tags

I stumbled across Git Notes during a late-night debugging session last week, and honestly, I'm slightly annoyed that I hadn't been using this feature for years. If you've ever wanted to attach persistent metadata to commits without changing commit hashes (and who hasn't?), this hidden gem deserves your attention. And while we're exploring Git's underappreciated features, let's also look at Git trailers - another powerful tool for managing metadata in your repositories.

Version control with Git offers developers multiple ways to integrate changes across branches, with merge and rebase standing as the two primary approaches. While both accomplish the same fundamental goal—incorporating changes from one branch into another—they do so through fundamentally different mechanisms, resulting in distinct commit histories and team workflows. Understanding when to use each strategy can significantly impact your project's history clarity, team collaboration, and conflict resolution process. In this deep dive, we'll explore how each option works under the hood, examine real-world usage patterns, and provide clear guidelines for choosing the right approach for your specific situation.

Ever find yourself juggling endless passwords, worried about whether they’re secure enough? You’re not alone. In today’s digital landscape, protecting sensitive accounts and data goes beyond just a clever passphrase. Enter multi-factor authentication (MFA)—an effective layer of defense that ensures a random intruder can’t waltz in with stolen credentials.

Time-Based One-Time Password (TOTP) systems are a powerful way to implement MFA, producing short-lived codes that are invalid mere seconds later. If you’ve ever used an authenticator app on your phone, you’ve already seen TOTP at work. However, building your own TOTP generator can offer greater flexibility for custom workflows, automation, and even just tinkering to learn something new.

In this tutorial, we’ll walk through a PowerShell script that securely stores your TOTP secret keys in the Windows Registry, then generates fresh codes whenever you need them. By the end, you’ll have a handy, easily integrable tool that keeps your secrets encrypted and your one-time passwords safe and ready on demand. Let’s jump in!