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" }),
}),
]);
After a week trying I was able to get into the DynamoDB single table design mindset, here are the resources and tools that helped me get in there:
TIL: mix-blend-mode
mix-blend-mode: normal;
mix-blend-mode: screen;
TIL about renameutils
and this little trick in bash to mv
files without typing the full name twice:
$ mv photo/2020/01/01/{IMG,img}0001.jpeg
Source: namsral
TIL: If you remove the A record from the DNS settings, you can’t receive emails.