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
#!/usr/bin/env bash | |
# Script to (selectively) save/load multiple Docker images to/from a directory. | |
# Run ./save-load-docker-images.sh for help. | |
set -e | |
directory=$PWD | |
filter="" |
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
chcp 1251 | |
set OSCRIPT=D:\SOFT\onescript\bin\oscript.exe | |
set DEPLOYKA=D:\SOFT\onescript\deployka\src\ | |
set EPFROOT=D:\SOFT\onescript\epf | |
set STORAGEPATH=tcp://storage.service.consul/erp | |
set DATABASENAME=ERP | |
set DATABASE=/S"onec.service.consul\%DATABASENAME%" | |
set VERSION=8.3.9.1818 | |
set BUILDPATH=d:\Soft\Enterprise |
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
// Поместите настраиваемые сочетания клавиш в этот файл, чтобы перезаписать клавиши по умолчанию. | |
[ | |
{ | |
"key": "ctrl+down", | |
"command": "workbench.action.compareEditor.nextChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ "key": "ctrl+up", | |
"command": "workbench.action.compareEditor.previousChange", | |
"when": "textCompareEditorVisible" |
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
// Процедура устанавливает новые параметры в исходники конфигурации | |
Процедура ЗаписатьПараметрыКонфигурации(Знач КаталогИсходныхФайлов, | |
Знач ПараметрыКонфигурации, | |
ПринудительноПерезаписать = Ложь) Экспорт | |
ФайлКонфигурации = Новый Файл(ОбъединитьПути(КаталогИсходныхФайлов, "Configuration.xml")); | |
Если Не ФайлКонфигурации.Существует() Тогда | |
ВызватьИсключение СтрШаблон(""); | |
КонецЕсли; |
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
// Функция читает параметры конфигурации из каталога исходников | |
// | |
Функция ПолучитьПараметрыКонфигурацииИзИсходников(КаталогИсходныхФайлов) | |
ФайлКонфигурации = Новый Файл(ОбъединитьПути(КаталогИсходныхФайлов, "Configuration.xml")); | |
Если Не ФайлКонфигурации.Существует() Тогда | |
ВызватьИсключение СтрШаблон(""); | |
КонецЕсли; |
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
```bsl | |
``` |
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 | |
# Check whether apt-get support https | |
[ -e /usr/lib/apt/methods/https ] || { | |
apt-get update | |
apt-get install apt-transport-https | |
} | |
# Add offical key | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 |
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
#Использовать logos | |
#Использовать fs | |
Процедура ВыполнитьОбработку(Знач Каталог) | |
ВсеПапки = НайтиФайлы(Каталог, ПолучитьМаскуВсеФайлы()); | |
Для Каждого НайденныйКаталог Из ВсеПапки Цикл | |
Если Не НайденныйКаталог.ЭтоКаталог() Тогда | |
Продолжить; |
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
--- | |
- build: # stage ('build') { ... | |
# define the docker image used to run the build | |
# an implicit volume for current project's git working copy is mounted | |
image: maven:3.3-jdk-8 | |
# set environment variables, use $$ for credentials injection, as used by http://readme.drone.io/usage/secrets/ | |
environment: | |
- foo: bar |
OlderNewer