Skip to content

Instantly share code, notes, and snippets.

@iruslanalexan
iruslanalexan / xhprof-xhgui-nginx-php-fpm-docker.md
Created October 18, 2021 10:14 — forked from rija/xhprof-xhgui-nginx-php-fpm-docker.md
Configuring xhprof and xhgui for a multi-containers setup (nginx/php-fpm)

Начать рассматривать вопрос по обновлению VMBitrix PHP и MySQL следует из https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=37&LESSON_ID=8831 Но я у себя на локальном не стал апгрейдить до MySql8 , зная о возможных потерях , которых удалось избежать, сделав бэкап из 5.7 в совместимый формат 8.0 и восстановив его на новый MySql8.0

Но речь, полагаю, не об апгрейде, а о конвертации

Вопреки устаревшему тезису tf8mb4 кодировка в Битриксе не поддерживается потребители бодро сообщают о том, что ничто не мешает переконвертить базу в эту кодировку. Сейчас у меня крутятся пара проектов в этой кодировке, проблем не наблюдаю

Есть небольшие риски для некоммерческих CMS Например по запросу mysql 5.7 utf8mb4 более-менее оптимистичные статьи, хотя и требующие мозгового штурма

@iruslanalexan
iruslanalexan / cheatsheet.md
Created October 21, 2022 14:04 — forked from masklinn/cheatsheet.md
launchctl/launchd cheat sheet

I've never had great understanding of launchctl but the deprecation of the old commands with launchctl 2 (10.10) has been terrible as all resources only cover the old commands, and documentation for Apple utilities is generally disgracefully bad, with launchctl not dissembling.

Mad props to https://babodee.wordpress.com/2016/04/09/launchctl-2-0-syntax/ which contains most details

domains

Internally, launchd has several domains, but launchctl 1 would only ask for service names,

Building Python 3.11

This article focuses on building CPython for common Linux server operating systems.

These scripts will be tested in fresh Docker container.

I'll install dependencies from package manager if possible, or I'll try compile myself if that makes sense.

The dependencies doesn't change much between these CPython versions, so Python 3.12 and 3.10