A Tern plugin block that draws every node kind a view can hold (Elements), one tab per family: Layout, Text & Code, Data, Lists & Nav, Progress & Motion, Inputs, Bars & Overlays, Agent & Chat, HTML. Interactive kinds are wired to state, so clicks, selections and typing behave as they would in a real block.
How to self-host SonarQube Community Build on a VPS that has no public HTTP exposure — reachable only through a WireGuard tunnel — and still run automated analysis from GitHub-hosted runners by bringing each CI run onto the tunnel as a scoped, temporary peer.
This is the "private by default" pattern: nothing about SonarQube is on the public internet, no domain, no TLS termination, no reverse proxy rule. The only public-facing port on the box is the WireGuard UDP port. Everything else lives behind the tunnel.
Conventions in this guide:
203.0.113.10— the VPS public IP (replace with yours; this is a TEST-NET address used only for illustration).10.0.0.1— the WireGuard server's tunnel IP (private, RFC 1918).10.0.0.0/24— the tunnel subnet.
When you git push and your CI/CD picks it up automatically, there's an
awkward gap: the push succeeded, but is the new code actually serving
traffic yet? Builds take minutes, CDNs cache, rollouts are gradual. Refreshing
the page and squinting at it doesn't prove anything.
This is a three-part pattern that turns "I think it deployed" into a single command that exits 0 only when the exact commit you pushed is live.
Hindsight + Osaurus local LLM setup
This note shows how to run Hindsight in Docker while using an Osaurus-hosted local OpenAI-compatible model for LLM calls.
- Osaurus is running on the host machine.
- Osaurus exposes an OpenAI-compatible API on
http://127.0.0.1:1337.
A step-by-step guide to deploying NousResearch Hermes Agent on a VPS using Dokploy, secured with Tailscale and a locked-down firewall.
- A VPS with Dokploy installed
- Dokploy API token (Settings → API Keys in Dokploy UI)
- A Telegram bot token from @BotFather
- An LLM API key (OpenAI-compatible endpoint)
A custom Biome GritQL plugin that prevents direct console.* usage in React components (.tsx files).
I use OpenObserve for centralized log aggregation. To ensure all browser logs are captured and sent to OpenObserve, I created a browserLogger utility that wraps console methods and forwards logs to my observability backend.
This plugin enforces that pattern by flagging any direct console.log, console.error, console.warn, console.info, or console.debug calls in React components as errors.
| #include <iostream> | |
| #include <algorithm> | |
| #include <vector> | |
| using namespace std; | |
| void q(std::vector<int>::iterator b, std::vector<int>::iterator e) { | |
| auto d = std::partition(b, e, [&](int s) { return s <= *b; }); | |
| if (b < e) q(b, d - 1), q(d, e); | |
| } |