https://github.com/stensel8/ps-tovenaars
Lekker toveren met Powershell.
https://github.com/stensel8/ps-tovenaars
education educational powershell powershell7 pwsh pwsh7
Last synced: 2 months ago
JSON representation
Lekker toveren met Powershell.
- Host: GitHub
- URL: https://github.com/stensel8/ps-tovenaars
- Owner: Stensel8
- License: mit
- Created: 2025-05-06T14:02:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T18:23:41.000Z (3 months ago)
- Last Synced: 2025-07-03T19:31:37.771Z (3 months ago)
- Topics: education, educational, powershell, powershell7, pwsh, pwsh7
- Language: PowerShell
- Homepage:
- Size: 110 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PS-Tovenaars
Lekker toveren met PowerShell.
---
## Inhoud
* [Voorwaarden](#voorwaarden)
* [GPG Commit Signing Setup](#gpg-commit-signing-setup)
* [Branching Regels](#branching-regels)---
## Configure VMs
Run the configure-vm.ps1 to turn off and disable unnecessary services and features for Windows VMs## Voorwaarden
Voordat je kunt committen, heb je nodig:
1. Windows 11 Pro
2. [Gpg4win (met Kleopatra)](https://www.gpg4win.org/)
3. Git (via GitHub Desktop of VS Code)Zorg dat je GitHub-account klaarstaat.
---
## GPG Commit Signing Setup
Volg deze stappen éénmalig om je commits te signen:
1. **Installeer Gpg4win**
* Download en installeer van [https://www.gpg4win.org/](https://www.gpg4win.org/).
* Selecteer tijdens installatie **Kleopatra**.2. **Maak een sleutel aan**
* Open **Kleopatra**.
* Kies **Certificate → New Certificate** → **Create a personal OpenPGP key pair**.
* Vul je naam en exact je GitHub-e‑mail in.
* Selecteer RSA 4096, voltooi de wizard.
* Noteer je **Key ID** (bijv. `0xABCD1234EF56`).3. **Exporteer en registreer je publieke sleutel**
* In Kleopatra: rechtsklik op je sleutel → **Export Certificates…** → sla op als `.asc`.
* Open het `.asc` bestand, kopieer alles.
* Ga naar GitHub → **Settings → SSH and GPG keys → New GPG key**.
* Plak je sleutel en sla op.
* dubbel klik op de sleutel
* klik op change passphrase en vul een wachtwoord in4. **Configureer Git**
Open PowerShell en voer uit (vul je eigen Key ID en paden in):```bash
git config --global user.signingkey ABCD1234EF56
git config --global commit.gpgsign true
git config --global gpg.program "C:/Program Files (x86)/GnuPG/bin/gpg.exe"
```
Op GitHub/GitHub Desktop zie je nu **Verified** bij je commit.
---
## Branching Regels
* **Eigen branch:** push alleen naar je eigen branch.
* **Naar main:** als een feature of hoofdstuk klaar is, via Pull Request (PR).
* **PR review:** iemand anders reviewt en keurt goed.
* **Push direct naar main:** niet toegestaan.Succes met toveren! 🎩✨