Skip to content

Instantly share code, notes, and snippets.

@thedmeyer
thedmeyer / README.md
Last active April 17, 2024 14:38
PlantUML Github Action for generating SVGs

PlantUML GitHub Action

To use this action, you must include a copy of the plantuml.jar file within the root directory of your repository. You can get this file here at: https://sourceforge.net/projects/plantuml/files/plantuml.jar/download

Or run this curl command in your root directory: curl -o plantuml.jar https://iweb.dl.sourceforge.net/project/plantuml/plantuml.jar

How It Works

This action works by recursively searching for PlantUML files with the extension .pu in a subdirectory named src.

@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active June 19, 2024 00:04
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@garycrawford
garycrawford / docker-compose.yml
Created July 9, 2015 13:00
MongoDB Replica Set docker-compose.yml
primary:
image: mongo:3.0
volumes:
- ./p:/data
ports:
- "27017:27017"
# Our current version of docker-compose doesn't allow extra_hosts which would be the best way
# to add curcular dependency container links in this case. We cant upgrade docker-compose
# without upgrading docker to 1.7, and we can't do that without upgrading the kernel on our
# CentOS VM's. As such we are using the hostname hask below to allow primary and secondary