mirror of https://github.com/vimagick/dockerfiles
Compare commits
2 Commits
4c2ee8d639
...
25a5e67907
Author | SHA1 | Date | |
---|---|---|---|
kev | 25a5e67907 | ||
kev | bfe9d95e05 |
|
@ -407,6 +407,7 @@ A collection of delicious docker recipes.
|
|||
- [x] memgraph
|
||||
- [x] memgraph-mage
|
||||
- [x] memgraph-platform
|
||||
- [x] minlag/mermaid-cli
|
||||
- [x] metabase/metabase
|
||||
- [x] metasploitframework/metasploit-framework :skull:
|
||||
- [x] minio/minio
|
||||
|
|
|
@ -5,7 +5,7 @@ crawlee
|
|||
scraping and browser automation library.
|
||||
|
||||
```bash
|
||||
$ docker run --rm -it -v $PWD:/tmp apify/actor-node:16 sh
|
||||
$ docker run --rm -it -v $PWD:/tmp apify/actor-node:20 sh
|
||||
>>> export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||
>>> export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||
>>> npx crawlee create -t cheerio-js my-crawler
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
mermaid-cli
|
||||
===========
|
||||
|
||||
[Mermaid][1] is a JavaScript-based diagramming and charting tool that uses
|
||||
Markdown-inspired text definitions and a renderer to create and modify complex
|
||||
diagrams. The main purpose of Mermaid is to help documentation catch up with
|
||||
development.
|
||||
|
||||
## Tutorial
|
||||
|
||||
```
|
||||
flowchart LR
|
||||
|
||||
A[Hard] -->|Text| B(Round)
|
||||
B --> C{Decision}
|
||||
C -->|One| D[Result 1]
|
||||
C -->|Two| E[Result 2]
|
||||
```
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
|
||||
A[Hard] -->|Text| B(Round)
|
||||
B --> C{Decision}
|
||||
C -->|One| D[Result 1]
|
||||
C -->|Two| E[Result 2]
|
||||
```
|
||||
|
||||
```bash
|
||||
# Create an alias
|
||||
$ alias mermaid-cli='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data minlag/mermaid-cli'
|
||||
|
||||
# Make config file
|
||||
$ cat input.mmd
|
||||
|
||||
# Generate an SVG
|
||||
$ mermaid-cli -i input.mmd -o output.svg -t dark -b transparent
|
||||
```
|
||||
|
||||
[1]: https://github.com/mermaid-js/mermaid
|
Loading…
Reference in New Issue