Category Archives: Soft and services

Install go with gvm on MacOS Big Sur

I used to use gvm for this — https://github.com/moovweb/gvm. 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. https://github.com/Homebrew/homebrew-cask. 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 https://crystalidea.com/macs-fan-control/download

Limit kids access to Android

You can use official apps for this: Family Link for Parents — https://play.google.com/store/apps/details?id=com.google.android.apps.kids.familylink and Family Link for Kids — https://play.google.com/store/apps/details?id=com.google.android.apps.kids.familylinkhelper. You need to create a family group, and all your family members will be shown here — https://families.google.com/families and here — https://play.google.com/store/account/family. If you have troubles with some member’s account while trying to add them …

Read more

Copy events from one calendar to another

If your employer does not let you import your work google calendar, you can do it manually all the time or try to automate it. I tried zappier for automation for a couple of weeks now. Works nice. https://zapier.com/apps/google-calendar/tutorials/automatically-copy-events-from-one-google-calendar-to-another https://zapier.com/blog/updates/703/google-calendar-integrations

Interesting alternative to grpc_cli

https://github.com/ktr0731/evans It has REPL mode and CLI mode for e2e tests I think, it could be a good alternative to grpc_cli.

How to watch tv on amazon Fire TV stick

You need to install some apps for that. Settings→My Fire TV→Developer options→Apps from Unknown Sources→ON. 🔍→Type «Downloader»→Click on it→Install. Home→Downloader→Type following link (https://smarttvnews.ru/wp-content/uploads/2017/03/LazyIPTV_2.44.apk)→Install. 🔍→Type «VLC Player»→Install. Home→Lazy IPTV→New playlist→From Internet(by url)→Type «https://smarttvnews.ru/apps/iptvchannels.m3u». Now you can watch it. Home→Lazy IPTV→Channel search→Select a channel you want. More on apps and playlists here — https://smarttvnews.ru/kak-besplatno-smotret-tv-kanalyi-na-android-ustroystvah-i-gde-skachat-besplatnyie-iptv-pleylistyi/ (in Russian).

Debugging site in chrome from android device

Download platform tools from here — https://developer.android.com/studio/releases/platform-tools.html. Run ADB with command

Configure your phone according to this article — https://developer.android.com/studio/debug/dev-options.html (for my specific it is https://www.syncios.com/android/how-to-debug-xiaomi-mi-max-mix.html). Connect your phone to the computer with USB cable. Follow instructions from here — https://developers.google.com/web/tools/chrome-devtools/remote-debugging. When finished, stop ADB and turn off all the developer features on your …

Read more

Make your bot for telegram using go

It’s really not that difficult. Here are the docs: https://core.telegram.org/bots https://core.telegram.org/bots/api Here is a simple library in go for telegram — https://github.com/go-telegram-bot-api/telegram-bot-api/ (too simple, from my point of view, does not cover all functionality, but okay). And here is a skeletton for making your bots if you want it as just standalone binary — https://github.com/nezorflame/example-telegram-bot/

Letsencrypt — easy way

Now you can install certbot-nginx and it will do everything for you.

And then

If it does not work, try this sudo certbot -d example.com -d www.example.com and then select nginx in a prompt. https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-centos-7