Map network drive in C#

// Create network drive mapping System.Diagnostics.Process.Start(“net.exe”, @”use K: “”\\\Websites\Mail“” /user:MyDomain\admin MySuperSecretPassword”).WaitForExit(); // Remove network drive mapping System.Diagnostics.Process.Start(“net.exe”, @”use K: /delete”).WaitForExit();

Where to download google chrome for offline installation 32-bit and 64-bit Windows

    First go to: Important to note the parameter “standalone=1”   Then click on “Other Platforms” at the bottom of the page.       Then select your platform, e.g. Windows 7 32-bit   Then click: “ACCEPT AND INSTALL”     Download of the +/- 50MB download, should …

“Possibly unhandled rejection” when closing ngDialog

    Found my solution at: When using the openConfirm function use: TypeScript: ngDialog .openConfirm(dialogOptions) .catch(function dialogCloseErrorCallback(reason: any) {         // ngDialog v1.4.0 throws an exception, when closing the dialog with reason “undefined”.         // Prevent this error:     if (reason !== undefined) {         throw new Error(`Error when closing the dialog: [${reason}].`); …

Allow *.css, *.js and *.html from the MVC 5 Views map

  If you want to allow static content to be served from the asp .net MVC 5 views folder, just added the web.config in this folder and change path=”*” to path=”*.cshtml”.   <system.webServer> <handlers> <remove name=“BlockViewHandler“/> <add name=“BlockViewHandler“ path=“*.cshtml“ verb=“*“ preCondition=“integratedMode“ type=“System.Web.HttpNotFoundHandler“ /> </handlers> </system.webServer>

Git / Bitbucket – The remote end hung up unexpectedly – Early EOF – index-pack failed at exactly 1GB

  Suddenly my repository failed to clone: git clone Cloning into ‘myrepo’… remote: Counting objects: 332184, done. remote: Compressing objects: 100% (59662/59662), done. fatal: The remote end hung up unexpectedly020.57 MiB | 9.89 MiB/s fatal: early EOF fatal: index-pack failed   It failed at exactly 1GB. I found the …