moultingyaml: Scala wrapper for SnakeYAML
Comment¶
If the input YAML doc has multiple formats,
you can first load it as an Object
and then use Object.isInstanceOf to check its type
and use Object.asInstanceOf[SomeType] to cast it to the right type.
Make A Dot Match Newline in the re Module in Python
Comment¶
- Pass
re.DOTALLto the optionflagsto make a dot match newlines as well.
Hands on the re.match object in Python
Equality by Reference and Value in Python
Below is a summary of equality by reference and value in different programming languages.
Hands on Full-text Search in SQLite3
FTS5 (Full-text Search) in SQLite3¶
- If tokens in the search phrase are separated by either spaces or plus signs,
then they are matched in order by tokens in the text.
To match tokens orderless,
you can separate tokens in the search phrase with the keyword
AND.
Tips on Jupyter Binder
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
By default a Jupyter notebook server is shown. You can manually switch to the JupyterLab server by changin
treetolab?in the URL. For more details, please refer to binder-examples …