This is a fresh install to an Intel based computer. No VM, nothing. The goal is to have a single node kubernetes thing.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
# MINI HOWTO | |
# 0. You will need PyYaml and BeautifulSoup python libraries. (Installation is up to you to figure it out) | |
# 1. Go to your heimdall page and save the html file. Note the file location. | |
# 2. Add the file location to heimdall_page variable. | |
# 3. Add the current homer yml file location as base_yaml variable. | |
# 4. Add your generated homer yaml file location to homer_config variable. | |
# 5. Define your icons folder. (Mine was in homer-icons/png) | |
import yaml | |
from yaml.loader import SafeLoader | |
from bs4 import BeautifulSoup as BS |
import requests | |
import json | |
from bs4 import BeautifulSoup as bs | |
# The URL for the conf page | |
url = "https://infosec-conferences.com/" | |
r = requests.get(url) | |
r.text | |
# header needed as their nginx blocks other User Agents... |
import random | |
def get_rnd(a): | |
import random | |
random_index = random.randint(0, len(a)-1) | |
return a[random_index] | |
heads = ['⊙', 'o', 'ö', 'O', '𑃰'] | |
left_hands = ['\\', '|'] | |
right_hands = ['/', '|'] |
import psycopg2 | |
# The name of the home assistant database | |
DB = "<DBNAME>" | |
# The user to connect to your home assistant database | |
DBUSER = "<DBUSER>" | |
# The IP/hostname of the PostgreSQL server | |
DBHOST = "<DBHOST>" | |
# The password for the user | |
DBPASSWORD = "<DBPASSWORD>" |
#cloud-config | |
# Write a skeleton config file to be replaced by a random password | |
# Skeleton config file is: | |
#{ | |
# "server_port":8000, | |
# "local_port":1080, | |
# "password":"__PASSWORD__", | |
# "timeout":600, | |
# "method":"chacha20" |
I hereby claim:
To claim this, I am signing this object: