Skip to content

Instantly share code, notes, and snippets.

View prat0318's full-sized avatar
💭
Ubering on.

Prateek Agarwal prat0318

💭
Ubering on.
View GitHub Profile
apiVersion: v1
data:
default.conf: |-
client_body_buffer_size 10M;
client_max_body_size 10M;
lua_shared_dict prometheus_metrics 50M;
lua_package_path "/opt/nginx-lua-prometheus/?.lua";
init_by_lua '
prometheus = require("prometheus").init("prometheus_metrics")
@prat0318
prat0318 / new_machine.md
Last active August 5, 2019 20:41
New machine setup

update

sudo apt-get update

install vim / git / zsh

sudo apt-get install -y git vim zsh

change shell to zsh

chsh -s $(which zsh)

to know your external IP