Skip to content

Instantly share code, notes, and snippets.


Tom Pažourek tompazourek

View GitHub Profile
View index.html
<!DOCTYPE html>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
padding:0 0.5em 90vh 0.5em;
tompazourek / ConsoleApp1.csproj
Last active Jan 1, 2021
Colourful convert from xy chromaticity to RGB (sRGB)
View ConsoleApp1.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PackageReference Include="Colourful" Version="3.0.0-beta1" />
View CustomTheme.psm1
#requires -Version 2 -Modules posh-git
function Write-Theme {
tompazourek / keybindings.json
Created Jun 3, 2020
VSCode keybindings.json
View keybindings.json
// 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
"color_scheme": "Packages/User/light_vs.sublime-color-scheme",
"font_size": 10,
"line_padding_bottom": 1,
"line_padding_top": 0,
"ignored_packages": [
"mini_diff": "auto",
"show_encoding": true,
tompazourek / settings.json
Last active Jul 26, 2021
VSCode settings.json
View settings.json
"workbench.iconTheme": "vscode-icons",
"": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"": [
"workbench.colorTheme": "Visual Studio Light",
"[powershell]": {
"editor.defaultFormatter": "ms-vscode.powershell"
tompazourek / settings.json
Last active Aug 6, 2020
Windows Terminal's settings.json
View settings.json
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
View light_vs.sublime-color-scheme
"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
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
"version": "",
"title": "This is my feed title",
"home_page_url": "",
"feed_url": "",
"description": "This is my feed description",
"user_comment": "This is a user comment",
"next_url": "",
"icon": "",
"favicon": "",