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.Runtime.InteropServices; | |
using System.Windows.Forms; | |
using Microsoft.VisualStudio.ComponentModelHost; | |
using Microsoft.VisualStudio.Editor; | |
using Microsoft.VisualStudio.OLE.Interop; | |
using Microsoft.VisualStudio.Shell.Interop; | |
using Microsoft.VisualStudio.Shell; | |
using Microsoft.VisualStudio.Text; | |
using Microsoft.VisualStudio.Text.Editor; |
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.Collections.Generic; | |
using Microsoft.Diagnostics.Tracing; | |
using Microsoft.Diagnostics.Tracing.Session; | |
using System.Linq; | |
using System.Text; | |
namespace EtwFilter | |
{ | |
class Program |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"adminUsername": { | |
"type": "string", | |
"minLength": 1, | |
"metadata": { | |
"description": "Username for the Virtual Machine." | |
} |
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 Get-AIInstrumentationKeys() { | |
Get-AzureRmResource | | |
Where-Object { $_.ResourceType -eq 'Microsoft.Insights/components' } | | |
ForEach-Object { | |
$aiObj = Get-AzureRmResource -ResourceId $_.ResourceId | |
Write-Output ([pscustomobject]@{ | |
ResourceGroup = $aiObj.ResourceGroupName; | |
ResourceName = $aiObj.ResourceName; | |
InstrumentationKey = $aiObj.Properties.InstrumentationKey | |
}) |
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
System.InvalidOperationException: IWpfTextView has not completed its layout. | |
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot, SnapshotPoint anchorPosition, Double verticalDistance, ViewRelativePosition relativeTo, Double effectiveViewportWidth, Double effectiveViewportHeight, Boolean preserveViewportTop, Nullable`1 cancel) | |
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DisplayTextLineContainingBufferPosition(SnapshotPoint bufferPosition, Double verticalDistance, ViewRelativePosition relativeTo, Nullable`1 viewportWidthOverride, Nullable`1 viewportHeightOverride) | |
at Microsoft.VisualStudio.Text.Editor.Implementation.CaretElement.InnerEnsureVisible() | |
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DoActionThatShouldOnlyBeDoneAfterViewIsLoaded(Action action) | |
at Microsoft.VisualStudio.Text.Editor.Implementation.CaretElement.EnsureVisible() | |
at Vim.Modes.Normal.NormalMode.OnE |
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
System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. | |
at Microsoft.CodeAnalysis.SymbolId.Parser.GetNthTypeParameter(INamedTypeSymbol typeSymbol, Int32 n) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseTypeParameterSymbol(List`1 results) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseSymbolId(List`1 results) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseTypeSymbol() | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseTypeArguments(List`1 typeArguments) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.GetMatchingTypes(INamespaceOrTypeSymbol container, String name, List`1 results) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.GetMatchingTypes(IReadOnlyList`1 containers, String name, List`1 results) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseNamedSymbol(List`1 results) | |
at Microsoft.CodeAnalysis.SymbolId.Parser.ParseSymbolId(List`1 results) |
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
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include\utility(189): error C2220: warning treated as error - no 'object' file generated | |
3>ResourceManager.cpp(79): note: see reference to function template instantiation 'std::pair<const _Kty,_Ty>::pair<int,const wchar_t(&)[13],void,0>(_Other1 &&,_Other2) noexcept(false)' being compiled | |
3> with | |
3> [ | |
3> _Kty=WORD, | |
3> _Ty=std::experimental::filesystem::v1::path, | |
3> _Other1=int, | |
3> _Other2=const wchar_t (&)[13] | |
3> ] | |
3>ResourceManager.cpp(28): note: see reference to function template instantiation 'std::pair<const _Kty,_Ty>::pair<int,const wchar_t(&)[13],void,0>(_Other1 &&,_Other2) noexcept(false)' being compiled |
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
{ | |
"Viasfora Flow Control Keyword": { | |
"foreground": "OrangeRed", | |
"style": "None" | |
}, | |
"Viasfora Query Operator": { | |
"foreground": "MediumSeaGreen", | |
"style": "None" | |
}, | |
"Viasfora String Escape Sequence": { |
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([String]$VSSettingsFile, [String]$ThemeFile) | |
$entryMap = @{ | |
'Viasfora Rainbow Brace 1' = 'viasfora.rainbow.1'; | |
'Viasfora Rainbow Brace 2' = 'viasfora.rainbow.2'; | |
'Viasfora Rainbow Brace 3' = 'viasfora.rainbow.3'; | |
'Viasfora Rainbow Brace 4' = 'viasfora.rainbow.4'; | |
'Viasfora Rainbow Brace 5' = 'viasfora.rainbow.5'; | |
'Viasfora Rainbow Brace 6' = 'viasfora.rainbow.6'; | |
'Viasfora Rainbow Brace 7' = 'viasfora.rainbow.7'; |
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
{ | |
"viasfora.razor.closing.element": { | |
"foreground": "#FF8C00", | |
"background": "#010000", | |
"style": "None" | |
}, | |
"viasfora.keyword.visibility": { | |
"foreground": "#808080", | |
"background": "#010000", | |
"style": "Bold" |
OlderNewer