All 'snippets' posts
-
Calculating with different units in CSS
Have you ever come upon the pleasure of doing math in your CSS or LESS code?
-
Useful git commands and snippets
Git is probably the most used developer tool (aside from operating systems, shells and browsers/editors) out there. It can be a lifesaver but if used wrong cause terrible headache. Here are some commands and snippets I’ve encountered and found useful.
-
Virtual Box Command Line Cheat Sheet
Here are a few VirtualBox command line snippets I’ve collected.
-
How to deploy a single JAR file to Maven (oneliner)
I sometimes stumble upon Java libraries that are not available in Maven (or Gradle which seems to use the same ecosystem). To have to most convenient way of developing (ie. contributors should not have to download dependencies for themselves) I used to have my own Maven repository where I can upload such libraries and download them on any machine I try to run a build.
-
The ultimate Docker cleanup command
If you use Docker (native and especially machine, which has only limited virtual disk space on macOS), you might have some problems with all those images you build during development polluting your hard drive. Good thing is, if you want all of that stuff gone, there is a neat oneliner that will do exactly that!
-
Xen Server Admin Cheat Sheet
Here are some helpful snippets for Xen servers.