Travel around the world

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 ...

Isla del Sol - no way to avoid to take a money

Isla del Sol - hike trail

The island Isla del Sol located in the southern part of lake Titicaca at an elevation of 3800 meters above sea level. The island is divided in two parts – the north end the south community. We landed on the north part of the island near the village Challapampa. Challapampa bay is very big and beautiful, with clean calm blue water. There were several cafes on the beach where we had breakfast. The trail started from the beach near a small museum with ancient ceramics and bones in glass cases.

 
 

Then the surprises started. Near the museum stood a man who asked us for tickets to go on a trail, but the museum was free. We bought two tickets for 10 Soles and continued on our way. The trail went near a school, between houses and terraced fields. Near the school an old lady in traditional dresse checked our tickets and wished us good luck.

Read more ...

Цитата от доктора Быкова

Как добавит афоризм или цитату на свой сайт работающий на Joomla 1.5 - 2.5?
Задавшись этим вопросом перебрал с десяток модулей, но остановился на несколько нестандартном решении - использовать модуль обратной связи или книги отзывов.

Входные данные были следующие: я хочу публиковать на своем сайте понравившийся мне афоризм быстро, из любого места, без захода в админку и не из текстового файла при этом реализовать задачу обычным модулем Joomla 1,5.
Выходные данные: афоризмы (цитаты) должны появлятся в случайном порядке с корректным отображением русских символов (utf8) и иметь гибкую настройку внешнего вида. То что получилось можно посмотреть вверху страницы. Дизайн стандартный. Теперь о реализации...

Пример:

Сначала была мысль прикрутить модуль JComments, но в стандартной реализации он не позволяет выводить коментарии рендомно (случайно). Писать каждый раз новую статью и выводить заголовое ее или текст из нее рендомно тоже не хотелось - муторно. Погуглив и перепробовав несколько модулей подхватил вирусняк на сайте. Тоже плохо. В итоге вышел на вариант гостевой книги человека поддерживающего сайт. Компонет гостевой книги RSMonials имеет два модуля вывода отзывов, позволяет вставлять изображения. Все бесплатно. Устанавливается элементарно, как обычный компонент для Joomla 1,5 и Joomla2.5. Единственный недостаток в том, что пришлось поменять руками кодировку в таблице и в нескольких строках в базе данных. Иначе русские символы отображаются вопросиками. Но это несложно. Но обратите внимание, что мало поменять кодировку таблицы, нужно еще зайти в кодировку строк внутри таблицы и там тоже ее поменять. После этого все чудесно заработало. Компонет позволяет настроить русский интерфейс для формы ввода и вывода модулей.

Пример работы можно посмотреть на этом сайте в верху страницы. Если добавить отзыв - он станет афоризмом (цитатой) сессии. Форму добавлениея можно спрятать любым другим удобным вам способом, а можно наоборо выпячить и сделать гостевую книгу или сделать модуль добавления цитат (афоризмов) общедоступным. Компонент поддерживает Capcha.

Дерзайте! Добавляйте свой афоризм! :)

Рад если статья вам помогла.

Add comment


Security code
Refresh