Hash and UID tools
hash
- hashCode
- simpleHash
- hash-sum
- js-xxhash Web Assembly version
- object-hash
- SubtleCrypto digest (browser built-in SHA1, SHA256)
Akabeko | |
Anchor | |
Ancient Tea Set | |
Art of War | |
Astrolabe | |
Bag of Marbles | |
Bag of Preparation | |
Bird-Faced Urn | |
Black Blood | |
Black Star |
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Raster Tests</title> | |
<style> | |
html { | |
font: 24px/1.25 system-ui, sans-serif; | |
} |
const $ = document.querySelector.bind(document); | |
const $$ = document.querySelectorAll.bind(document); |
html { | |
font: 125%/1.2 system-ui; | |
background-color: #999; | |
} | |
img { | |
max-width: 100%; | |
height: auto; | |
display: block; | |
} |
Abessinier | |
Ägyptische Mau | |
American Bobtail Shorthair | |
American Curl Shorthair | |
American Shorthair | |
American Wirehair | |
Anatoli | |
Arabische Mau | |
Asian | |
Australian Mist |
This is an incomplete list of Nightbot commands I use on my Twitch channel to facilitate the teaching of webdesign. Many commands only generate links to specific sites, but some also offer advanced functionality, such as RNG. You should probably adjust the code, if you'd like to use them.
Command: !random
Description: Generate a random number between 1 and 100, or a specific interval
Usage: !random
, !random 1 10
or !random 5 20
$(eval if ($(1) && $(2)) {
/* | |
Calculate a RNG value with a percent chance to succeed, | |
based on a range and an stat input value somewhere between. | |
This is how the challenges in Sunless Sea work, for example. | |
- The lower bound defines a starting value required to get over 0% | |
- The upper bound defines the value at which you always succeed | |
- The stat value should between the two in order to produce a meaningful chance. | |
*/ |
Die Bitrate bestimmt die Qualität des Inhalts. Wird sie größer, steigen Qualität und Speicherbedarf an. Bilddimensionen, bzw. Länge des Musikstücks beeinflussen ebenfalls die Dateigröße: Höhere Auflösung bewirkt in der Regel größeren Platzbedarf.
Kompression | Bild | Video | Audio |
---|---|---|---|
lossy | JPG, PNG-8, WEBP, HEIC | H.264, H.265, DivX, Xvid, 3GP, MJPEG | MP3, AAC, OGG |
lossless | PNG-24 | DV-PAL, PNG | FLAC, APE, ALAC, AIFF, WAV |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Highscore Demo</title> | |
</head> | |
<body> | |
<script type="module"> | |
import highscore from './highscore.js' | |
let points = new highscore('points', 14, 'desc'); /* keep up to 14 scores, under the storage name 'points', sorted in descending order */ |