How to copy paste lines in vim

How to copy paste lines in vim

Follow this tutorial to learn how to copy paste lines in vim. VIM, an acronym for Vi iMproved, is a highly configurable text editor built

Install KVM on Oracle Linux

Install KVM on Oracle Linux

In this tutorial, you will learn how to install KVM on Oracle Linux. KVM, an acronym for Kernel-based Virtual Machine, is an opensource, full virtualization

install backuppc in

How to Install BackupPC on Debian 12

In this guide, we will learn how to install BackupPC on Debian 12. BackupPC is a free, high-performance enterprise-grade backup software suite with a web-based frontend that

How to use htop Command in Linux

How to use htop Command in Linux

In this tutorial, you will learn how to use htop command in Linux. An interactive process viewer (htop) is a free GNU GPL process viewer

lamp

Install LAMP Stack on Debian 11

Follow through this guide to learn how to install LAMP Stack on Debian 11. If you are looking at building some web application, LAMP stack

document.addEventListener("DOMContentLoaded", function() { document.querySelectorAll(".scroll-box").forEach(function(box) { box.style.position = "relative"; // Needed for absolute positioning of button var button = document.createElement("button"); button.className = "copy-icon-btn"; button.setAttribute("aria-label", "Copy code"); button.innerHTML = ''; box.appendChild(button); button.addEventListener("click", function() { var text = box.innerText; navigator.clipboard.writeText(text).then(function() { button.querySelector("svg").setAttribute("fill", "#4CAF50"); setTimeout(function() { button.querySelector("svg").setAttribute("fill", "white"); }, 1500); }).catch(function(err) { console.error("Copy failed: ", err); }); }); }); });