When working on the frontend for Spring web apps, you will probably have come across an issue where you'll need to reload the app each time you change one line…
Reload html, css and js without restarting app Spring
Change shell Ubuntu
Sometimes you might create a new user without specifiying the necessary arguments, resulting the shell for that user being something other than the default bash shell you're used. This often…
GTX 1050Ti working perfectly on Dell XPS 9570
After countless hours of trying to resolve issues with screen flickering and a host of other graphics issues, I finally managed to get the graphics working correctly with the GTX…
Setup Traefik with Consul ACL in Docker
Start by going to your home directory: cd ~ Next, spin up the Consul Docker container with the following command: docker run -d -v $PWD/consul/data/:/consul/data/ -v $PWD/consul/config/:/consul/config/ -e 'CONSUL_LOCAL_CONFIG={"skip_leave_on_interrupt": true,…
Redirect HTTP to HTTPS cPanel
There are a couple of ways to ensure that all non-secure connections (HTTP) are forced to use a secure connection (HTTPS). The simplest of which is to go the root…
Update root password MySQL
ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
Install fail2ban Ubuntu 18.04
If you're struggling to install fail2ban and being notified that the package cannot be found, you simply need to enable the universe repository and update the package list. sudo add-apt-repository…
ValidatorException: PKIX path building failed
When using self-signed certificates you might come across the following error: > "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" To solve…
Setup Tomcat 8 with Nginx on Ubuntu
Setting up Tomcat 8 with Nginx is very straight forward. sudo nano /etc/nginx/sites-enabled/default Search for the following text with CTRL + W location / And add the following line of…
sign_and_send_pubkey: signing failed: agent refused operation – SOLVED
To solve this problem, you can run: ssh-add
