close up photo of rainbow colors

Generate HSL color schemes with SCSS and CSS Custom Properties

Here’s how to generate complex HSL color schemes with saturation, lightness and opacity with SASS and CSS variables (custom properties). All you need to do is to set the –color-hue the –color-sat and –color-luma variables that represents the hsl values of your main color. Each color will then be represented as follows: Quick Tips: In […]

i love you wall decor

How to secure the WordPress login panel with fail2bain (and without plugins)

If you are running your own server, it may be useful to create a jail with fail2ban to block attempts to access your blog. (I assume you already have fail2ban installed) Edit the local jails file: sudo nano /etc/fail2ban/jail.local Find the log path for your server (important) NGINX: /var/log/nginx/access.log APACHE: /var/log/apache/access.log add the wp-auth jail: […]

Show a Qr Code on contact form 7 mail submit

This example show how display a  QR code on mail submit with Contact Form 7 For first go to the 3rd tab and edit the success message (the first) adding at the end %%[_date]-[_serial_number] (so the message will look like “success message sent %%[_date]-[_serial_number]”) ref.