Skip to content

Instantly share code, notes, and snippets.

View maximsamokhval's full-sized avatar
🇺🇦
develop

Maxim Samokhval maximsamokhval

🇺🇦
develop
View GitHub Profile
@maximsamokhval
maximsamokhval / enterprise_token.rb
Created September 22, 2023 11:06 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2023 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@maximsamokhval
maximsamokhval / install_ras.md
Last active July 17, 2023 07:43
Установить RAS as windows service
@echo off
rem %1 - полный номер версии 1С:Предприятия
rem set SrvUserName=.\USR1CV8
rem set SrvUserPwd=""
set v8Ver=8.3.20.1549
set CtrlPort=1540
set AgentName=localhost
set RASPort=1545
@maximsamokhval
maximsamokhval / Enable_OLE_Automation.sql
Created June 23, 2023 10:47 — forked from jarrettmeyer/Enable_OLE_Automation.sql
Demonstrates how to send an HTTP request with SQL Server using OLE Automation.
EXEC sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO
@maximsamokhval
maximsamokhval / slack-comment-workflow-multiple.js
Created June 12, 2023 12:45 — forked from mrchnk/slack-comment-workflow-multiple.js
Example youtrack workflow. It notifies some user about new mentions in comments.
var entities = require('@jetbrains/youtrack-scripting-api/entities');
var http = require('@jetbrains/youtrack-scripting-api/http');
var slackIdByUsername = {}
slackIdByUsername['@person1'] = '{person1_slack_id}';
slackIdByUsername['@person2'] = '{person2_slack_id}';
slackIdByUsername['@person3'] = '{person3_slack_id}';
var webhookUrl = 'https://{slack_webhook_url}';
@maximsamokhval
maximsamokhval / article.md
Last active April 27, 2023 12:46
Интеграція Stormware Pohoda

Можливості интеграції

Pohoda mServer

image

Pohoda mServer — це простий HTTP-сервер Pohoda, який є частиною програми (розглядайте його як програму в програмі переважно для обміну даними XML). Завдяки цій програмі ви можете надсилати HTTP-запити безпосередньо до Pohoda. Ви можете надіслати запит безпосередньо на сервер (де знаходиться mServer/Pohoda), якщо у вас є підключений, напр. Інтернет-магазин і ваш сервер за допомогою VPN або переадресації портів.

@maximsamokhval
maximsamokhval / join_invoices.py
Created April 27, 2023 06:50 — forked from bzamecnik/join_invoices.py
Joins multiple single-file invoices in the StormWare Pohoda XML format to a single XML file.
"""
Joins multiple single-file invoices in the StormWare Pohoda XML format to a
single XML file.
https://www.stormware.cz/xml/schema/version_2/invoice.xsd
https://www.stormware.cz/schema/version_2/data.xsd
Usage:
$ python join_invoices.py 'single_invoices/*.xml' merged_invoice.xml
@maximsamokhval
maximsamokhval / Очистка кеша 1С.md
Last active June 21, 2023 07:04
Очистка кеша 1С

Я использую скрипт в PowerShell

Get-ChildItem "C:\Users\*\AppData\Local\1C\1Cv8\*","C:\Users\*\ AppData\Roaming\1C\1Cv8\*" | Where {$_.Name -as [guid]} |Remove-Item -Force -Recurse
Get-ChildItem "C:\Users\*\AppData\Local\1C\1Cv82\*","C:\Users\*\ AppData\Roaming\1C\1Cv82\*" | Where {$_.Name -as [guid]} |Remove-Item -Force -Recurse
Get-ChildItem "C:\Users\*\AppData\Roaming\1C\1cv8\*","C:\Users\*\ AppData\Local\1C\1cv8\*" | Where {$_.Name -as [guid]} |Remove-Item -Force -Recurse
@maximsamokhval
maximsamokhval / article.md
Last active April 14, 2023 07:03
Modifiability Tactics (перевод)

Источник: SEI

September 2007

Modifiability Tactics

В этом отчете описывается, как архитектурные тактики основаны на параметрах моделей атрибутов качества.

Abstract

@maximsamokhval
maximsamokhval / ОткрытиеОтчетов.md
Last active May 22, 2024 06:39
Программная работа с отчетами

Все параметры открытия формы отчета

	ПараметрыФормы = Новый Структура;	
	ПараметрыФормы.Вставить("Вариант", НастройкиКомпоновкиДанных);
	ПараметрыФормы.Вставить("ИсточникДоступныхНастроек", ИсточникДоступныхНастроекКомпоновкиДанных );
	ПараметрыФормы.Вставить("КлючВарианта", ); 
	ПараметрыФормы.Вставить("КлючПользовательскихНастроек", );