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
$ # Use Live CD to boot | |
$ sudo su # Switch to root | |
$ mkdir /mnt/sysimage | |
$ fdisk -l # Get names of root, boot & EFI partition names. you can also use blkid | |
$ # http://dadadom.de/2020/04/11/fix-fedora-uefi-boot-with-encrypted-partitions/ | |
$ udiskctl unlock -b /dev/nvme0n1p4 # unlock root luks partition | |
$ mount /dev/mapper/luks-123 /mnt/sysimage -t btrfs -o subvol=root | |
$ mount /dev/nvme0n1p3 /mnt/sysimage/boot # mount boot partition |
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 Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
internal static class Program | |
{ | |
public static async Task Main() | |
{ | |
await new HostBuilder() | |
.ConfigureServices(cfg => cfg.AddHostedService<ErrorBackgroundService>()) | |
.RunConsoleAsync(); |
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 Nats.Async.Connection | |
{ | |
public class Foo | |
{ | |
private const int MY_CONST = 42; | |
public const int MyPubConst = 42; | |
private static int s_myPrivateStaticField = 42; | |
public static int MyPubStaticField = 42; | |
private int _myPrivateField = 42; | |
public int MyPublicField; |
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
# derived from github.com/dotnet/runtime/blob/main/.editorconfig | |
# editorconfig.org | |
# top-most EditorConfig file | |
root = true | |
# Default settings: | |
# A newline ending every file | |
# Use 4 spaces as indentation |
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
[diff] | |
guitool = PlasticSCM5 | |
tool = PlasticSCM5 | |
[merge] | |
tool = PlasticSCM5 | |
[difftool "PlasticSCM5"] | |
path = \"C:/Program Files/PlasticSCM5/client/mergetool.exe\" | |
cmd = \"C:/Program Files/PlasticSCM5/client/mergetool.exe\" -s=\"$LOCAL\" -d=\"$REMOTE\" | |
[mergetool "PlasticSCM5"] | |
path = \"C:/Program Files/PlasticSCM5/client/mergetool.exe\" |