Skip to content

Instantly share code, notes, and snippets.

View anton-x-t's full-sized avatar

Anton Thelander anton-x-t

  • Uppsala, Sweden
View GitHub Profile
@anton-x-t
anton-x-t / docker-logs-localtime
Last active August 3, 2023 07:37 — forked from popstas/docker-logs-localtime
docker-logs-localtime - Replace all UTC dates in docker logs output to local dates in pipe
#!/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
@anton-x-t
anton-x-t / gist:43a298607937c46bbdf9e102ddeec332
Last active October 2, 2018 13:19 — forked from javajack/gist:04422d5a95d8e8dae1aa
SOAP JAX WS Password Digest Nonce Date Created Handler generator
// 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>