Extract the tarball:
udo tar -xvf ~/Downloads/gcm-linux_amd64.2.6.1.tar.gz -C /usr/local/bin
then run
Extract the tarball:
udo tar -xvf ~/Downloads/gcm-linux_amd64.2.6.1.tar.gz -C /usr/local/bin
then run
Levenstein distance is an algorithm to find the edit distance of two strings, which is a long-winded way to say it's a way to determine how many steps you would need to take to modify one string into another. This is useful because you can use it as a component of things like similarity algorithms to create a form of autocorrect/suggestion algorithms.
When working with large lists you may want to map over them asynchronously
Topics used (if you want to fully understand the code, you should read these:
# Create Instance from CLSID | |
[System.Activator]::CreateInstance([Type]::GetTypeFromCLSID("56FDF344-FD6D-11d0-958A-006097C9A090")) | |
# Over DCOM | |
[System.Activator]::CreateInstance([Type]::GetTypeFromCLSID("49B2791A-B1AE-4C90-9B8E-E860BA07F889", "10.10.0.1")) | |
# Create Instance from Prog ID | |
[System.Activator]::CreateInstance([Type]::GetTypeFromProgID("Wscript.Shell")) | |
# Shorter version of creating an instance from Prog ID |
# 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 |