Skip to content

Instantly share code, notes, and snippets.

View jennings's full-sized avatar
What a mess I've made

Stephen Jennings jennings

What a mess I've made
View GitHub Profile

Switching to Jujutsu workflows

When coming to Jujutsu, one may try to emulate their Git workflows directly. This is possible, but can cause a lot of difficulty.

This guide shows how to translate Git workflows to Jujutsu.

Getting started

Cloning an existing repository

jennings / Makefile
Last active January 10, 2023 17:40
Run Azurite over HTTPS with a trusted certificate
# Makefile for running Azurite with or without HTTPS. Requires the
# mkcert and azurite commands to be available.
# Usage:
# make - Run Azurite with HTTPS
# make https - Run Azurite with HTTPS
# make http - Run Azurite with HTTP
# make install - Create certificates using mkcert (runs automatically)
# make reset - Clear the Azurite database
var ParseError = from _ in Parse.String("error") select Level.Error;
var ParseWarning = from _ in Parse.String("warning") select Level.Warning;
var ParseLevel = ParseError.Or(ParseWarning);
var ParsePosition =
from lp in Parse.String("(")
from line in Parse.Number
from comma in Parse.String(", ")
from column in Parse.Number
from rp in Parse.String(")")
select new Position
jennings /
Created June 16, 2022 15:58
Kdiff3 line ending bug
jennings / ForeignKey_Option1.cs
Last active December 2, 2021 22:00
ForeignKey and InverseProperty placements for Entity Framework Core
public class Person
public int Id { get; set; }
public List<Book> AuthoredBooks { get; set; }
public List<Book> EditedBooks { get; set; }
public class Book
public int Id { get; set; }
jennings / Makefile
Created May 14, 2021 16:55
Makefile syntax to run different commands on Windows. Works with GNU Make, not NMake
ifeq ($(OS),Windows_NT)
powershell -NoProfile -Command "Get-Date"
jennings / File0.txt
Last active July 29, 2022 16:32
Testing the order that gists sort files. It seems to be first case-insensitively, then case-sensitively. And the title is the first file in ASCII order.
using System;
using System.Threading.Tasks;
using MassTransit;
namespace mttest
class Program
static async Task Main(string[] args)
jennings / IISExpressCannotBindToExcludedPort.
Last active March 25, 2021 21:17
IIS Express claiming it cannot bind to a port, even though Node is able to without a problem
C:\Program Files\IIS Express
PS>netsh int ipv4 show excludedportrange tcp | sls 63300 # I have manually added 63300-63399 as an exclusion
63300 63399 *
C:\Program Files\IIS Express
PS>netstat -ano | sls 63325 # Nothing is bound to 63325 right now
Burns a timecode into a video using ffmpeg.