diff --git a/pages.nl/common/chromium.md b/pages.nl/common/chromium.md new file mode 100644 index 000000000..0668f12aa --- /dev/null +++ b/pages.nl/common/chromium.md @@ -0,0 +1,36 @@ +# chromium + +> Open-source webbrowser voornamelijk ontwikkeld en onderhouden door Google. +> Meer informatie: . + +- Open een specifieke URL of bestand: + +`chromium {{https://example.com|pad/naar/bestand.html}}` + +- Open in de incognito-modus: + +`chromium --incognito {{example.com}}` + +- Open in een nieuw venster: + +`chromium --new-window {{example.com}}` + +- Open in de applicatiemodus (zonder toolbars, URL-balk, knoppen, etc.): + +`chromium --app={{https://example.com}}` + +- Gebruik een proxyserver: + +`chromium --proxy-server="{{socks5://hostname:66}}" {{example.com}}` + +- Open met een aangepaste profielmap: + +`chromium --user-data-dir={{pad/naar/map}}` + +- Open zonder CORS validatie (nuttig om een API te testen): + +`chromium --user-data-dir={{pad/naar/map}} --disable-web-security` + +- Open met een DevTools venster voor elk geopend tabblad: + +`chromium --auto-open-devtools-for-tabs` diff --git a/pages.nl/windows/choco-install.md b/pages.nl/windows/choco-install.md new file mode 100644 index 000000000..bf9abdf9f --- /dev/null +++ b/pages.nl/windows/choco-install.md @@ -0,0 +1,36 @@ +# choco install + +> Installeer een of meerdere pakketen met Chocolatey. +> Meer informatie: . + +- Installeer een of meerdere spatie-gescheiden pakketten: + +`choco install {{pakket1 pakket2 ...}}` + +- Installeer pakketten van een aangepast configuratiebestand: + +`choco install {{pad\naar\pakketten_bestand.config}}` + +- Installeer een specifiek `nuspec` of `nupkg` bestand: + +`choco install {{pad\naar\bestand}}` + +- Installeer een specifieke versie van een pakket: + +`choco install {{pakket}} --version {{versie}}` + +- Sta het toe om meerdere versies van een pakket te installeren: + +`choco install {{pakket}} --allow-multiple` + +- Bevestig alle prompts automatisch: + +`choco install {{pakket}} --yes` + +- Specificieer een aangepaste bron om pakketten van te ontvangen: + +`choco install {{pakket}} --source {{source_url|alias}}` + +- Geef een gebruikersnaam en wachtwoord voor authenticatie op: + +`choco install {{pakket}} --user {{gebruikersnaam}} --password {{wachtwoord}}` diff --git a/pages.nl/windows/choco-list.md b/pages.nl/windows/choco-list.md new file mode 100644 index 000000000..ec8bb0687 --- /dev/null +++ b/pages.nl/windows/choco-list.md @@ -0,0 +1,28 @@ +# choco list + +> Toon een lijst van pakketten met Chocolatey. +> Meer informatie: . + +- Toon alle beschikbare pakketten: + +`choco list` + +- Toon alle lokaal geïnstalleerde pakketten: + +`choco list --local-only` + +- Toon een lijst inclusief lokale programma's: + +`choco list --include-programs` + +- Toon alleen goedgekeurde pakketten: + +`choco list --approved-only` + +- Geef een aangepaste bron op om pakketten van weer te geven: + +`choco list --source {{source_url|alias}}` + +- Geef een gebruikersnaam en wachtwoord voor authenticatie op: + +`choco list --user {{username}} --password {{password}}` diff --git a/pages.nl/windows/choco-push.md b/pages.nl/windows/choco-push.md new file mode 100644 index 000000000..1d95b2320 --- /dev/null +++ b/pages.nl/windows/choco-push.md @@ -0,0 +1,12 @@ +# choco-push + +> Push een gecompileerd NuGet pakket (`nupkg`) naar een pakketfeed. +> Meer informatie: . + +- Push een gecompileerd `nupkg` naar de gespecificeerde feed: + +`choco push --source {{https://push.chocolatey.org/}}` + +- Push een gecompileerd `nupkg` naar de gespecificeerde feed met een timeout in seconden (standaard is 2700): + +`choco push --source {{https://push.chocolatey.org/}} --execution-timeout {{500}}` diff --git a/pages.nl/windows/choco-uninstall.md b/pages.nl/windows/choco-uninstall.md new file mode 100644 index 000000000..1d62b423b --- /dev/null +++ b/pages.nl/windows/choco-uninstall.md @@ -0,0 +1,24 @@ +# choco uninstall + +> Verwijder een of meerdere pakketen met Chocolatey. +> Meer informatie: . + +- Verwijder een of meerdere spatie-gescheiden pakketten: + +`choco uninstall {{pakket1 pakket2 ...}}` + +- Verwijder een specifieke versie van een pakket: + +`choco uninstall {{pakket}} --version {{versie}}` + +- Bevestig alle prompts automatisch: + +`choco uninstall {{pakket}} --yes` + +- Verwijder alle afhankelijkheden bij het verwijderen: + +`choco uninstall {{pakket}} --remove-dependencies` + +- Verwijder alle pakketten: + +`choco uninstall all` diff --git a/pages.nl/windows/choco.md b/pages.nl/windows/choco.md new file mode 100644 index 000000000..ac45acf8d --- /dev/null +++ b/pages.nl/windows/choco.md @@ -0,0 +1,21 @@ +# choco + +> De Chocolatey pakket manager. +> Sommige subcommando's zoals `choco install` hebben hun eigen gebruiksdocumentatie. +> Meer informatie: . + +- Voer een Chocolatey commando uit: + +`choco {{commando}}` + +- Toon algemene hulp: + +`choco -?` + +- Toon help voor een specifiek commando: + +`choco {{commando}} -?` + +- Bekijk de Chocolatey versie: + +`choco --version` diff --git a/pages.nl/windows/invoke-webrequest.md b/pages.nl/windows/invoke-webrequest.md new file mode 100644 index 000000000..33949a793 --- /dev/null +++ b/pages.nl/windows/invoke-webrequest.md @@ -0,0 +1,25 @@ +# Invoke-WebRequest + +> Voer een HTTP/HTTPS request uit naar het Web. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Download de inhoud van een URL naar een bestand: + +`Invoke-WebRequest {{http://example.com}} -OutFile {{pad\naar\bestand}}` + +- Stuur form-gecodeerde gegevens (POST request van het type `application/x-www-form-urlencoded`): + +`Invoke-WebRequest -Method Post -Body @{ name='bob' } {{http://example.com/form}}` + +- Stuur een request met een extra header, door gebruik te maken van een aangepast HTTP methode: + +`Invoke-WebRequest -Headers {{@{ X-My-Header = '123' }}} -Method {{PUT}} {{http://example.com}}` + +- Stuur gegevens in JSON formaat en specificieer de juiste content-type header: + +`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}` + +- Stuur een gebruikersnaam en wachtwoord voor een server authenticatie: + +`Invoke-WebRequest -Headers @{ Authorization = "Basic "+ [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("myusername:mypassword")) } {{http://example.com}}` diff --git a/pages.nl/windows/select-string.md b/pages.nl/windows/select-string.md new file mode 100644 index 000000000..4ad9542f7 --- /dev/null +++ b/pages.nl/windows/select-string.md @@ -0,0 +1,26 @@ +# Select-String + +> Vindt tekst in string en bestanden in PowerShell. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Je kan `Select-String` gebruiken zoals `grep` in UNIX of `findstr.exe` in Windows. +> Meer informatie: . + +- Zoek naar een patroon binnen een bestand: + +`Select-String -Path "{{pad\naar\bestand}}" -Pattern '{{zoek_patroon}}'` + +- Zoek naar een exacte string (schakelt reguliere expressies uit): + +`Select-String -SimpleMatch "{{exacte_string}}" {{pad\naar\bestand}}` + +- Zoek naar een patroon in alle `.ext` bestanden in de huidige map: + +`Select-String -Path "{{*.ext}}" -Pattern '{{zoek_patroon}}'` + +- Toon het opgegeven aantal regels voor en na de regel die overeenkomt met de patroon: + +`Select-String --Context {{2,3}} "{{zoek_patroon}}" {{pad\naar\bestand}}` + +- Zoek in `stdin` voor regels die niet overeenkomen met een patroon: + +`Get-Content {{pad\naar\bestand}} | Select-String --NotMatch "{{zoek_patroon}}"` diff --git a/pages.nl/windows/where-object.md b/pages.nl/windows/where-object.md new file mode 100644 index 000000000..03650cf01 --- /dev/null +++ b/pages.nl/windows/where-object.md @@ -0,0 +1,17 @@ +# Where-Object + +> Selecteert objecten uit een verzameling op basis van hun eigenschapswaarden. +> Dit commando kan alleen gebruikt worden via PowerShell. +> Meer informatie: . + +- Filter aliassen op naam: + +`Get-Alias | Where-Object -{{Property}} {{Name}} -{{eq}} {{naam}}` + +- Toon een lijst van alle services die momenteel zijn gestopt. De `$_` automatische variable representeert ieder object dat word gestuurd naar de `Where-Object` cmdlet: + +`Get-Service | Where-Object {$_.Status -eq "Stopped"}` + +- Gebruik meerdere condities: + +`Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }` diff --git a/pages/windows/choco-install.md b/pages/windows/choco-install.md index b8617a709..f9ae9fbc3 100644 --- a/pages/windows/choco-install.md +++ b/pages/windows/choco-install.md @@ -11,7 +11,7 @@ `choco install {{path\to\packages_file.config}}` -- Install a specific nuspec or nupkg file: +- Install a specific `nuspec` or `nupkg` file: `choco install {{path\to\file}}` diff --git a/pages/windows/choco-pack.md b/pages/windows/choco-pack.md index 2e8ff24ca..df930c6ad 100644 --- a/pages/windows/choco-pack.md +++ b/pages/windows/choco-pack.md @@ -1,9 +1,9 @@ # choco pack -> Package a NuGet specification into a nupkg file. +> Package a NuGet specification into a `nupkg` file. > More information: . -- Package a NuGet specification to a nupkg file: +- Package a NuGet specification to a `nupkg` file: `choco pack {{path\to\specification_file}}`