Disclaimer: use under your own responsibility
docker exec -it <container> bash / docker exec -it <container> cmd
docker attach --sig-proxy=false <container>
| $packageToFind = "Xxxxx" | |
| $found = (cat .\Project.csproj | Where { $_.Contains($packageToFind) }) -match '\d*\.\d*\.\d*' | |
| if ($found) { | |
| $packageVersion = $matches[0] | |
| Write-Host "Package version for ${packageToFind}: $packageVersion" | |
| } | |
| else{ | |
| Write-Host "Package version for ${packageToFind} not found" | |
| } |
| { | |
| "runtime": "NetCore31", | |
| "defaultVariables": null, | |
| "documentGenerator": { | |
| "aspNetCoreToOpenApi": { | |
| "project": null, | |
| "msBuildProjectExtensionsPath": null, | |
| "configuration": null, | |
| "runtime": null, | |
| "targetFramework": null, |
Lifesavers:
Formatters:
| /* | |
| * C++ Competitive Programming Template. | |
| * | |
| * Author: Eduardo Cáceres de la Calle | |
| * | |
| * Feel free to fork it and adapt it to your needs: | |
| * https://gist.github.com/eduherminio/3466a18f8569460fe1012e67c1f58015 | |
| */ | |
| #include <iostream> |