-- Leo's gemini proxy
-- Connecting to nox.im:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; charset=utf-8
Notes on how to debug golang with VS Code. Launching with dotenv, cmd argumentes, setting breakpoints and investigating stack variables and segmentation faults.
Go does not have a preprocessor but supports build tags. Using Go build tags allows us to compile applications with specific features and include or exclude certain functionality at compile time.
Brief reference guide on how to use Go tool pprof to collect CPU profiles, traces, and heap profiles in order to debug Go applications at runtime on http interfaces.
Transparently adding Cross-Origin Resource Sharing (CORS) headers to an Nginx reverse proxy for exposed services.
Quick and dirty approach for rapid development without CI/CD pipelines. We sometimes have to push and build on target machines in short iterations quickly, on a VPS environment powered by the likes of Vultr, Digital Ocean or Linode, shared with small teams.
Routing multiple services exposed locally on different ports and paths through an Nginx reverse proxy on Ubuntu server.
Notes on git config and snippets I use over time to serve as a quick reference. This post includes great answers from StackOverflow that are linked to origin.
Different github, gitlab accounts may use different SSH keys.
Steps to keep OpenBSD boxes updated every 6 month.
Quick summary of how to create a client configuration from a wireguard server.
Use PF to block traffic by IP address.
Setting up log rotation and retention on OpenBSD for your custom service log files.
Account key registration with certbot for later usage with httpd.
PGP/GPG alternative using small explicit keys, no config options, and UNIX-style composability.
-- Response ended
-- Page fetched on Sat Apr 27 20:27:46 2024