Skip to content

Instantly share code, notes, and snippets.

@rsyuzyov
rsyuzyov / install-1c-on-linux
Last active December 23, 2025 07:59
install 1c on linux
Для клиента:
apt install ttf-mscorefonts-installer libenchant1c2a fontconfig
fc-cache -fv
Установка полного пакета:
tar -xvzf server64_8_3_22_1750.tar.gz
./setup-full-8.3.22.1750-x86_64.run
Либо только сервера:
dpkg -i 1c-enterprise-8.3.25.1394-*
@YouROK
YouROK / 1 Установка
Last active August 8, 2024 17:44
Install Antizapret to vps
Установка проверялась на Ubuntu 20.04, на других версиях может не работать
Для установки на впс зайдите на совой впс по ssh из под рута, скопируйте строку ниже и вставьте в терминал
rm install-az.sh; wget https://gist.githubusercontent.com/YouROK/21617b476ea914cc5b76d72903d6702f/raw/install-az.sh && chmod +x ./install-az.sh && ./install-az.sh
После установки, если нет подключения, то нужно добавить эти строчки перед ключами
pull-filter ignore block-outside-dns
route 8.8.8.8 255.255.255.255 vpn_gateway
route 77.88.8.8 255.255.255.255 vpn_gateway
@mattiasghodsian
mattiasghodsian / readme.md
Created May 10, 2021 16:53
Setup RAIDZ on Ubuntu Server 20.04 LTS

Setup RAIDZ on Ubuntu Server 20.04 LTS

In this walkthrough we'll be using 4 brand new Seagate IronWolf Pro 10TB 7200rpm 256MB hard drives to setup a ZFS storage pool (RAIDZ 10).

1. ZFS

If you don't have ZFS already installed go ahead and run

sudo apt install zfsutils-linux

2. Disk Identifier & Sector sizes

Before we do anything with the drives we need the disk identifier and sector size for each drive for step 3.

@waylan
waylan / md2md.py
Created June 19, 2020 18:31
Markdown to Markdown using Mistune (experimental and incomplete)
from mistune import create_markdown
from mistune.renderers import BaseRenderer
import re
ESCAPE_CHAR = re.compile(r'(?<!\\)([\\`*_()\[\]#+-])')
UL_BULLET = re.compile(r'(?<=^)(\*)( +)', re.MULTILINE)
def indent(text, level, tab_length=4):
''' Indent block of text by level '''
@pumbaEO
pumbaEO / History\-18b358ad\entries.json
Last active November 8, 2022 12:38
vscode sync settings
{"version":1,"resource":"file:///c%3A/Users/shenja/Documents/git/2ImageDifferent/src/lib/Dedektor.py","entries":[{"id":"0zlE.py","timestamp":1659811739671},{"id":"qIfh.py","timestamp":1659811799108},{"id":"Z7YP.py","timestamp":1659811834049},{"id":"AnmZ.py","timestamp":1659812073206},{"id":"xkBu.py","timestamp":1659812212487},{"id":"k6vg.py","timestamp":1659812233112},{"id":"s6Sw.py","timestamp":1659812271751},{"id":"fg47.py","timestamp":1659812323922},{"id":"bb3d.py","timestamp":1659812495478},{"id":"YaDq.py","timestamp":1659812705252},{"id":"XWau.py","timestamp":1659812721436},{"id":"m3zM.py","timestamp":1659812766103},{"id":"nnFc.py","timestamp":1659812836233},{"id":"DPwN.py","timestamp":1659813065746},{"id":"7Y0L.py","timestamp":1662214331048},{"id":"b2S2.py","timestamp":1662214346540},{"id":"8ncF.py","timestamp":1662214359013},{"id":"xwDG.py","timestamp":1662214378968},{"id":"k5Ib.py","timestamp":1662214974770},{"id":"rJyr.py","timestamp":1662214990117},{"id":"JEHM.py","timestamp":1662215003563},{"id":"C
@jsakhil
jsakhil / Online KMS Activator.cmd
Created August 10, 2019 09:48
Activate Windows & Office for 180 Days with online KMS Servers. This script does not install any files in your system and it clears all the leftovers including kms server name after the Activation. For Successful Activation, Internet Must be connected.
@echo off
::::::::::::::::::::::::::::
set "params=Problem_with_elevating_UAC_for_Administrator_Privileges"&if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs"
fsutil dirty query %systemdrive% >nul 2>&1 && goto :GotPrivileges
:: The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed
If "%1"=="%params%" (echo Elevating UAC for Administrator Privileges failed&echo Right click on the script and select 'Run as administrator'&echo Press any key to exit...&pause>nul 2>&1&exit)
cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%params%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs"&exit
:GotPrivileges
::::::::::::::::::::::::::::
color 1F
@rsyuzyov
rsyuzyov / retail-emulators.md
Last active January 4, 2025 20:16
Эмуляторы для тестирования розницы

ККТ

Скачать с https://releases.1c.ru/project/CEL20
Обсуждение на партнерке 1С
Скачать, распаковать, открыть readme, прочитать и выполнить. Устанавливать строго по инструкции! Если подгрузить в карточку драйвера zip-архив - работать не будет!

Сканер штрихкодов

Приницип:

  • Создать два виртуальных com-порта (COM3 и COM4), вход COM4 направить на выход COM3;
  • Настроить "сканер" на COM3;
@ASRagab
ASRagab / algos.md
Last active July 14, 2024 18:35
Algos and Data Structures

Topics

Algos

  1. Baby Gin Problem
  2. Lexicographic–Order
  3. Johonson-Trotter
  4. Minimum-exchange Requirement
  5. Knapsack Problem and Fractional Knapsack Method
  6. Huffman coding
@zeegin
zeegin / 1cv8.bat
Last active January 15, 2026 07:32
BSL Build cf from EDT
@echo off
SETLOCAL
set LOGFILE=%temp%\%random%.log
if exist %LOGFILE% (
del /f /s /q %LOGFILE% > nul
)
@marshyyyy
marshyyyy / YouTubeSubdomains
Last active January 22, 2026 21:59
YouTube Subdomain & IP List
Subdomain IP Address
host.youtube.com 198.105.244.63
host.youtube.com 198.105.254.63
mx.youtube.com 216.58.192.206
mx.youtube.com 216.58.192.238
mx.youtube.com 172.217.0.14
mx.youtube.com 172.217.6.14
mx.youtube.com 172.217.9.46
mx.youtube.com 216.58.192.174
mx.youtube.com 172.217.6.110