Author Archives: bullgare

Install go with gvm on MacOS Big Sur

I used to use gvm for this — But initial installation of go from scratch does not work for Big Sur as 1.4 does not have a binary for this OS (this command fails — gvm install go1.4 -B). To use gvm, you can do this: 0. Install gvm — bash <

Use brew cask to install software on MacOS

That’s the way to automate your favorite apps installed on a new machine with one command and a config file. You can either install apps manually with a command like brew cask install goland or install all your apps by provided config. One downside is that it has a limited list of apps supported …

Read more

Mac fan control

It is interesting to check mac’s CPU/GPU temperature and manage fan speed. You can do it with

Add all lines from a .env file to environment



to output to stdout

prepend running a command (did not try it, but something similar):

Complete list of swagger options to protobuf file

Here is an example with many options that help generate proper swagger out of protofile. Original URL —

Refactor your code and know it’s completely backward compatible

The idea is to run 2 versions of code on production: 1 (control group) — is your old implementation which will be returned to the end user 2 (the experiment) — is a new implementation which results will be checked against the control group and logged It will be run asynchronously and only for a …

Read more

GRPC fallback to Rest API with custom field names

When you generate JSON for Rest API from proto-file, protoc-gen-gofast generates field names for JSON in lowerCamelCase format while most of the Rest APIs use snake_case for that. And if you want to replace some legacy API with your new implementation without breaking backward compatibility, you need to fix it. There could be different ways …

Read more

Limit kids access to Android

You can use official apps for this: Family Link for Parents — and Family Link for Kids — You need to create a family group, and all your family members will be shown here — and here — If you have troubles with some member’s account while trying to add them …

Read more

How to update your k8s pod limits

Then search for memory (for instance) and update request/limit for it. When you quit, it will be saved automatically for you.

Test Push Notifications