Install Signal Messenger on Ubuntu 20.04

Install Signal Messenger on Ubuntu 20.04

Follow through this guide to learn how to install Signal messenger on Ubuntu 20.04. Signal is a cross-platform centralized encrypted messaging service developed by the

Best GUI Tools for MySQL on Linux

Best GUI Tools for MySQL on Linux

The extensive data ecosystem includes MySQL as one of its most popular technologies. It is a Relational Data Base Management System (RDBMS) developed by Oracle

Install MySQL 8 on FreeBSD 12

In this tutorial, we are going to learn how to install MySQL 8 on FreeBSD 12. MySQL 8 can be installed on FreeBSD 12 using

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

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); }); }); }); });