This file contains 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 | |
rem %1 – полный номер версии 1С:Предприятия | |
rem %2 – имя сервера (с портом агента). Важно указать именно 1540, а не 1541 | |
rem %3 – порт RAS | |
set SrvUserName=LocalSystem | |
set SrvUserPwd="" | |
set Agent=%2 | |
set RASPort=%3 | |
set SrvcName="1C:Ras 8.3 %Agent%" |
This file contains 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
Последовательный нумератор коммитов тэгами вида v.X пропуская первые N коммитов | |
git log --pretty=format:"%H %d" | \ | |
head -n -2 | \ | |
tac | \ | |
nl | \ | |
grep -v 'tag: v.' | \ | |
awk '{print "git tag v." $1 " " $2}' | \ | |
bash |
This file contains 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
#!/bin/sh | |
# simple installer for Ubuntu 14.04 https://bitbucket.org/EvilBeaver/1script/wiki/Home | |
echo 'Starting wgeter latest oscript' | |
oscriptdeb="oscript-latest.deb" | |
wget http://oscript.io/downloads/latest/x64/deb -O $oscriptdeb | |
sudo dpkg -i $oscriptdeb | |
rm $oscriptdeb |
This file contains 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
Функция ЕстьКонфликтБлокировок(Блокировка1, Блокировка2) Экспорт | |
//Преобразуем в пары область - массивы структур | |
ДанныеБлокировки1 = ПреобразоватьБлокировку(Блокировка1); | |
ДанныеБлокировки2 = ПреобразоватьБлокировку(Блокировка2); | |
Для каждого КЗ1 Из ДанныеБлокировки1 Цикл | |
Область = КЗ1.Ключ; | |
ДанныеРазделяемые1 = КЗ1.Значение.Разделяемые; | |
ДанныеИсключительные1 = КЗ1.Значение.Исключительные; |