-- Leo's gemini proxy

-- Connecting to nox.im:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8


2022-04-11: Debugging Golang Applications With Visual Studio Code

Notes on how to debug golang with VS Code. Launching with dotenv, cmd argumentes, setting breakpoints and investigating stack variables and segmentation faults.


2022-03-19: Golang Conditional Compilation With Build Tags

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.


2022-03-19: Profiling Golang with pprof

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.


2022-03-11: Ubuntu Nginx Reverse Proxy CORS Headers

Transparently adding Cross-Origin Resource Sharing (CORS) headers to an Nginx reverse proxy for exposed services.


2022-03-10: Ubuntu Deploy, Build and Run Go 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.


2022-03-10: Ubuntu Expose Services Behind an Nginx Reverse Proxy

Routing multiple services exposed locally on different ports and paths through an Nginx reverse proxy on Ubuntu server.


2022-02-12: Git Config and Snippets

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.


2022-02-10: Manage Multiple SSH Keys With Different Hosts

Different github, gitlab accounts may use different SSH keys.


2021-11-05: How to perform OpenBSD System Upgrades?

Steps to keep OpenBSD boxes updated every 6 month.


2021-10-31: How to add any WireGuard VPN Client?

Quick summary of how to create a client configuration from a wireguard server.


2021-10-17: OpenBSD Block Country Traffic

Use PF to block traffic by IP address.


2021-07-24: OpenBSD log rotate newsyslog

Setting up log rotation and retention on OpenBSD for your custom service log files.


2021-07-02: Let's Encrypt PEM Account Key Setup

Account key registration with certbot for later usage with httpd.


2021-07-01: Actually Good Encryption

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