$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
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
@echo off | |
rem https://docs.microsoft.com/en-us/windows/desktop/wer/collecting-user-mode-dumps | |
SET CRASHDUMPPATH=%~dp0 | |
echo Press enter when ready to start collection... | |
pause | |
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /reg:64 /f /v Disabled /t REG_DWORD /d 0 | |
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps" /reg:64 /f /v DumpCount /t REG_DWORD /d 3 | |
reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps" /reg:64 /f /v DumpType /t REG_DWORD /d 2 |
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
SRV*C:\dbg_symbol_cache*http://referencesource.microsoft.com/symbols;SRV*C:\dbg_symbol_cache*https://nuget.smbsrc.net;SRV*C:\dbg_symbol_cache*http://msdl.microsoft.com/download/symbols |
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
void Main() | |
{ | |
var generator = new ObjectPropertiesReadersFactory(); | |
var obj = new { @class = "css-class", @value = 2, items = new[] {1,2,3} }; | |
// var obj = new TestClass{ items = "123" }; | |
var reader = generator.GetReader(obj.GetType()); | |
var result = new Dictionary<string, object>(); | |
reader(result, obj); | |
result.Dump(); | |
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
@echo off | |
SET PERFVIEW=C:\tools\PerfView64.exe | |
SET FUSLOGPATH=%~dp0 | |
echo Press enter when ready to start collection... | |
pause | |
reg add HKLM\Software\Microsoft\Fusion /reg:64 /f /v EnableLog /t REG_DWORD /d 1 | |
reg add HKLM\Software\Microsoft\Fusion /reg:64 /f /v LogFailures /t REG_DWORD /d 1 | |
reg add HKLM\Software\Microsoft\Fusion /reg:64 /f /v LogResourceBinds /t REG_DWORD /d 0 | |
reg add HKLM\Software\Microsoft\Fusion /reg:64 /f /v LogPath /t REG_SZ /d %FUSLOGPATH% |
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
# https://blogs.msdn.microsoft.com/maoni/2018/10/09/you-should-never-see-this-callstack-in-production/ | |
PerfView64.exe /nogui /accepteula /BufferSizeMB:4096 /CircularMB:2000 /CollectMultiple:3 /StopOnGcOverMsec:3000 /DelayAfterTriggerSec:0 /KernelEvents:Memory,VirtualAlloc,Default /Process:"w3wp" /OnlyProviders:"ClrPrivate:1:5,Clr:0x40000001:5" /NoRundown /NoNGenRundown /NoClrRundown /Merge:true /Zip:true collect |
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
[user] | |
name = vchirikov | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true | |
hideDotFiles = dotGitOnly | |
[core] |
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
{ | |
"black": "#272C33", | |
"dark_blue": "#4FB4D8", | |
"dark_green": "#78BD65", | |
"dark_cyan": "#00DCDC", | |
"dark_red": "#EB3D54", | |
"dark_magenta": "#9b37e2", | |
"dark_yellow": "#cd9731", | |
"gray": "#CBCDD2", | |
"dark_gray": "#CBCDD2", |
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
Add-BindingRedirect * |
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
# https://github.com/JosefPihrt/Roslynator/issues/38 | |
# by @VahidN | |
Write-Host "Download, unzip and enable Roslynator for Visual Studio Code" | |
$name = "josefpihrt.Roslynator2017" | |
$url = "https://marketplace.visualstudio.com/items?itemName=$name" | |
$currentDir = $PSScriptRoot | |
$file = "$currentDir\Roslynator.zip" | |
$pattern = "<script class=`"vss-extension`" defer=`"defer`" type=`"application\/json`">(.*?)<\/script>" |