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
limit=50 | |
cooldown=7 | |
interval=5 |
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
#Использовать fs | |
#Использовать progbar | |
Процедура ВыполнитьСортировку(Знач ИсходныйПуть) | |
ПрогрессБар = Новый ПрогрессБар(); | |
ВсеФайлы = НайтиФайлы(ИсходныйПуть, ПолучитьМаскуВсеФайлы(), Ложь); | |
Таблица = Новый ТаблицаЗначений(); | |
Таблица.Колонки.Добавить("Ключ", Новый ОписаниеТипов("Дата")); |
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
Н = 50000000; | |
Массив = Новый Массив(); | |
Массив.Добавить(Ложь); | |
Массив.Добавить(Ложь); | |
Для индекс = 2 По Н Цикл | |
Массив.Добавить(Истина); | |
КонецЦикла; |
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
Перем Консоль; | |
Перем Змея; | |
Перем Яблоко; | |
Перем ЗнакЛево; | |
Перем ЗнакВерх; | |
Функция КоординатаЯблокаЛево() | |
Возврат ГСЧ(Консоль.Ширина, ЗнакЛево); | |
КонецФункции |
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 | |
wget --no-check-certificate https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.3/rabbitmq-server_3.6.3-1_all.deb | |
apt-get -y install erlang-nox socat && | |
dpkg -i rabbitmq-server_3.6.3-1_all.deb && | |
rm rabbitmq-server_3.6.3-1_all.deb && | |
rabbitmq-plugins enable rabbitmq_management | |
rabbitmqctl add_user admin admin |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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 | |
#Использовать cmdline | |
Перем Лог; | |
Перем мТекущаяВерсия; | |
Процедура ОпределитьТекущуюВерсию() | |
ИмяКомпонента = "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\V83.COMConnector\CLSID\"; |
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
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
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 | |
rem %1 – полный номер версии 1С:Предприятия | |
rem %2 – имя сервера (с портом агента). Важно указать именно 1540, а не 1541 | |
rem %3 – порт RAS | |
set SrvUserName=LocalSystem | |
set SrvUserPwd="" | |
set Agent=%2 | |
set RASPort=%3 | |
set SrvcName="ras %Agent%" |
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 | |
Процедура ВыполнитьОбработку(Знач Каталог) | |
ВсеПапки = НайтиФайлы(Каталог, ПолучитьМаскуВсеФайлы()); | |
Для Каждого НайденныйКаталог Из ВсеПапки Цикл | |
Если Не НайденныйКаталог.ЭтоКаталог() Тогда | |
Продолжить; |
NewerOlder