Useful command finding migration file in django
Submitted by stephenwenceslao on Sun, 08/29/2021 - 14:40find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
Install cups on your raspberry pi (raspbian lite)
$ sudo apt-get install cups cups-bsd
Set your hostname on cups configuration
$ sudo nano /etc/cups/cupsd.conf
To remotely control your printer using webpage (cups):
$ cupsctl --remote-admin
To test printing on command line
$ lp -d printer_name ~/my/file/destination/test.doc