Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
omegaconf
can parse command-line options too. However, unlikeargparse
it does not enforce any constraint on command-line options.
Tips on Redash
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Creating a new query runner (data source)
https://discuss.redash.io/t/creating-a-new-query-runner-data-source-in-redash/347
Tips on arp-scan
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Installation
Ubuntu
wajig install arp-scan
Mac
brew install arp-scan
Usage
sudo arp-scan -l
sudo arp-scan -l -I network_interface
Docstring in Python
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
-
I personal prefer the sphnix style as it is concise and work well with type annotation.
-
Improperly escaped
\n
in docstring causesdarglint
fail to parse the docstring …
Tips on Darglint
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
-
It is suggested that you avoid using
darglint
directly, but instead you can useflake8
which will automatically calldarglint
if it exists. -
Improperly escaped
\n
causesdarglint …
Path Pattern Matching in Python
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- Pathspec is preferred over zgitignore as the latter is not actively maintained.
zgitignore¶
zgitignore
checks if a file is ignored by a .zgitignore