Sometimes a project can get to a point where there are so many local branches that deleting them one by one is too tedious. This one-liner can help:
Git commands like git diff and git add --patch are awesome, but their little caveat is that they only work on files that are currently tracked in the reposit...
It’s very straightforward to save a matplotlib figure to disk:
If you encounter the following error when starting a docker container:
While fitting a sklearn model, I encountered the following error: