-
SOME STARTING NOTE
(a) Some specific section header
-
ANOTHER STARTING NOTE
a. Section subheader
i. Sub sub header
| chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { | |
| if (changeInfo.status == 'complete') { | |
| console.log("Completed tab was loaded, injecting content.js"); | |
| chrome.scripting.executeScript( | |
| { | |
| target: {tabId: tabId}, | |
| files: ['content.js'] | |
| } | |
| ); | |
| } |
SOME STARTING NOTE
(a) Some specific section header
ANOTHER STARTING NOTE
a. Section subheader
i. Sub sub header
| { | |
| "name": ".NET with Aspire", | |
| "image": "mcr.microsoft.com/dotnet/sdk:8.0", | |
| "features": { | |
| "ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
| "ghcr.io/devcontainers/features/github-cli:1": { | |
| "version": "2" | |
| }, | |
| "ghcr.io/devcontainers/features/powershell:1": { | |
| "version": "latest" |
| <html> | |
| <head><title>test</title></head> | |
| <body> | |
| <div> This is some text with <b>bolding</b></div> | |
| <div> But when representing code in html you use 'pre' like this</div> | |
| <div><pre>public class Foo { }</pre></div> | |
| </body> | |
| </html> |
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "type": "object", | |
| "properties": { | |
| "FirstName": { | |
| "type": "string" | |
| }, | |
| "LastName": { | |
| "type": "string" | |
| }, |
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "type": "object", | |
| "properties": { | |
| "Street": { | |
| "type": "string" | |
| }, | |
| "City": { | |
| "type": "string" | |
| }, |
| function vs { | |
| $p = Get-Location | |
| $sln = gci *.sln,*.csproj -n -recurse | select -f 1 | |
| Write-Output "Opening $p\$sln" | |
| Start-Process -FilePath "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe" -ArgumentList "$p\$sln" | |
| } |
| <HierarchicalDataTemplate x:Key="TreeViewRunNodeDataTemplate" ItemsSource="{Binding Jobs}"> | |
| <StackPanel Orientation="Horizontal" HorizontalAlignment="Left"> | |
| <TextBlock VerticalAlignment="Center" FontFamily="{StaticResource CodiconFont}" | |
| Foreground="{Binding Path=Conclusion, Converter={StaticResource ConclusionColorConverter}}" | |
| Text="{Binding Path=Conclusion, Converter={StaticResource ConclusionIconConverter}}"/> | |
| <emoji:TextBlock Text="{Binding DisplayName}" VerticalAlignment="Bottom" Tag="{Binding Url}"/> | |
| </StackPanel> | |
| </HierarchicalDataTemplate> |
| ["number","title","state","labels"], | |
| (.[] | [ | |
| .number, | |
| .title, | |
| .state, | |
| (.labels | if length == 0 then "no-label" elif length > 1 then map(.name) | join(",") else .[0].name end) | |
| ]) | @csv |
| namespace TempStick; | |
| public class BooleanConverter : JsonConverter<bool> | |
| { | |
| public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
| { | |
| if (reader.TokenType == JsonTokenType.String) | |
| { | |
| return string.Equals(reader.GetString(), "1", StringComparison.OrdinalIgnoreCase); | |
| } |