Skip to content

Instantly share code, notes, and snippets.

View jsturgis's full-sized avatar

Jeff Sturgis jsturgis

View GitHub Profile
@sovajri7
sovajri7 / Plex_Hetzner_Wireguard.md
Last active July 8, 2025 23:01
Using Plex on Hetzner with Wireguard VPN (Docker).

Using Plex on Hetzner with Wireguard VPN (Docker).

With this tutorial, you can route all Plex traffic via Wireguard out of another VPS (2$ IONOS Ubuntu VPS), this can be used for any container but here to bypass the Hetzner block by Plex.

First, thanks to ShipkaChalk (https://gist.github.com/ShipkaChalk/629fdc42dad781776d2007fc502188f3) and his original tutorial that helped me a lot to get the client part.

  1. Get yourself a Linux VPS (ex : Ubuntu 22.04)

  2. Make all updates :

@paulirish
paulirish / what-forces-layout.md
Last active July 9, 2025 04:15
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent