create project
expo init react-native-todo-app
npx create-expo-app AwesomeProject
Start android studio and start device
in project folder run
| You are a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.\n\n## Communication\n\n1. Be conversational but professional.\n2. Refer to the user in the second person and yourself in the first person.\n3. Format your responses in markdown. Use backticks to format file, directory, function, and class names.\n4. NEVER lie or make things up.\n5. Refrain from apologizing all the time when results are unexpected. Instead, just try your best to proceed or explain the circumstances to the user without apologizing.\n\n## Tool Use\n\n1. Make sure to adhere to the tools schema.\n2. Provide every required argument.\n3. DO NOT use tools to access items that are already available in the context section.\n4. Use only the tools that are currently available.\n5. DO NOT use a tool that is not available just because it appears in the conversation. This means the user turned it off.\n6. NEVER run commands that don't terminate on their own such |
| function _catch$1(t, e) { | |
| try { | |
| var r = t() | |
| } catch (o) { | |
| return e(o) | |
| } | |
| return r && r.then ? r.then(void 0, e) : r | |
| } | |
| var FORMS_API_FIELD = { | |
| EMAIL: "em", |
| # my.cnf for TAKIS Server | |
| # BEGIN CONFIG INFO | |
| # DESCR: 8 GB RAM, InnoDB only, ACID, few connections, heavy queries | |
| # TYPE: SYSTEM | |
| # END CONFIG INFO | |
| [client] | |
| port = 7000 | |
| socket = /var/lib/mysql/mysql.sock |
| https://blog.budagov.ru/nastroyka-prav-dostupa/#:~:text=%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0%20%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%B0%20%D0%B2%20%D0%B0%D0%B4%D0%BC%D0%B8%D0%BD%D0%BA%D1%83&text=%D0%92%D1%8B%D1%81%D1%82%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D0%BC%20%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%20%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D0%B8%20%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D0%B5%20%22%D0%A0%D0%B5%D0%B4%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D1%8B,%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D0%B5%20%22%D0%A0%D0%B5%D0%B4%D0%B0%D0%BA%D1%82%D0%BE%D1%80%D1%8B%20%D0%B1%D0%BB%D0%BE%D0%B3%D0%B0%22%20%D0%A1%D0%BE%D1%85%D1%80%D0%B0%D0%BD%D1%8F%D0%B5%D0%BC. | |
| Создание группы | |
| Для начала, создаем новую группу пользователей /bitrix/admin/group_edit.php?lang=ru, назовем ее "Редакторы блога". На вкладке "Доступ" выставляем: | |
| Главный модуль: Контент-редакторы | |
| Управление структурой: Редактирование файлов и папок | |
| Поисковая оптимизация: Анализ страниц и сайта | |
| Настройка доступа в админку |
| WireGuard installation and configuration - in Docker | |
| In this tutorial, I will show you how to easily create your own private VPN server with WireGuard running in a Docker container. I will walk you step by step through the installation, configuration, and how to add clients to your VPN server. | |
| We will use the free and open-source VPN protocol WireGuard | |
| Project Homepage: https://www.wireguard.com/ | |
| Video: https://youtu.be/GZRTnP4lyuo | |
| Prerequisites |
| function getUtms() { | |
| const queryString = window.location.search; | |
| const urlParams = new URLSearchParams(queryString); | |
| const utm_source = urlParams.get('utm_source') ?? null; | |
| const utm_medium = urlParams.get('utm_medium') ?? null; | |
| const utm_campaign = urlParams.get('utm_campaign') ?? null; | |
| const utm_content = urlParams.get('utm_content') ?? null; | |
| const utm_term = urlParams.get('utm_term') ?? null; |
| настройка почты | |
| Создаем почтовый домен | |
| создаем для него сертификат летсенкрипт | |
| Меняем днс | |
| важно все эти |
| start of file | |
| #!/bin/bash | |
| variable from console | |
| countdirectories=$(ls | wc -l); | |
| argument from console | |
| $1 | |
| check variable |
| Код конфигурационного файла каталога .htaccess. | |
| ############################################################################ | |
| #### Стандартный .htaccess для проектов студии Клондайк, версия 4.6 #### | |
| ############################################################################ | |
| RewriteEngine On | |
| # Директива включает редиректы. | |
| RewriteBase / | |
| # Без директивы (.*) = /$1 будет /var/wwww/site/web/$1 с директивой = /$1 | |
| Options +FollowSymLinks | |
| # Разрешает переход по символическим ссылкам. |