Skip to content

Instantly share code, notes, and snippets.

@zeegin
zeegin / junit_to_console.py
Created May 8, 2020
Script is printing junit result to console and stop the process if error or fails was found
View junit_to_console.py
#!/usr/bin/env python
# use as:
# python -u junit_to_console.py print junit.xml
import argparse
from junitparser import JUnitXml
from tabulate import tabulate
View MakeBackup.cmd
@echo off
chcp 65001 > nul
if /%1 == / goto help
pushd "C:\Program Files\1cv8\current\bin"
1cv8.exe ENTERPRISE /F %2 /N %3 /P %4 /WA- /AU- /DisableStartupMessages /C ЗавершитьРаботуПользователей
pushd %2
"C:\Program Files\7-Zip\7z.exe" a -t7z %1 1Cv8.1CD 1Cv8Log\* -ms -mmt
@zeegin
zeegin / maintenance.bat
Created Apr 2, 2019
1c postgres maintenance and backup for windows
View maintenance.bat
@echo off
chcp 65001 > nul
set E1C_RAS=localhost:3545
set E1C_RAC=C:\Program Files\1cv8\current\bin\rac.exe
set DB_SERVER=localhost:3541
set DB_NAME=1C_DATABASE
set DB_USER=1C_ADMINISTRATOR
set DB_PWD=1C_PASSWORD
set PGUSER=PG_ADMINISTRATOR
@zeegin
zeegin / 1cv8.bat
Last active Aug 7, 2020
BSL Build cf from EDT
View 1cv8.bat
@echo off
SETLOCAL
set LOGFILE=%temp%\%random%.log
if exist %LOGFILE% (
del /f /s /q %LOGFILE% > nul
)