- Prime Number: Integer > 1 with exactly two factors (1 and itself)
- Prime Factorization: Expressing a number as product of primes
-
Primality Test (naive): Check if any number from 2 to
$\sqrt{n}$ divides n
function isPrime(n) {
/** RGB color in functional notation (e.g. rgb(255, 0, 0)) */ | |
export type RGB = `rgb(${number}, ${number}, ${number})`; | |
/** RGBA color in functional notation (e.g. rgba(255, 0, 0, 0.5)) */ | |
export type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`; | |
/** HSL color in functional notation (e.g. hsl(0, 100%, 50%)) */ | |
export type HSL = `hsl(${number}, ${number}%, ${number}%)`; | |
/** HSLA color in functional notation (e.g. hsla(0, 100%, 50%, 0.5)) */ |
Deploy Appwrite 1.7.4 on Coolify using its built-in Traefik proxy for wildcard SSL certificates (*.example.com
) via DNS challenge. This enables custom domains for Appwrite Sites and Functions.
back.example.com
[site-id].example.com
[function-id].example.com