Manage docker log size
When starting to run the container: docker run --log-driver json-file --log-opt max-size=10m --log-opt max-file=3 ... Whilst container is running: truncate -s 0 $(docker inspect --format='{{.LogPath}}' <container-name>)
Reduce disk usage /var/lib/docker/overlay2
Option 1: docker volume rm $(docker volume ls -qf dangling=true) Option2: This deleted all my stopped but current containers. Also deleted a bunch of images. Basically damaged my prod environment enough to waste significant time fixing it: docker system prune -a -f...
Run cygwin command from Java and get output
Run cygwin command from Java and get output
Java: Show all system properties
Solve: “java: package java.sql is not visible” (Maven, Intellij)
Go to src/main/java of the particular module you are trying to compile/build. Create a file called module-info.java in this location. Add the following lines to this file module your-module-name { requires java.sql; }...
java: module not found Intellij / Maven
java: module not found Intellij / Maven
How to Search for Text in directory tree Windows 10 from File Explorer
In the search box type content: followed by the word or phrase you are searching for.(eg content:yourword)
Common Divi Icons
Common Divi Icons
Add a Custom Fixed Header for Mobile Using Divi.
Acknowledgments to Elegant Themes. I didn't come up with this. I am just storing it here for easy future reference. Add the following CSS to the Custom CSS in Theme Options. @media (max-width: 980px) {...
CSS force Divi Footer to be Sticky to bottom of screen
CSS force Divi Theme Footer to be Sticky to bottom of screen