There are the steps to create GPG key pair and the additional steps to create a subkey.
gpg --full-generate-key
Please select what kind of key you want:
# taken from here: http://web.archive.org/web/20110527163743/https://svn.enthought.com/enthought/browser/sandbox/docs/coding_standard.py | |
""" This module is an example of the Enthought Python coding standards. | |
It was adapted from the Python Enhancement Proposal 8 (aka PEP 8) titled | |
'Style Guide for Python Code' (http://www.python.org/peps/pep-0008.html). | |
The first item in a module must be a documentation string (docstring). The | |
first line of the docstring should be a one line summary. If a more | |
detailed description is required, put an empty line before it. |
Install latest version
sudo apt install postgresql-16 postgresql-client-16
List clusters
sudo pg_lsclusters
How to create a user, a database and grant all privileges on the new database?
sudo -u postgres psql
postgres=# CREATE DATABASE mydb;
postgres=# CREATE USER myuser WITH ENCRYPTED PASSWORD 'mypass';
postgres=# GRANT ALL PRIVILEGES ON DATABASE mydb TO myuser;
postgres=# GRANT ALL ON SCHEMA public TO myuser;
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Jan 31 11:03:57 2013 | |
@author: Sukhbinder | |
https://sukhbinder.wordpress.com/2022/08/21/principal-component-analysis-with-numpy/ | |
""" | |
import numpy as np |
import math | |
import asyncio | |
import logging, sys | |
import sqlite3 | |
from asyncio import sleep | |
from logging.handlers import TimedRotatingFileHandler | |
import aiohttp_cors | |
import aiosqlite | |
import socketio |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
A certificate authority is a third party trusted by hosts and users to sign each other public certificates. So user would need it's pub key signed by the CA in order to access host. And host would need it's pub certificate signed by the CA for users to trust that it's the host they intend to connect.
Generate a host certificate authority