TIL: How to copy html in JavaScript
await navigator.clipboard.write([
new ClipboardItem({
["text/plain"]: new Blob([element.innerText], { type: "text/plain" }),
["text/html"]: new Blob([element.innerHTML], { type: "text/html" }),
}),
]);
TIL: How to copy html in JavaScript
await navigator.clipboard.write([
new ClipboardItem({
["text/plain"]: new Blob([element.innerText], { type: "text/plain" }),
["text/html"]: new Blob([element.innerHTML], { type: "text/html" }),
}),
]);
Why? Because it is faster to load without a lazy load plugin.
How to add Bluetooth to your Bose QC 25 headphones:
Cheat sheet: Update a docker container image version
docker-compose stop [CONTAINER]
docker-compose rm [CONTAINER]
docker images
docker image rm [HASH]
docker-compose up -d
One of my favorite photoblogs: Office Today by Automattic
Saved $4 USD by using OpenVPN on a Linux VPS instead of paying a company for this service
In 2022 I’m going to start using Tailwind CSS finally!
The metaverse is already here, it’s called the internet