Travel around the world

Climbing Mount Kazbek (5054 m) from Georgia. A self-planned journey to Georgia with an ascent of one of the highest peaks in the Caucasus.

Climbing Mount Kazbek from Georgia in 2025This is a story about a self-planned climb of one of the most beautiful and highest peaks of the Caucasus — Mount Kazbek (5054 m).

For Tanya, this was her first attempt to conquer the summit, for me — the second. My first attempt in September 2011 from the North Ossetia side during the annual Kazbekiada ended in failure: three days of storms at 4200 meters and a descent to the radon springs with a friend who developed pulmonary edema. This time (spoiler alert) everything went successfully, and we want to share our climbing experience, impressions of ascending from the Georgian side, and the joy of reuniting with friends.

This route is more logical and simpler in terms of approaching the assault camp. The technical ascent from the upper plateau (4500 m) to the summit follows a single path, regardless of whether you approach from Russia or Georgia.

So, let’s get started!

Read more ...

How to Create and enforce Github branch protection rules for Organization. Best Practice

git branches

We are going to enforce the Git Best Practice branch's protection rules and recommendaions for GitHub Organization repositories.

Also we will automate a proces of adding and updating teams and branch protection rules to GitHub Organization repository.

There is the same way to apply branch protection and recommendaions to private (non-organization GitHub repositories but you need to modify the automation scipts). Also some options are not available for non-organization GitHub repositories.

 

 

 

 

Read more ...

Joshua Tree National park.

Национальный парк Joshua TreeAnd once again, we make our journrey with friends, to Joshua Tree National Park

We make our way down here every year, on the last weekend of May, so that we can experience the desert heat, rock climb on real rocks, take some time away from work, and spend our time with good people. On this trip, our whole family came, along with Boris, Natasha, Yulia, Victor Zybin, Kirk + Caren, Gina + Steven, Mónica + Nuno, Brian, Maya + Steve (this is so I don't forget). 
What is Joshua Tree National Park? This is a part of the top of the Mojave Desert - a plateau resting at 1200 meters above sea level, with the temperature lower by 5-10 C, than in the lower part of Mojave Desert. 

What is the Mojave Desert. It is a small desert in North America, where many Hollywood movies were filmed. So, if you see a Hollywood movie with a desert, moon, The Martian - then it was in the Mojave Desert, since Los Angeles and Hollywood are only a one hour drive away. Top Gun was also filmed here. 

Read more ...

Low Disk Space - контроль всободного места на диске в WindowsСтоит задача контролировать количесво свободного места на диске в операционной системе Windows и сообщать ответственным людям по электронной почте о необходимости обслуживания системы. Я Не рассматриваю варианты подключения к мониторинговым системам типа Zenos или Nagios. 

Сервер должен сам сообщить мне о том, что свободное место на его дисках закончилось или достигло опредеоенного лимита. Эта проблема также известна каr Low Disk Space - "Мало места на диске" и может привести к отказе системы или остановке сервисов.

Встоенный Windows сервис "Task Scheduler" будет следить за сообщениями системы об оставшемся свободном месте на дисках и инициировать оправку E-mail указанным в списке адресатам. Для отправки почты будем использовать Open source утилиту SendEmail.exe (во вложении внизу страницы). В этом случае мы не касаемся никаких внешних элементов инфраструктуры. Единственное условие - хост (компьютер) который будет мониторится должен получить доступ к почтовому серверу для отправки Email.

Следуйте следующим шагам. Проверено на Windows Server 2008 R2. Скорее всего должно быть валидно для Window 7 и Windows 2012 R2. Картинки с English версии Windows Server 2008 R2.

1. Добавляем два ключа в реестр. Для этого выполняем regedit. Идем в ветку

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters

и добавляем новые ключи REG_DEORD (32-bit) LowDiskSpaceMinimum и DiskSpaceThreshold с Base Decimal значениями 2048 и 25 соотвественно. 

LowDiskSpaceMinimum = 2048

DiskSpaceThreshold = 25

pic01

В этом случае если свободное место на любом диске системы будет меньше  2048 Мб И это место (2048 Мб) будет составлять меньшн 25% от общего размера этого логического диска система зафиксирует EventID 2013 и инициирует отправку E-mail сообщения.

EventID 2013

 

2. Скачиваем программу SendEmail.exe внизу страницы или ищем ее на просторах Всемирной Паутины. Разархивируем SendEmail.zip в корень диска в папку c:\sendEmail. Выполняемый файл будет иметь путь c:\sendEmail\sendEmail.exe

3. Запускаем Менеджер компьютера - Task Scheduler. Добавляем новое правило - Action - Create Basic Task...

4. Назавем событие "Low Disk Space Alert". Кнопка "Далее".

5. В поле "Log" выбираем из выпадающего списка "System".  В поле "Source" выбираем из выпадающего списка "Srv". В поле "Event ID" вписываем "2013". Кнопка "Далее".

6. Выберите "Start a program". Кнопка "Далее".

7. В поле "Program/Script" вписываем путь к sendEmail.exe "c:\sendEmail\sendEmail.exe". 

8. В поле "Add arguments (optional)" пием следующее:

-s smtp.gmail.com:587 -xu This email address is being protected from spambots. You need JavaScript enabled to view it. -xp nic-name-password -o tls=yes -f This email address is being protected from spambots. You need JavaScript enabled to view it. -t This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it. -u Disk Space Alert name_of_server -m Warning! Server name_of_server is experiencing a low disk space alert. This means that 2GB or less of disk space remains on the server. Please free up some space. This alert is generated via Task Scheduler application on name_of_server.

где:

This email address is being protected from spambots. You need JavaScript enabled to view it.  - email отправителя

nic-name-password  - пароль на email отправителя

This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it. - список получателей

Кнопка "Далее". Закрываем Окно настройки.

9. В списке Активных задачь нажимеем кнопку Task Scheduler. Найдите задачу "Low Disk Space Alert". Правой нопкой на ней  - выбирите "Свойства"

10. Нажмите радио-кнопку ""Run whether user is logged on or not". Оставте все другие чек-боксы пустыми. Нажмите"ОК".

11. Введите пароль администратора системы.

12. Сделано. Можете потестировать уменьшив место на диске до указанных выше параметров.

Дополнительная информация о программе sendEmail не сайте разработчика.

Attachments:
Download this file (sendEmail-v156.zip)sendEmail[Программа для отправки почты на Window компютере]1418 kB

You have no rights to post comments