- https://marketplace.visualstudio.com/items?itemName=bierner.color-info
- https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
- https://marketplace.visualstudio.com/items?itemName=cake-build.cake-vscode
- https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense
- https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense
- https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint
- https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
- https://marketplace.visualstudio.com/items?itemName=DmitryDorofeev.empty-indent
- https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory
- https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
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
[core] | |
# this actually opens in Notepad2 | |
editor = notepad.exe | |
[alias] | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs git branch -d; }; f" | |
bdone = "!f() { git checkout ${1-master} && git up && git bclean ${1-master}; }; f" | |
shove = push origin --force | |
tug = pull upstream master |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols] | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0] | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server] | |
"Enabled"=dword:00000000 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0] |
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
namespace MyAwesomeProgram | |
{ | |
using System.Threading.Tasks; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Extensions.Logging; | |
[Disable("MYWEBJOB_DISABLED")] | |
public class Functions | |
{ |
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
using System.Data.Entity.Validation; | |
using System.Linq; | |
using Microsoft.ApplicationInsights.Channel; | |
using Microsoft.ApplicationInsights.DataContracts; | |
using Microsoft.ApplicationInsights.Extensibility; | |
public class EntityFrameworkExceptionTelemetryInitializer : ITelemetryInitializer | |
{ | |
public void Initialize(ITelemetry telemetry) |
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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = crlf | |
insert_final_newline = true | |
indent_size = 4 | |
indent_style = space | |
trim_trailing_whitespace = true |
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
<?xml version="1.0"?> | |
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | |
<location path="%XDT_SITENAME%" xdt:Transform="InsertIfMissing" xdt:Locator="Match(path)"> | |
<system.webServer xdt:Transform="InsertIfMissing"> | |
<applicationInitialization xdt:Transform="InsertIfMissing"> | |
<add initializationPage="/" xdt:Transform="InsertIfMissing" /> | |
</applicationInitialization> | |
<httpProtocol xdt:Transform="InsertIfMissing"> | |
<customHeaders xdt:Transform="InsertIfMissing"> |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Console] | |
"ColorTable00"=dword:003e4849 | |
"ColorTable01"=dword:00969483 | |
"ColorTable02"=dword:002ee2a6 | |
"ColorTable03"=dword:00efd966 | |
"ColorTable04"=dword:007226f9 | |
"ColorTable05"=dword:007226f9 | |
"ColorTable06"=dword:0074dbe6 |
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
using System; | |
using System.Diagnostics.Contracts; | |
using System.Linq; | |
namespace Merkator.Tools | |
{ | |
public class ArrayHelpers | |
{ | |
public static T[] ConcatArrays<T>(params T[][] arrays) | |
{ |
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
param($installPath, $toolsPath, $package, $project) | |
# This is the MSBuild targets file to add | |
$targetsFile = [System.IO.Path]::Combine($toolsPath, $package.Id + '.targets') | |
# Need to load MSBuild assembly if it's not loaded yet. | |
Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' | |
# Grab the loaded MSBuild project for the project | |
# Normalize project path before calling GetLoadedProjects as it performs a string based match | |
$msbuild = [Microsoft.Build.Evaluation.ProjectCollection]::GlobalProjectCollection.GetLoadedProjects([System.IO.Path]::GetFullPath($project.FullName)) | Select-Object -First 1 |