Skip to content

Instantly share code, notes, and snippets.

View zffocussss's full-sized avatar

zffocussss

  • ShenZhen,China
View GitHub Profile
@zffocussss
zffocussss / http_streaming.md
Created May 9, 2025 01:58 — forked from CMCDragonkai/http_streaming.md
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

@zffocussss
zffocussss / gist:cacfc7f0210c0fc86f68c1d3405a73d0
Last active February 13, 2025 02:59
crane work with ACR(azure container registry)
az acr login -n ${acr}.azurecr.io
crane ls ${acr}.azurecr.io/${repo}
@zffocussss
zffocussss / gist:664fb6dd44c7d18f790574549cf4d389
Created August 29, 2022 09:35 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"