ASP Net, Debugging in a docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker stop sql1 | |
docker stop redis1 | |
docker stop rabbitmq1 | |
docker rm sql1 | |
docker rm redis1 | |
docker rm rabbitmq1 | |
docker run ` | |
-e "ACCEPT_EULA=Y" ` | |
-e "SA_PASSWORD=P@ssword123" ` |
I found it very useful to use concfg tool and scoop to install colors and fonts for Powershell:
Install scoop:
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Install concfg:
scoop install concfg
Find the maximum resolution
xrandr | grep maximum
Use gtf to create a mode line
gtf 1440 900 59.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-StrictMode -Version Latest | |
$proxy = 'http://127.0.0.1:8080' | |
$apiKey = "###APIKEY###" | |
$uri = "https://hooks.slack.com/services/" + $apiKey | |
$deploymentEnvironment = $OctopusParameters["Octopus.Environment.Name"] | |
$deployByWho = $OctopusParameters["Octopus.Deployment.CreatedBy.DisplayName"] | |
$deployErrorDetail = $OctopusParameters["Octopus.Deployment.ErrorDetail"] | |
$deploymentVersion = $OctopusParameters["Octopus.Release.CurrentForEnvironment.Number"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$files = Get-ChildItem .\* -Include *.dll, *.exe -Recurse | |
foreach ($file in $files) | |
{ | |
$name = (Get-Item $file).FullName; | |
$vif = (Get-Item $file).VersionInfo.FileVersion | |
$vip = (Get-Item $file).VersionInfo.ProductVersion | |
Write-host $Name F:$vif P:$vip | |
} |