This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thank you very much eogiles for earlier written code, credit goes to you. | |
// Thank you very much javajack for earlier written code, credit goes to you. | |
// License for this code: cc by-sa 3.0 | |
// Please get Maven in order for this code to work. | |
// Please get your own imports, you'll probably have to get commons-codec manually by adding it to your POM in Maven: | |
// <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec | |
// To be able to convert to Base64 when making the PasswordDigest token. --> | |
// <dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* replace all UTC dates to local datetime with timezone offset through pipe | |
* usage: docker logs -ft container_name | docker-logs-localtime | |
* | |
* Credits: | |
* | |
* docker-logs-localtime, | |
* thank you anton-x-t, | |
* https://gist.github.com/anton-x-t/859a69d0426ed1e4040660f57229c76c |