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
# у 1С нет x86_64 версии компонента V83.COMConnector, поэтому проще запустить x86 версию PowerShell | |
if ($env:Processor_Architecture -ne "x86") { | |
write-warning "Запуск PowerShell x86..." | |
if ($myInvocation.Line) { | |
&"$env:WINDIR\syswow64\windowspowershell\v1.0\powershell.exe" -NonInteractive -NoProfile $myInvocation.Line | |
} else { | |
&"$env:WINDIR\syswow64\windowspowershell\v1.0\powershell.exe" -NonInteractive -NoProfile -file "$($myInvocation.InvocationName)" $args | |
} | |
exit $lastexitcode | |
} |
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 | |
echo Автоматическая распаковка дистрибутивов конфигураций 7.7 | |
echo -------------------------------------------------------- | |
echo (c) 2012, Decker, andrewks | |
rem http://dml.compkaluga.ru/forum/index.php?showtopic=54199 | |
rem необходим распаковщик STIX | |
rem (http://www.kannegieser.net/veit/quelle/stix_src.arj) | |
rem более шустрая версия для Windows 7 и выше | |
rem создаёт символические ссылки вместо копирования файлов | |
rem mklink требует админа |
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
export WINEDLLOVERRIDES=mscoree,mshtml= | |
mkdir -p $WORKSPACE/build/ | |
mkdir -p $WORKSPACE/build/test-reports/ | |
mkdir -p $WORKSPACE/build/test-reports/xunit/ | |
USERPWD="" | |
if [ -z "$buildDBUSER" ]; then | |
echo "user not set" | |
else |
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
#!/bin/bash | |
# | |
# git-mv-with-history -- move/rename file or folder, with history. | |
# | |
# Moving a file in git doesn't track history, so the purpose of this | |
# utility is best explained from the kernel wiki: | |
# | |
# Git has a rename command git mv, but that is just for convenience. | |
# The effect is indistinguishable from removing the file and adding another | |
# with different name and the same content. |
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
Mozilla Public License, version 2.0 | |
1. Definitions | |
1.1. "Contributor" | |
means each individual or legal entity that creates, contributes to the | |
creation of, or owns Covered Software. | |
1.2. "Contributor Version" |
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
https://github.com/EvilBeaver/OneScript/commit/b51d2d9817ef65e43217792c1fb149cfb2cb78dc#commitcomment-17572463 | |
@allusitn | |
А можно вопрос - а что делает этот код ? и зачем он нужен ? | |
ПодключитьВнешнююКомпоненту(ОбъединитьПути(Каталог, "oscript.exe")); | |
@dmpas | |
dmpas commented on b51d2d9 a day ago | |
@allustin Загружает классы из библиотеки "oscript.exe" в глобальное пространство. Очевидно, подгружает классы для разбора multipart-запроса, которые @EvilBeaver вынес из общей библиотеки непосредственно в oscript.exe. Вот мне и непонятно, почему oscript.exe сам не может их подгрузить при запуске? |
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
rem Shenja Sosna @pumbaEO 10:43 | |
rem это мой скрипт инициализации нового проекта. | |
rem %OnecREPODATA% - путь к хранилищу | |
rem %OSCRIPT% - путь к oscript.exe | |
rem %GITSYNC% - путь к папке src из gitsync | |
rem последние две строки выполняю по желанию. | |
cd mynewrepo | |
git init | |
mkdir cf |
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
http://prntscr.com/b89ubc | |
@EvilBeaver у тебя же jenkins для сборки используется oscript? Может обновишься до 2.0 и можно буде простенький JenkinsFile приложить к репозиторию и будет счастье с автособорками к pull request? | |
node { | |
stage 'checkout' | |
checkout scm | |
stage 'test' | |
dir("build"){ | |
bat "test-run.bat" | |
} |
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
#в Windows файл нужно располагать в %APPDATA% (в Вин7-8-10 это C:\Users\ИМЯ_ПОЛЬЗОВАТЕЛЯ\AppData\Roaming ) | |
proxy = proxy.domain.com:8080 | |
proxy-user = username:userpass |
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
// Привязка файлов *.os к oscript.exe | |
// Запуск скриптов *.os из командной строки без указания расширения | |
// (с) awa, 2015 | |
#Использовать tempfiles | |
Процедура Главная() | |
СистемнаяИнформация = Новый СистемнаяИнформация; | |
ОС = НРег(СистемнаяИнформация.ВерсияОС); | |
Если Найти(ОС, "windows") = 0 Тогда |