Skip to content

Instantly share code, notes, and snippets.

View simonjduff's full-sized avatar

Simon Duff simonjduff

  • Pace CCS
  • London
View GitHub Profile
@simonjduff
simonjduff / ipv6guide.md
Created September 20, 2025 11:33 — forked from timothyham/ipv6guide.md
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@simonjduff
simonjduff / dockerfile
Created February 7, 2021 16:56
Build agent with failing azure and ansible
FROM ubuntu:20.04
# To make it easier for build and release pipelines to run apt-get,
# configure apt to not require confirmation (assume the -y argument by default)
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
@simonjduff
simonjduff / temmyout.cs
Last active May 3, 2018 21:31
Out parameters
public class OutParams
{
public int TwoThings(out int secondThing)
{
secondThing = 2;
return 1;
}
}
public static void Main()