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
<ItemGroup> | |
<None Remove="Views\CRUD\Create.dothtml" /> | |
<None Remove="Views\CRUD\Detail.dothtml" /> | |
<None Remove="Views\CRUD\Edit.dothtml" /> | |
<None Remove="Views\MasterPage.dotmaster" /> | |
</ItemGroup> |
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
<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<TargetFramework>netcoreapp2.2</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<Content Include="**/*.dothtml;**/*.dotmaster;**/*.dotcontrol" Exclude="obj/**/*.*;bin/**/*.*" CopyToPublishDirectory="Always" /> | |
</ItemGroup> | |
<ItemGroup> | |
<None Remove="dotvvm_serialized_config.json.tmp" /> | |
<None Remove="**/*.dothtml;**/*.dotmaster;**/*.dotcontrol" /> |
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
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'. | |
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054. | |
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, Action`1 configureOptions) | |
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context) | |
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding) | |
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken) |
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
dotnet dev-certs https --clean | |
dotnet dev-certs https --trust |
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
<# | |
.SYNOPSIS | |
Since is in format "2013-01-30" or "6AM" | |
#> | |
function GetGitWork([string]$since,[string] $pathToProject, [string]$authorName){ | |
if([string]::IsNullOrEmpty($since)){ | |
$since = "6am"; | |
} | |
#if is $pathToProjectEmpty search current directory |
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
# script in sudo will be evaluated with admin permission. Lockhunter unlock and delete files | |
# PREREQUISITES: | |
# sudo / http://blog.lukesampson.com/sudo-for-windows | |
# lockhunter / https://lockhunter.com/download.htm | |
#check dependencies | |
@("sudo", "lockhunter.exe") | where { -Not (Get-Command $_ -errorAction SilentlyContinue)} | %{ Write-Warning "missing $_ command"; return $_} | Write-Error "Install missing dependencies!" -ErrorAction Stop | |
Write-Host "start cleaning" | |
sudo { | |
Get-ChildItem .\ -include bin,obj -Recurse | %{ lockhunter.exe -d $_.fullname } |
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
function Using-Object | |
{ | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $true)] | |
[AllowEmptyString()] | |
[AllowEmptyCollection()] | |
[AllowNull()] | |
[Object] |
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
$assemblyPath = "TODO PATH"; # path to RabbitMQ.Client.dll - https://github.com/rabbitmq/rabbitmq-dotnet-client | |
$queueName = "testqueue" | |
$hostName = "localhost" | |
$bytes = [System.IO.File]::ReadAllBytes($assemblyPath); | |
[System.Reflection.Assembly]::Load($bytes); | |
$factory = New-Object RabbitMQ.Client.ConnectionFactory; | |
$factory.HostName = $hostName; |
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
$AssemblyPath = "TODO PATH"; # path to RabbitMQ.Client.dll - https://github.com/rabbitmq/rabbitmq-dotnet-client | |
$queueName = "testqueue" | |
$hostName = "localhost" | |
$bytes = [System.IO.File]::ReadAllBytes($AssemblyPath); | |
[System.Reflection.Assembly]::Load($bytes); | |
$factory = New-Object RabbitMQ.Client.ConnectionFactory; |
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-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
refreshenv | |
$PROFILE | |
choco install toggl -y | |
choco install microsoft-teams -y | |
choco install git -y |