Eli SegevGet 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…1 min read·Apr 28, 2022----
Eli SegevDruid 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…3 min read·Apr 16, 2022----
Eli SegevElasticSearch 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…2 min read·May 21, 2021----
Eli SegevRunning 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…3 min read·Dec 2, 2020----
Eli SegevCouchbase 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…1 min read·Aug 21, 2019----
Eli SegevDon’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…4 min read·Dec 16, 2018----
Eli SegevRunning 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…8 min read·Jul 3, 2018--6--6
Eli SegevRun 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.2 min read·Mar 15, 2018--3--3
Eli SegevBuild/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…3 min read·Aug 6, 2017--2--2