tag: terminal

How to measure test coverage in Django
Maria D. Campbell
Coverage.py is the go-to tool for measuring how much of your Django application your tests actually exercise. Here's how to install it, run it against a real project, and interpret the results.
#command line, #terminal, #fullstack development, #macOS, #django, #python3, #tests, #coverage, #coverage.py

Setting your default browser via Command Line in macOS
Maria D. Campbell
Learn how to use the defaultbrowser Homebrew package to set your default browser from the macOS command line, and why AppleScript-based approaches stopped working in Ventura.
#applescript, #command line, #macOS, #default browser, #homebrew, #terminal

Bash auto-completion in Linux
Maria D. Campbell
Since I have been working much more using bash in Linux, I miss the Zsh auto-completion feature and wanted to implement something similar in Linux bash as well. Learn how to install and use the bash-completion package in a Linux Ubuntu distro.
#command line, #terminal, #linux, #ubuntu, #linux mint, #bash, #auto-completion, #zsh

How to send/receive local emails in Linux Mint/VirtualBox
Maria D. Campbell
In this post, I describe how to set up and use the mail command to send and receive emails on a local network in Linux Mint. I also discuss mail/mailx's limitations that made me switch to the Mutt email client. And finally, I point out the potential pitfalls I encountered when conducting research concerning this post.
#command line, #linux, #linux mint, #local mail, #postfix, #mail command, #mailx command, #mailutils, #terminal, #virtualbox