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
$csprojFile = Get-ChildItem -Filter *.csproj -File | |
if ($csprojFile.Count -eq 0) { | |
Write-Host "No .csproj file found in the current directory." | |
exit 1 | |
} elseif ($csprojFile.Count -gt 1) { | |
Write-Host "More than one .csproj file found. Please ensure there's only one." | |
exit 1 | |
} |
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
class Program | |
{ | |
public static void Main() | |
{ | |
TimeSpan timeSpan; | |
Foo foo; | |
Bar bar; | |
//Baz baz; | |
TryTimeSpan(out timeSpan); |
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
location / { | |
proxy_pass http://localhost:5000; | |
proxy_read_timeout 120; | |
proxy_buffering off; | |
proxy_set_header X-Forwarded-Proto https; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header Host $http_host; | |
} |