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. НЕ работает группировка Procedure/EndProcedure, Function/EndFunction | |
//2. Не опознаются ключевые слова "Not", "In", "False", "True" | |
//3. Не опознается объект CommandLineArguments (АргументыКоманднойСтроки) | |
//4. Не опознается метод Count() (Количество()) у массивов | |
//5. RunApp глотает кавычки: | |
//cmdLine = | |
//"C:\Snegopat 20\fossil.exe" clone "http://snegopat.ru:9004" "C:\Snegopat 20\repo\core.fossil" | |
// | |
//а командная строка процесса = | |
//"C:\Snegopat 20\fossil.exe" clone http://snegopat.ru:9004 C:\Snegopat 20\repo\core.fossil |
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
////////////////////////////////////////////////////////////////////// | |
// | |
// Изменение remote для нескольких репозитариев GIT | |
// Copyright EvilBeaver <[email protected]> 2015 | |
// | |
////////////////////////////////////////////////////////////////////// | |
Перем СтарыйПрефикс; | |
Перем НовыйПрефикс; |
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 | |
# simple installer for Ubuntu 14.04 https://bitbucket.org/EvilBeaver/1script/wiki/Home | |
echo 'Starting wgeter latest develops' | |
wget --continue http://oscript.io/downloads/night-build/latest.zip | |
unzip -o latest.zip -d osc-engine |
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 Тогда |
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
@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
// 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
#Использовать 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
# -*- 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
#!/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 |
OlderNewer