Wednesday, April 13, 2022

How remove first empty element in dropdown in AngularJS1.4.3

Hello, currently I have some count of legacy projects on the support, and they are has been created with AngularJS 1.4.3.


This is framework has features what first element in dropdown will be empty.

By design, it must be an element with label as 'Select from dropdown'.

Problem:



Saturday, April 9, 2022

Some statistics for 2020-2021

 Hello, I found some personal statistics for 2020-2021 when I worked at SberCloud





And some statistics for same period on gitlab - was used for shared development with third party developers



 

Saturday, January 22, 2022

[Mac] brew using on M1

— How to use brew on Mac with M1 processor?
— Just add arch -x86_64 before brew command.

For example, the final result will be:  arch -x86_64 brew upgrade

Sunday, October 31, 2021

Вопросы на собеседовании DevOps инженера

Приветствую, ниже список вопросов которые я задавал devops инженеру на этапе собеседования (собеседование с командой). Зачастую, мы отыгрывали модель хороший-плохой коп :). Я старался быть хорошим, обычно более жесткую технику спрашивали на первом этапе собеседовании или же коллега из R&D/Производства. Вопросы уже неактуальны,  давались 2 года назад мной (я был еще более зеленым). Скорее просто нашел старую заметку - удалять жалко

Saturday, September 18, 2021

[DevOps] Small tricks for debugging docker images

Sometimes you are needed to be got what of consists of in the docker image. So you can convert this is an image to archive and unpack this is an archive to a file system.

For understanding
docker build --tag site:latest .

docker tag site:latest _name/site:latest

docker push _name/site:latest


# This is keyvalues strings

docker run -d -p 3000:3000 --name container_name site:latest

docker export container_name > contents.tar


[DevOps] How detect version of CentOS

Just run it:

cat /etc/centos-release

Monday, March 15, 2021

New devices for the 2020 year

Hello, I got new devices for the 2020 year.

It's Intel NUC 10 Pro (BXNUC10I7FNH2) and Google Pixel 4 64 a white color. 

NUC is will be used as a home server. So maybe it's will be used as a server for my Android Device Farm and for CI and dedicated VMs.

Currently, my configuration of NUC has 16 GB RAM (SO-DIMM DDR4 Samsung) and 500 GB SSD (Samsung 980 PRO). 

About Pixel 4 - what I can say? - Is a good phone, but I caught myself thinking about what iPhone 12 Mini/Pro will be better. The battery is less when the battery in my Honor 10 lite 64. But the 90HZ screen and camera are very good. But if compare cameras Pixel 4 and the original iPhone 11, the last is will be better is some scenes (combined scenes with day and night).

Yep, and in the previous year my first honor 10 lite was stolen and I had to buy a new one. So funny what the police did not try to find it. The realities of life in Russia...