Skip to content

Instantly share code, notes, and snippets.

View alvaro893's full-sized avatar

Álvaro Bolaños Rodríguez alvaro893

View GitHub Profile
@alvaro893
alvaro893 / Linux_tips.md
Last active February 24, 2024 14:31
Tips for Ubuntu / Manjaro

Wayland

software that works well in wayland see https://arewewaylandyet.com/

Fix resolution scaling of (some) GTK applications

on KDE select "Scalling themselves" under "X11 legacy applications" on display settings will fix blurring scaling on most of application but some will look strange (small icons and so on), you can fix it by adding

GDK_SCALE=2 GDK_DPI_SCALE=0.5

as envinroment variables to applications that won't scale correctly. orca-scaling

@CMCDragonkai
CMCDragonkai / http_streaming.md
Last active April 25, 2024 17:19
HTTP Streaming (or Chunked vs Store & Forward)

HTTP Streaming (or Chunked vs Store & Forward)

The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.

However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on