| Distribution \ Comparison | Benefits | Costs |
|---|---|---|
| GHES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| class TOC { | |
| constructor() { | |
| document.addEventListener('DOMContentLoaded', () => this.onLoad()); | |
| } | |
| onLoad() { | |
| this.article = document.querySelector('article'); | |
| const toc = this.article.querySelector('toc'); | |
| if (!toc) return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # stepper.py | |
| # A micropython driver for 4-phase, unipolar stepper motors such as | |
| # the 28BYJ-48 | |
| # Relesed to the Public Domain by Nicko van Someren, 2020 | |
| # The constructor for the Stepper class takes as arguments the four | |
| # pins for driving the motor phases, in phase order, and optionally a | |
| # timer. The pins can be passed as pin numbers or machine.Pin objects |
Mermaid is a JavaScript based parsing engine that allows you to embed blocks of graph markup into a page. Markdown Monster supports two different approaches using either code block or HTML tag syntax to embed the mermaid blocks.
Note the MM internal preview can't properly display or refresh all chart types, but you can preview in your system browser via
Shift-F12to see proper representation.
You can use a mermaid code block:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import io | |
| import selectors | |
| import subprocess | |
| import sys | |
| def capture_subprocess_output(subprocess_args): | |
| # Start subprocess | |
| # bufsize = 1 means output is line buffered | |
| # universal_newlines = True is required for line buffering | |
| process = subprocess.Popen(subprocess_args, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |