What is the difference between apt-get and apt?

By | July 3, 2023

Both apt-get update and apt update are commands used to update the package lists on a Debian-based Linux system, such as Raspberry Pi OS (formerly Raspbian). They perform essentially the same function, which is to synchronise the local package list with the repository servers to ensure that the latest package information is available. The main… Read More »

Update your Django db model

By | May 12, 2023

If you have changed your database schema, you can up date your model by first running the inspectdb command. If you have too many tables in your database, pipe the results to a temporary file first and then manually copy the models over. Then run: ref: https://dev.to/idrisrampurawala/creating-django-models-of-an-existing-db-288m

Useful command lines to know

By | March 20, 2023

Secure Copy scp [file on your computer] [destination host]:[folder] PIP JSON viewer https://jsonlint.com/ One way to traverse YouTube is [header][c4TabbedHeaderRenderer][subscriberCountText][accessibility][accessibilityData][label] However, an easier way is to use a helper site.

How to install Python on Dreamhost

By | March 20, 2023

Dreamhost has a great resource for installing Python which can be found at: https://help.dreamhost.com/hc/en-us/sections/203651898-Python In particular, if you are using Python 3, this is the resource guide to use: https://help.dreamhost.com/hc/en-us/articles/115000702772-Installing-a-custom-version-of-Python-3