Skip to content

Instantly share code, notes, and snippets.

View gingters's full-sized avatar

Sebastian Gingter gingters

View GitHub Profile
@gingters
gingters / Microsoft.PowerShell_profile.ps1
Last active February 26, 2024 04:46
Local Feature to install Oh-My-Posh in a devcontainer
# this file goes to .devcontainer/features/oh-my-posh/
Import-Module posh-git
Import-Module PSFzf -ArgumentList 'Ctrl+t', 'Ctrl+r'
Import-Module z
Import-Module Terminal-Icons
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
$env:POSH_GIT_ENABLED=$true
public async Task EnsureInitializedAsync()
{
if (_isInitialized) return;
if (_isInitializing && !_isInitialized)
{
do
{
await Task.Yield();
} while (!_isInitialized);
@gingters
gingters / LoggingBenchmark.csproj
Last active December 16, 2021 14:50
Logging Performance Benchmark (.NET 6 console test)
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
@gingters
gingters / gist:a28667374a6dab83ad012e9fd721f386
Last active September 26, 2017 20:29
Kittens game save
N4IgzghgbgpgajATmAlgewHYgFwEYCsANCIjGGgK6IDGZOA2qBhALYw4jUQAuGKADiGJQIAGwrtsAJgAMANnwAWfADopATgDsuAMwAOfOpnqpxChlFpqAaxgATHN0QTiKMAAkUduzCzYAZmJgMAC+hEyskiAA7mhoDsJiEjhSBFp6KjoyhpqKenl6cmYWVrYO2E4uIG6e3r44gaLBYRFsHCwoGEhBQiAi4pK4UoZ6Mooq6nJ6GjpSijpEIOaWNvaOzjCuHl4+fo3N4SDMbdicaGK9/cnY+Ho6KiN6uDJSOur4s7jFK2XrVTU7eoBIKhQ7HKIoRCYS5JST4VJycbGXT4AiKXDo76lNYVDZbWq7BoglpHSIcbgobgQPgUFgwgY4RTDVSvAjGDTIzRY1blSqbarbOp7YlgsmnADmaFECT6sJwQ3UWRUinUik0WkVQxkOm5v1x/0FhOBTVBrSiaBQonp11u2nUupxfPxgOFJpJ4I4VGpKFp1skihVcgeDt5eIFBKB+1NpJOSwwaAARlTOj66YkGXhbiouXGfo6wwChUS3aLYyxqfw0NEkH75cZNEHNItltjQwaI66DmaOGBqChfLRa9gdHkpGPsxiQ39+YWjVH3WLOBRRNwqOx09cDFMZGo5mMjLpClP9TPDZGRd3ToFKQALIe4OQPzSZVEaOTqnRDHW51vT51F40uxjKJrEpbhfDAe85BkY8nXDF1iyAj1TgALxgBNEAgSCN0kGCfx5RDTw7QiF1jMAqRoG8IEQbgh3VDE1FwXA9FyJQMU/WCCzPTto2QkBqQpctuHAxAhzwlsCMAoiEKk0ionAlhK0w0QADFxAADyHTF8L1ODZ3PEtLxAcV/EsfhsNlDNxJKSSo3/OcL2AjgqLAG9MPAiyrlw487PggD51LKJ/CoTy5WwJkm3UFRRmeGQxjRHMJN0rjiNkwKOBQKA0EQABPIdP3kTRZEyOR1FwXJEQITj2xkgKjLAfgUEHHCcFRGR1Si4YZAfUY8ntHT8xq/zHL48w
@gingters
gingters / tsconfig.json
Created April 4, 2017 09:00
tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016",
"dom"
],
@gingters
gingters / gist:5bd8a2486640b652653c9152fc6d3ec7
Last active February 19, 2017 21:57
Active Obelisk Confirmation Data, Cmdr. Nopileos
Active Obelisk Confirmation: Site GS01 - Synuefe XR-H D11-102 Planet 1B - Type BETA 1, Numbering from Interactive map, Relogged in Solo, single swipe:
A03
B06
C03,C13,C36,C38
D05
E01,E26,E34
F04
G17,G18,G19,G20
Active Obelisk Confirmation: Site GS03 - IC 2391 Sector ZE-A D101 Planet C3 - Type ALPHA 1, Numbering from Interactive map, Relogged in Solo, single swipe: