PostgreSQL

Download and install on ubuntu22: sudo apt updatesudo apt upgradesudo apt -y install postgresql postgresql-contribsudo -u postgres psql/q create database sudo -i -u postgrespsqlcreatedb testdb;\conninfo create new user: postgres=# create database mydb;postgres=# create user newUser with encrypted password 'Newpass';postgres=# grant all privileges on database classwork to newUser; using pslq: CREATE DATABASE classwork;CREATE USER new/User WITH … Continue reading PostgreSQL

Sphinx (Documentation Generator)

Sphinx is documentation generator. Sphinx reads source files and generate an output It is also consider as Static Site Generator (SSG) reStructuredText is a markup language (just like Markdown and HTML, but it is not lightweight) learn restructureText: https://github.com/DevDungeon/reStructuredText-Documentation-Reference/blob/master/README.rst Basic Commands: pip install sphinx sphinx-autobuild mkdir project mkdir docs cd docs sphinx-quickstart make html python … Continue reading Sphinx (Documentation Generator)