-
поиск пустых процедур
^Процедура\s+[a-zA-Z0-9А-Яа-яёЁ_]+\(\)\s+Экспорт\s*\n\s*КонецПроцедуры- используем
\n
-
поиск пустых строк
^(s*\n){2,10}- заменять на
\n- один перенос строки
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node { | |
| stage('Создание пустой базы и обновление из хранилища') { | |
| env.RUNNER_V8VERSION='8.3.10.2505' | |
| env.RUNNER_IBNAME="/F${env.WORKSPACE}/build/ib" | |
| cmd("runner init-dev --storage --storage-name tcp://storage.local/master --storage-user Мороз") | |
| } | |
| stage('Проверка логической целостности конфигурации') { | |
| cmd_failsafe('runner checkconfig --junitpath build/out/ConfigLogIntegrity.xml --mode -ConfigLogIntegrity') | |
| step([$class: 'JUnitResultArchiver', testResults: '**/ConfigLogIntegrity.xml']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WITH models AS ( | |
| WITH data AS ( | |
| SELECT | |
| replace(initcap(table_name::text), '_', '') table_name, | |
| replace(initcap(column_name::text), '_', '') column_name, | |
| CASE data_type | |
| WHEN 'timestamp without time zone' THEN 'time.Time' | |
| WHEN 'timestamp with time zone' THEN 'time.Time' | |
| WHEN 'boolean' THEN 'bool' | |
| -- add your own type converters as needed or it will default to 'string' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Автор @vsuh https://gitter.im/EvilBeaver/oscript-library?at=5b47160fc2d95c60f4d26a27 | |
| ОчиститьСообщения(); | |
| мд = Метаданные.Документы.СчетФактураВыданный; | |
| ркв = мд.Реквизиты; | |
| тчч = мд.ТабличныеЧасти; | |
| Сообщить("#### Документ "+мд.Синоним+" | |
| | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=RAS | |
| After=syslog.target | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| WorkingDirectory=/opt/1C/v8.3/x86_64 | |
| User=usr1cv8 | |
| Group=grp1cv8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| SETLOCAL | |
| set LOGFILE=%temp%\%random%.log | |
| if exist %LOGFILE% ( | |
| del /f /s /q %LOGFILE% > nul | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Тестировалось на fedora | |
| 1. устанавливаем https://computingforgeeks.com/install-cisco-anyconnect-on-ubuntu-debian-fedora/ | |
| 2. Настройка сертификата | |
| Имеется клиенский серт с ключом client.pfx | |
| openssl pkcs12 -in client.pfx -out certificate.pem -nokeys | |
| openssl pkcs12 -in client.pfx -out certificate.key -nocerts |
OlderNewer