View index.html
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
<!DOCTYPE html> | |
<meta charset=utf-8> | |
<meta name=viewport content="width=device-width,initial-scale=1"> | |
<style> | |
body{ | |
font:menu;font-size:1.125em; | |
margin:auto;max-width:40em; | |
padding:0 0.5em 90vh 0.5em; | |
} | |
</style> |
View ConsoleApp1.csproj
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Colourful" Version="3.0.0-beta1" /> | |
</ItemGroup> |
View CustomTheme.psm1
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
#requires -Version 2 -Modules posh-git | |
function Write-Theme { | |
param( | |
[bool] | |
$lastCommandFailed, | |
[string] | |
$with | |
) |
View keybindings.json
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "alt+t", | |
"command": "workbench.action.terminal.sendSequence", | |
"args": { | |
"text": "cd '${fileDirname}'\u000D" | |
} | |
} | |
] |
View Preferences.sublime-settings
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
Show hidden characters
{ | |
"color_scheme": "Packages/User/light_vs.sublime-color-scheme", | |
"font_size": 10, | |
"line_padding_bottom": 1, | |
"line_padding_top": 0, | |
"ignored_packages": [ | |
"Vintage" | |
], | |
"mini_diff": "auto", | |
"show_encoding": true, |
View settings.json
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
{ | |
"workbench.iconTheme": "vscode-icons", | |
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"terminal.integrated.shellArgs.windows": [ | |
"-NoLogo" | |
], | |
"workbench.colorTheme": "Visual Studio Light", | |
"[powershell]": { | |
"editor.defaultFormatter": "ms-vscode.powershell" | |
}, |
View settings.json
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://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false | |
}, |
View light_vs.sublime-color-scheme
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
{ | |
"name": "Light (Visual Studio)", | |
"globals": { | |
"background": "#FFFFFF", | |
"foreground": "#000000", | |
"gutter_foreground": "#2B91AF", | |
"selection": "#99C9EF", | |
"selection_border": "#CCE4F7", | |
"selection_border_width": "2", | |
"inactive_selection": "#E5EBF1", |
View NullableExtension.cs
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
public static class NullableExtension | |
{ | |
public static bool TryGetValue<T>(this T? nullableValue, out T value) where T : struct | |
{ | |
if (!nullableValue.HasValue) | |
{ | |
value = default; | |
return false; | |
} |
View json-feed-example.json
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
{ | |
"version": "https://jsonfeed.org/version/1", | |
"title": "This is my feed title", | |
"home_page_url": "https://example.org/homepage", | |
"feed_url": "https://example.org/feed.json", | |
"description": "This is my feed description", | |
"user_comment": "This is a user comment", | |
"next_url": "https://example.org/feed.json?offset=1", | |
"icon": "https://example.org/icon.png", | |
"favicon": "https://example.org/favicon.ico", |
NewerOlder