Spring Boot provides [actuator endpoints][actuator-endpoints] that allows you to monitor or manage your application over JMX or HTTP. To add custom endpoint annotate Spring bean with @Endpoint
.
How to delete all .DS_Store files
If you have ever received zip file created on MacOS, then you know all those annoying .DS_Store
files popping up all over the place. The good news is that you can delete all .DS_Store
files recursively with a simple one liner.
Using git interpret-trailers to parse keywords in commit message
While playing around with Git hooks I found one not very popular, but useful, command - interpret-trailers
.
Turns out keywords and metadata added (usually) at the end of the commit message are called trailers
.