This file will teach you how to setup a mariaDB docker container, import a .sql
dump and visualize it.
First create a compose.yml
file with the following info:
# Use root/example as user/password credentials
version: '3.1'
# A script to download many videos in parallel | |
import subprocess # Used to instantiate yt-dlp processes to download | |
from typing import List | |
from multiprocessing import Process # Used to parrallel process download subprocesses | |
# Confirm dependencies are installed | |
try: | |
import yt_dlp # Needed for suprocessing | |
except ImportError: | |
print("Youtube DLP not installed, please install with:\n\tpip install yt-dlp\n\t\tor\n\tsudo pip3 install yt-dlp") |
name | URL | Self-Hostable |
---|---|---|
ghost | https://ghost.org/ | Yes |
drupal | https://www.drupal.org/ | Yes |
Wordpress | https://wordpress.com/ | Yes |
Squarespace | https://www.squarespace.com/ | No |
Wix | https://www.wix.com/ | No |
Name | URL | Pricing (lowest tier) |
---|---|---|
Appfleet | https://appfleet.com/ | $10/month 1GB 1vCPU 20GB & $0.04 per GB of traffic |
Dockerize | https://dockerize.io/ | $ 2/month 500MB of RAM 100mCPU 100-300MB (can't tell from site) 5GB of traffic |
Vultr | https://www.vultr.com/apps/docker | $2.5/month 1 vCPU 0.5GB RAM 0.50TB Bandwidth 10GB Storage |
Hostinger | https://www.hostinger.com/vps-hosting | $3.50/month 1GB RAM 20GB SSD 1TB Bandwidth |
To setup your Pi initially install using the imager, after selecting 64-bit os (lite or normal) go into the settings.
Make sure you:
# Create new global aliases | |
New-Alias USERPROFILE $env:userprofile | |
New-Alias PATH $env:path | |
New-Alias python3 python | |
New-Alias which where.exe | |
# NOTE: starship also adds an implicit: New-Alias ~ $env:userprofile | |
# Introducing a set of "aliases" (a hashmap) that will be auto-expanded to expected paths | |
$Custom_Alias = @{ |
"""A script that automates the process found on https://www.electronjs.org/docs/latest/tutorial/quick-start | |
Interactive Usage: | |
python setup-electron.py | |
To pre-specify an app name use: | |
python setup-electron.py <app_name> | |
To run fully headlessly (without forge use): | |
python setup-electron.py <app_name> --headless |
This document outlines many of the key aspects of operating systems, and provides resources to learn more about each part. There are a lot of things missing (i'm on human), but these are enough to get you up and running. The intention is to be able to understand how you go from electricity entering your PC to being at a login screen you can see.
Most of this is relevent to linux primarily because it's open source, so there's much more information available about it, but these principles are the same across systems they just may have different names for things.
Terms inside single quotes: (?s)'(\\\\|\\[0-7]+|\\.|[^'\\])*'
Terms inside double quotes: (?s)"(\\\\|\\[0-7]+|\\.|[^"\\])*"
Finds (not content seperated by them though) * / + - / < > <= >= % = /=
: (\*\*|\*|\+|-|\/|<|>|<=|>=|==|\/=|=|%)
Finds True
or False
(and uncapitalized): (true|false|True|False)