Skip to content

Instantly share code, notes, and snippets.

View AlexDaSoul's full-sized avatar

Alexander Dukhnovskiy AlexDaSoul

View GitHub Profile
@AlexDaSoul
AlexDaSoul / DN_4
Last active March 18, 2023 10:59
Telegram:
https://t.me/AlexDaSoul
Instagram:
https://www.instagram.com/alexdasoul/
Presentation:
https://docs.google.com/presentation/d/1qtCCXzCvCnnn-w5nv3Zvg3RQR0WNG5sgoVK_XWAOZno/edit?usp=sharing
SA:
@AlexDaSoul
AlexDaSoul / .ts
Created January 19, 2020 16:17
nga-42
const meta: grpc.Metadata = new grpc.Metadata({ Authorization: token });
@AlexDaSoul
AlexDaSoul / .json
Last active January 21, 2020 10:03
nga-41
{
"_internal_repr": {
"x-grpc-from": ["auth"],
"user-agent": ["grpc-node/1.24.2 grpc-c/8.0.0 (linux; chttp2; ganges)"]
},
"flags": 0
}
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:12
nga-40
docker logs -f <container name>
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:12
nga-39
docker:dev:down
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:11
nga-38
docker:dev:up
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:11
nga-37
npm run build:grpc:front
@AlexDaSoul
AlexDaSoul / .sh
Last active January 19, 2020 16:10
nga-36
grpcurl -plaintext - import-path ./grpc-proto/user -proto index.proto \
-H 'X-Grpc-From: auth' -d '{ "email": "johndoe@mail.com", "password": "demo" }' \
127.0.0.1:443 api.user.UserService/VerifyUser
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:09
nga-35
npm run build:grpc:back
@AlexDaSoul
AlexDaSoul / .sh
Created January 19, 2020 16:08
nga-34
pbjs -t static-module file1.proto file2.proto | pbts -o bundle.d.ts -