Skip to content

Instantly share code, notes, and snippets.

Breeding bugs

kalle (jag) jilleJr

Breeding bugs
View GitHub Profile
jilleJr /
Last active Nov 9, 2020
JSON/YAML schema for .wharf-ci.yml files

The language server from Red Hat, that most editors use to have YAML syntax and intellisense, has support for JSON schemas.

This file is an attempt on such a schema. Would be nice to autogenerate these in the future, but having it at all is a nice first step. We might want to move this into the https://gitlab.dgc.local/tools/wharf-project project group, and optionally deploy and version this together with the https://gitlab.dgc.local/tools/wharf-project/cmd project...

How to use in Visual Studio Code

  1. Install the "YAML" extension (id: redhat.vscode-yaml, link:

  2. Add the following to your user settings:

View Prompts.fs
module Koffee.Prompts
open VinylUI
type ModifierKeys = System.Windows.Input.ModifierKeys
type Key = System.Windows.Input.Key
module ClosablePrompt =
let closePrompt handleEvt (model: MainModel) =
View Issue63.cs
using System;
using System.Collections.Generic;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Utilities;
using NUnit.Framework;
using UnityEngine.Scripting;
namespace Tests
jilleJr /
Created Mar 16, 2020
Visual Studio Developer PowerShell in Windows Terminal

Just a small profile template to get the Visual Studio Developer command prompt environment, but in PowerShell, but in the Windows Terminal. Cake on cake 🍰

Profile installation

Add the following profile to your Windows Terminal profiles.json file.

Old profiles syntax

jilleJr / Get-AssemblyInfo.ps1
Last active Jan 6, 2020
Assembly describer for powershell
View Get-AssemblyInfo.ps1
# Source:
function Get-AssemblyInfo {
param (
[Parameter(Mandatory, ValueFromPipeline)]