-
How to monitor live log updates from a service on Linux
Commands like service SERVICE_NAME status and journalctl -xe are useful for checking a service’s current status or its latest logs. However, the output is a static snapshot. And it only shows at the moment the command is run and doesn’t update automatically. These are different from a command like tail -f, which updates continuously. Fortunately,…
-
How to quickly open the hidden Dock on macOS
Enabling Automatically hide and show the dock in System Settings > Desktop & Dock is a way to great way to gain more screen space. The default delay when the dock appears, however, can hinder productivity. Fortunately, It’s possible to reduce or even completely eliminate this animation delay. How? To fully disable the delay: To…
-
Fix the issue that causes updates to the Angular i18n JSON file to sometimes not work
In the Angular Framework, the TranslateModule is commonly used to support multiple languages by managing translation string in json files for each locale. A frequent issue, however, is that updated translations may not appear in the application even after the json files have been changed. This problem is caused by the browser caching the old…
-
Why isn’t Time Complexity of the Tromino Algorithm O(n⁴)
Without deeper thought, one might easily assume the time complexity of the tromino algorithm is O(n^4). This is because the algorithm divides the matrix into 4 smaller subproblems, suggesting a recursive solution that calls itself 4 times. However, this is not the case. The actual time complexity of the algorithm is O(n^2). Let’s explore why.…
-
Running a shortcut via command line (Terminal) on macOS
You can execute any of your macOS Shortcuts directly from the command line. This allows for scripting possibilities, enabling you to integrate shell scripts and automations. Basic Command Structure For this to work, you must use the exact name of the shortcut as it appears in the Shortcuts app. For instance, if the action name…
-
RxJS – How to wait until all observables emit (combineLatest)
In RxJS, you often need to work with values from multiple observables simultaneously. A common scenario is waiting for several data streams to complete before you can perform an action. The combineLatest operator is the perfect for this. It combines multiple observables and emits an array containing the latest value from each one. combineLatest Here…
-
Reloading NGINX Without Downtime
Sometimes, you need to apply a new configuration without causing downtime by restarting the NGINX. Check if the configuration is valid Before reloading or restarting NGINX, make sure that your configuration is valid. This command check the syntax and validity of your configuration files. Reloading the NGINX To apply the new configuration without downtime, use…
-
Changelog
August 29 (v6.7.1) Various bug fixes and minor improvements: Older Changlogs
-
Posts
Categories Tags
-
About
Hi! I’m Jeonghun! Love writing {code} and developing software that can have a positive impact on our daily lives.