## On This Day... ```dataview LIST FROM "DevLog/log" WHERE dateformat(file.day, "MM-dd") = dateformat(this.file.day, "MM-dd") ``` --- ## Notes Created Today ```dataview TABLE created, updated as modified, tags, type, status FROM "DevLog" AND !"DevLog/log" WHERE contains(dateformat(file.ctime, "YYYY-MM-dd"), dateformat(this.file.day, "YYYY-MM-dd")) ``` --- [[DevLog/log/2021-06-17|2021-06-17]] <== <button class="date_button_today">Today</button> ==> [[DevLog/log/2021-06-20|2021-06-20]] - [[Python]] [[watermark]] [[jupyter]] [Calm Code Watermark][1] - move browser technical links to logseq - [[Azure Devops]] [Implementing DevSecOps in Azure][2] - [[Pipelines]] [[Azure Devops]] [[DevLog/r|r]] [Azure DevOps Pipelines for deploying content to RStudio Connect][3] - [[Python]] [Absolute vs Relative Imports in Python][4] - importing a package, essentially is importing the `__init__.py` module a module is any .py file - so having the `__init__.py` importing the other modules is how you load the whole thing in one go - Absolute imports are recommended in PEP8: - but when you have a crazy directory structure - `from package1.subpackage2.subpackage3.subpackage4.module5 import function6` - sometimes relative may be preferred - add pre-commit hooks for markdown somehow, settings auto fix via linter and pre-commit hooks? - [[Python]] [10 common security gotchas in Python and how to avoid them][5] [1]: https://calmcode.io/shorts/watermark.py.html [2]: https://www.nearform.com/blog/getting-devsecops-right-in-azure/ [3]: https://medium.com/rstudio-connect-digest/azure-devops-pipelines-for-deploying-content-to-rstudio-connect-e992f49103b6 [4]: https://realpython.com/absolute-vs-relative-python-imports/ [5]: https://hackernoon.com/10-common-security-gotchas-in-python-and-how-to-avoid-them-e19fbe265e03