Skip to content

Instantly share code, notes, and snippets.

View dosvidos's full-sized avatar

Mikhail Filimonov dosvidos

View GitHub Profile
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"DisableUNCCheck"=dword:00000001
@dosvidos
dosvidos / win_tips.bat
Created November 11, 2016 19:27 — forked from apetrone/win_tips.bat
Windows tips
- Determine why Visual Studio is rebuilding a project:
-- add a block to enable debug view output (devenv.exe.config); check DebugView for the reason.
VS2010
<system.diagnostics>
<switches>
<add name="CPS" value="4" />
</switches>
</system.diagnostics>
@dosvidos
dosvidos / gist:8bc6573c1e74f860d25cdd2acf6cd4ba
Created June 11, 2016 12:53
.Net Core RC2 on OS X 10.11 - dotnet restore fails with error: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.
If you have installed the .Net Core RC2 on OS X 10.11 but still can’t use it because the `dotnet restore` command fails with the cryptic error:
~/w/dotnet_hello ❯❯❯ dotnet restore
log : Restoring packages for /Users/mike/wrk/dotnet_hello/project.json...
error: Unable to load the service index for source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json.
error: The type initializer for 'Crypto' threw an exception.
error: The type initializer for 'CryptoInitializer' threw an exception.
error: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.
error: (Exception from HRESULT: 0x8007007E)