Category Archives: Soft and services

DMDE to recover HDD disks

Mac OS — decrease pdf size via Preview app

To decrease the size of the .pdf filled with images, in Preview you can go to Export and set Quartz Filter→Reduce File Size before saving. If the images are too blurry for you, you can add your own profile. 1. Create a directory — /Library/Filters. 2. Add new filter file with unique filter — i.e. …

Read more

Using tcpdump for k8s pods

You need wireshark to be installed on your local machine — download (more on this below). If you don’t have tcpdump installed inside the pod, you can install it with

Then, on your local machine:

If you want to see packets in grpc/http2, you can add a rule in Wireshark. For this, click …

Read more

Run virtual machine Ubuntu/Windows on m1 macos

There is a program called UTM based on QEMU and developed for m1 MacBook virtualization. At least Ubuntu Server is working fine for me. More info on this —

Debugging go app in Jetbrains Goland on m1

First download a proper version of GoLand here — select .dmg (MacOS Apple Silicon) here (direct link — Then make sure you are using arm version of go (go version go1.16.2 darwin/arm64). If not, download and install arm version of golang (like «go1.16.2.darwin-arm64.pkg») from the list here — Now it should work. With …

Read more

Run Steam on MacBook with m1 chip (apple silicon)

You need to install Crossover. Then you need to install Steam there. Good video explaining the process of installing Steam on Apple Silicon chips: Here is the list of supported games —

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

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