Skip to content

22nd Week of 2021



Python Snippets

Python Mysql

  • New: Explain how to interact with MySQL databases with Python.


Continuous Integration

  • New: Explain how to troubleshoot the error: pathspec master did not match any file.

    Remove all git hooks with rm -r .git/hooks.

Software Architecture

Domain Driven Design

  • Improvement: Add warning when migrating old code.

    You may be tempted to migrate all your old code to this architecture once you fall in love with it. Truth being told, it's the best way to learn how to use it, but it's time expensive too! The last refactor I did required a change of 60% of the code. The upside is that I reduced the total lines of code a 25%.



Grammar and Orthography

  • New: Explain what collocations are and how to avoid the word very.

    Collocation refers to a natural combination of words that are closely affiliated with each other. They make it easier to avoid overused or ambiguous words like "very", "nice", or "beautiful", by using a pair of words that fit the context better and that have a more precise meaning.