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
FROM alpine:latest | |
RUN apk update && apk upgrade && \ | |
apk add --no-cache \ | |
openssh | |
RUN mkdir -p /keys/web /keys/worker | |
CMD ssh-keygen -t rsa -f /keys/web/tsa_host_key -N '' && \ | |
ssh-keygen -t rsa -f /keys/web/session_signing_key -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
--- | |
- 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 |
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
#Использовать logos | |
#Использовать fs | |
Процедура ВыполнитьОбработку(Знач Каталог) | |
ВсеПапки = НайтиФайлы(Каталог, ПолучитьМаскуВсеФайлы()); | |
Для Каждого НайденныйКаталог Из ВсеПапки Цикл | |
Если Не НайденныйКаталог.ЭтоКаталог() Тогда | |
Продолжить; |
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/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 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
// Поместите настраиваемые сочетания клавиш в этот файл, чтобы перезаписать клавиши по умолчанию. | |
[ | |
{ | |
"key": "ctrl+down", | |
"command": "workbench.action.compareEditor.nextChange", | |
"when": "textCompareEditorVisible" | |
}, | |
{ "key": "ctrl+up", | |
"command": "workbench.action.compareEditor.previousChange", | |
"when": "textCompareEditorVisible" |
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
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 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
#!/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="" |
NewerOlder