day in and day out, its the small things that kill our spirit: The sales representative whoe empties his cold coffee and leaves the splatters all over the sink. The manager who uses the last drop of lotion and doesn’t refill the container The analyst who walks away from the printer, leaving the red light […] →Read more
Setting up a convenient environment on macOS for developers involves configuring the terminal, installing essential tools, and customizing workflows for efficiency. Here’s a comprehensive guide: 1. Update macOS and Install Xcode Command Line Tools Ensure your macOS is up-to-date: sudo softwareupdate –install –all Install Xcode Command Line Tools (required for compilers like gcc and tools […] →Read more
# Prompt Variable Example Category 1 You are an expert in {language}, please explain how the {function} works in {language} in a simple and understandable way language, function You are an expert in Python, please explain how the list comprehension works in Python in a simple and understandable way learn 2 You are an expert […] →Read more
Overview Occasionally you will need to monitor components which cannot be scraped. The Prometheus Pushgateway allows you to push time series from short-lived service-level batch jobs to an intermediary job which Prometheus can scrape. Combined with Prometheus’s simple text-based exposition format, this makes it easy to instrument even shell scripts without a client library. Data […] →Read more
Overview Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. A Prettier plugin must first parse the source code of the target language into a traversable data structure (Usually an […] →Read more