Abe Estrada

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 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.