Get a file extension from a URL in GolangI am presenting a quick code snippet in case anyone else needs a safe way to get the file extension from a URL using Go (Golang). The issue…Apr 28, 2022Apr 28, 2022
Druid complex Lookup using other dimensions, with native query or GolangLookups in Apache Druid are a way to replace values by keys in datasources, without needing to actually change anything in the datasources…Apr 16, 2022Apr 16, 2022
ElasticSearch scripted field: subtract Epoch timestamp and ISO datetimeElasticSearch allows putting data into date-time fields in different formatting. You may have one field that was put as a numeric Epoch…May 21, 2021May 21, 2021
Running PHP-FPM in CLIThe standard for running an NGINX webserver for PHP is with PHP-FPM — PHP FastCGI Process Manager(see nginx docs, digitalocean docs). I…Dec 2, 2020Dec 2, 2020
Couchbase N1QL WHERE…INCouchbase query language N1QL is very annoying when it comes to WHERE...IN clause. I find it very odd that it decided to go different than…Aug 21, 2019Aug 21, 2019
Don’t just create Setter methods, try creating operation methodsIn Java, I come across a lot of unused “setter” and “getter” methods. Creating setters and getters often strikes roots with developers…Dec 16, 2018Dec 16, 2018
Running tests and creating code coverage reports for React / NodeJS project continuously with…The foundation for a healthy project is a high standard of automated tests. When your code is well tested, with tests that cover actual…Jul 3, 20186Jul 3, 20186
Run prettier in WebStorm or IntelliJ on WindowsPrettier can format your code, and one can have JetBrains WebStorm or IntelliJ do that from within the IDE.Mar 15, 20183Mar 15, 20183
Build/Create Docker Images Continuously with JenkinsWhen using Docker to deploy an application, it is best to rebuild the application continuously — for example whenever the application is…Aug 6, 20172Aug 6, 20172