Skip to content

Instantly share code, notes, and snippets.

View alksily's full-sized avatar
🏠
Working from home

Aleksey Ilyin alksily

🏠
Working from home
View GitHub Profile
@alksily
alksily / readme.md
Created March 1, 2019 12:18
Nginx with Push Stream Module
deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx
wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key && rm nginx_signing.key
@alksily
alksily / gist:85f22a84febe44cb5fd161f6b06e2d2a
Last active May 19, 2016 18:30
Regex for parse Accept header
(?<type>(?:\w+|\*)\/(?:[\w\+]+|\*))(?:\;q=(?<q>\d(?:\.\d|))|)[\,]{0,}