Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Automate Let's Encrypt renewal with cron
Explainer

Automate Let's Encrypt renewal with cron

Check existing Certbot renewal automation, test it safely, and reload the web server only after a certificate is renewed.

Illustration of scheduled jobs, logs and Linux operations
Explainer

Schedule a cron job for a specific date and time

Read the five cron fields, account for recurring dates and timezone, and choose at for a job that should run only once.

Schedule recurring tasks in Windows
Explainer

Schedule recurring tasks in Windows

Use Task Scheduler or schtasks to run scripts on a schedule, with an explicit interpreter, task account, and working directory.

Send Kubernetes application errors to Google Cloud Error Reporting
Explainer

Send Kubernetes application errors to Google Cloud Error Reporting

Use structured container logs or the Error Reporting API, and verify collection, stack-trace formatting, resource type, and workload credentials.

Illustration of server operations and request logs
Explainer

Configure Nginx as a caching reverse proxy

Set up a bounded response cache, exclude personalized requests, inspect cache status, and manage expiry without confusing bypass with purge.

Illustration of Git branches and version history
Technical guide

View your global Git configuration

List global settings, trace configuration values to their source and scope, and account for includes, worktree settings, and command-level overrides.

Illustration of Git branches and version history
Technical guide

Review staged changes before a Git commit

Compare the index with HEAD, distinguish staged and unstaged edits, and inspect exactly what a normal commit will record.

Illustration of Linux system logging
Explainer

Find recent queries in MySQL

Inspect retained Performance Schema statement history or enable a short general-log capture, with correct ordering and logging scope.

Illustration of an event loop and asynchronous tasks
Technical guide

Wait without blocking in Node.js

Pause an async function with a timer Promise, cancel a wait with AbortSignal, and avoid blocking the event loop or assuming exact timing.

Illustration of Git branches and version history
Technical guide

Choose an SSH private key for Git commands

Select an SSH identity per command, host alias, or repository, and verify the effective configuration without confusing commit identity with authentication.

Illustration of Git branches and version history
Technical guide

Squash recent Git commits into one

Use interactive rebase or a soft reset to combine private commits, preserve a backup, and avoid rewriting unrelated shared history.

Illustration of Git branches and version history
Technical guide

Stash untracked files in Git

Include new files with stash -u, distinguish ignored files from untracked files, and restore a stash without losing track of conflicts.