New (_blank) Window Icon for Accessibility

New (_blank) Window Icon for Accessibility
Found this really simple and clean CSS solution to adding new window icon. a[target="_blank"]::after { content: ""; width: 1em; height: 1em; margin: 0 0.05em 0 0.1em; background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNOSAyTDkgMyAxMi4zIDMgNiA5LjMgNi43IDEwIDEzIDMuNyAxMyA3IDE0IDcgMTQgMlpNNCA0QzIuOSA0IDIgNC45IDIgNkwyIDEyQzIgMTMuMSAyLjkgMTQgNCAxNEwxMCAxNEMxMS4xIDE0IDEyIDEzLjEgMTIgMTJMMTIgNyAxMSA4IDExIDEyQzExIDEyLjYgMTAuNiAxMyAxMCAxM0w0IDEzQzMuNCAxMyAzIDEyLjYgMyAxMkwzIDZDMyA1LjQgMy40IDUgNCA1TDggNSA5IDRaIi8+PC9zdmc+) no-repeat; background-size: contain; display: inline-block; vertical-align: text-bottom; } Source and Demo:

cPanel/WHM’s annoying default webpage redirect cache

cPanel/WHM's annoying default webpage redirect cache
Solution Edit the following file: /usr/local/apache/htdocs/index.html And add the following line of code in the <head> <meta http-equiv="Pragma" content="no-cache" /> That’s it! The Problem Ever configure something wrong in cPanel/WHM and then you land on the default webpage that looks something like this? Which says something like… Sorry!If you are the owner of this website, ...

How to use NewRelic with SELinux

NewRelic doesn’t seem to work with SELinux out of the box and it appears it’s out of the scope of NR’s support. So, here’s how to run NR while having SELinux protection. First, we’re going to create the rule file: # mkdir ~/newrelic # cd ~/newrelic # nano newrelic.te The contents of the file should ...

Protected: Cron jobs, the pros and cons of multiple ways to set them

This content is password protected. To view it please enter your password below: Password:

Making CSF work with OpenVPN 4

This guide will assume you have both Config Server Firewall (CSF) and OpenVPN already installed and working individually. To make CSF work with OpenVPN, you’ll need to create extra iptable rules. We do that by adding them to 1 nano /etc/csf/csfpre.shnano /etc/csf/ If the file does not exist, you can create it. If it ...