Добірка моноширинних шрифтів з GitHub, нотатки щодо вибору файлів у релізах, встановлення на Windows 10 і менеджери шрифтів.
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
| import os | |
| import subprocess | |
| import time | |
| import pyautogui | |
| # Directorul cu fisierele PDF | |
| pdf_dir = r'g:\1' | |
| # Calea catre executabilul ABBYY FineReader | |
| abbyy_path = r'"g:\Kituri\ABBYY FineReader PDF Corporate 16.0.14\FineReader OCR Editor.exe"' |
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
| <!DOCTYPE html> | |
| <html lang="uk"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Як ефективно повідомляти про помилки</title> | |
| <style> | |
| body { | |
| font-family: Georgia, "Times New Roman", serif; | |
| max-width: 800px; |
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
| reboot -r для этого необязателен, а вот для чего он обязателен, у меня тоже есть тесткейс | |
| то есть был | |
| Фряха в виде nanobsd на 8-мегабайтном флеше с загрузчиком U-Boot, перепрошивка без консоли по сети | |
| md формируется в RAM (в моём случае было 128M RAM), reboot -r, на md стартует кастомный /etc/rc, который качает по сети на md новый образ, льет его во флеш и делает полный ребут | |
| Рабочий код для этого http://www.grosbein.net/freebsd/mips/upgrade/ | |
| скрипт upgrade подготавливает md | |
| скрипт rc.upgrade это и есть кастомный /etc/rc на md | |
| https://lists.freebsd.org/pipermail/freebsd-mips/2016-February/004431.html |
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
| AdNauseam | |
| BlockTube | |
| LastPass | |
| OneTab | |
| Reader | |
| Simple Translate | |
| Stackovershits | |
| Tab Session Manager | |
| TamperMonkey | |
| To Google Translate |
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
| # Создание сайта из Markdown файлов: полное руководство | |
| ## Содержание | |
| - [GitHub Pages + Jekyll](#github-pages--jekyll) | |
| - [MkDocs](#mkdocs) | |
| - [Docusaurus](#docusaurus) | |
| - [Размещение на GitHub](#размещение-на-github) | |
| ## GitHub Pages + Jekyll |
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 | |
| # License: | |
| # Public Domain | |
| # Author: | |
| # Eugene Grosbein | |
| # Description: | |
| # Пользователям stable, чтобы не пересобирать мир для исправления FreeBSD-SA-24:04.openssh |
Configuration information for the Microsocks package on FreeBSD as the existing documentation does not give sufficient details to create a secure configuration flexible enough to use for various use cases. See https://github.com/rofl0r/microsocks for the latest source code and wiki documentation. Note: The user authentication method supported by Microsocks is only plaintext, and is not protected by any layer of encryption. Please be hyper aware and use other layers of protection to secure your socks5 endpoint. (Firewall + TLS encryption with client authentication using something like stunnel).
- If you want an easy way of doing this, just look at
ssh -D localhost:1080 <user@host>instead since SSH provides a native Socks5 tunnel with encryption. - You can also use stunnel in socks5 protocol mode without Microsocks since it has native support for
protocol = socks. See stunnel documentation here: https://www.stunnel.org/static/stunnel
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
| VERSION=19.07.7 | |
| # Download imagebuilder for R7800. | |
| aria2c -c -x4 -s4 https://downloads.openwrt.org/releases/${VERSION}/targets/ipq806x/generic/openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz | |
| # Extract & remove used file & cd to the directory | |
| tar -xvf openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz | |
| rm openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64.tar.xz | |
| cd openwrt-imagebuilder-${VERSION}-ipq806x-generic.Linux-x86_64/ |
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 | |
| # HDD or SSD Disk Cleanup | |
| # Debian | |
| disk_list=sda100 | |
| disk_list=$(grep -E "nvme[0-9]+n[0-9]$|[hsv]d[a-z]$" /proc/partitions | awk '{print $4;}' | sed ':a;N;$!ba;s/\n/ /g') | |
| for disk in ${disk_list}; do |
NewerOlder