DDDeepak Dindpkd.hashnode.dev·Jan 27, 2025 · 11 min readJava ZonedDateTime: The Parts That Usually Bite You in ProductionMost Java developers learn ZonedDateTime pretty quickly. ZonedDateTime.now(); Then comes the first production bug involving timezones. A date is off by a day. A scheduled job runs at the wrong hour. 00
DDDeepak Dindpkd.hashnode.dev·Jan 27, 2025 · 11 min readDate & Time Facts That Are Easy to ForgetDate and time handling looks straightforward until timezones, DST, Unix timestamps, and different standards start getting involved. Here are a few facts worth keeping around. Some are basic, some are 00
DDDeepak Dindpkd.hashnode.dev·Dec 24, 2023 · 16 min readHow Bash Actually Interprets Your ScriptBash scripts are easy to start writing. #!/usr/bin/env bash name="admin" echo "Hello $name" The trouble usually starts when the script gets a little more complicated. Bash doesn't simply take a line00
DDDeepak Dindpkd.hashnode.dev·Mar 10, 2023 · 10 min readHow to Check if a Port Is Open on a Remote ServerWhen troubleshooting a production network, one of the first questions is: Can I reach <server>:<port> from this machine? This is different from asking whether the application is healthy. For example00
DDDeepak Dindpkd.hashnode.dev·Nov 6, 2022 · 1 min readKubernetes Kind —Dockerized K8S PackageDocker Installation Ubuntu 22.04sudo apt update && sudo apt install -y apt-transport-https ca-certificates curl software-properties-common && \ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docke...00