Skip to content

Instantly share code, notes, and snippets.

@bradrydzewski
bradrydzewski / generate_docker_cert.sh
Last active February 14, 2025 07:04
Generate trusted CA certificates for running Docker with HTTPS
#!/bin/bash
#
# Generates client and server certificates used to enable HTTPS
# remote authentication to a Docker daemon.
#
# See http://docs.docker.com/articles/https/
#
# To start the Docker Daemon:
#
# sudo docker -d \
@MikeBild
MikeBild / mSpec2JUnit.xslt
Created June 18, 2011 18:22
MSpec to JUnit XSLT
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="specs" select="//specification"/>
<xsl:template match="MSpec">
<testsuite
name="Specifications"
tests="{count($specs)}"
errors="0"