Skip to content

Instantly share code, notes, and snippets.

View gpltaylor's full-sized avatar
I may be slow to respond.

Garry Taylor gpltaylor

I may be slow to respond.
  • Fluent Money
  • Lancashire
View GitHub Profile
SeanSobey /
Last active April 7, 2024 18:46
Portainer Setup on Windows 10

Portainer on Windows 10

Here I have 2 methods for running portainer on windows, a quick, preferred method only requiring a fairly recent version of docker, or a more complicated method to try if that does not work.

Using host.docker.internal

This setup will let you run Portainer on windows by using the host.docker.internal endpoint ( is depricated since docker version 3.2.1, but older versions may use this instead).

Please note:

masak /
Last active May 21, 2024 20:05
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <>
Date:   Sun Apr 15 16:35:03 2012 +0200

When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.