понедельник, 28 апреля 2025 г.

KALI linux

https://habr.com/ru/articles/905226/

path

https://habr.com/ru/news/904890/

sly

https://cloud4box.com/blog/nginx-chto-za-instrument-ego-osobennosti-sfery-primeneniya/

Security checklist

https://1cloud.ru/help/network/securitychecklist

iptables

https://1cloud.ru/help/linux/linux_security_basics

https://1cloud.ru/help/linux/Nastrojka_Linus-firewall_iptables


Nginx epoll

https://nginx.org/ru/docs/events.html#kqueue

https://1cloud.ru/blog/nginx_work_and_setup

https://habr.com/ru/post/260065/

https://1cloud.ru/help/ssl/installsslnginx

https://www.digitalocean.com/community/tutorials/understanding-the-nginx-configuration-file-structure-and-configuration-contexts

LEMP
https://1cloud.ru/help/linux/ustanovka-lemp-steka-linux-nginx-mysql-php

https://www.digitalocean.com/community/tutorial-series/introduction-to-nginx-and-lemp-on-ubuntu-14-04

Reverse proxy

https://phoenixnap.com/kb/nginx-reverse-proxy

RTMP

https://habr.com/ru/articles/191052/

https://github.com/arut/nginx-rtmp-module

Первые шаги

https://habr.com/ru/companies/first/articles/683870/

Тбилиси, квартира в ипотеку

https://habr.com/ru/articles/904578/

Будущее программиста

https://habr.com/ru/articles/904754/

https://habr.com/ru/articles/904940/

четверг, 24 апреля 2025 г.

nginx udp

https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

https://hlmod.net/articles/proksirovanie-ljubogo-udp-tcp-trafika-cherez-nginx-proizvoditelnaja-alternativa-haproxy.25/

https://habr.com/ru/companies/nixys/articles/473578/

https://habr.com/ru/companies/tbank/articles/452336/

https://www.f5.com/company/blog/nginx/compiling-dynamic-modules-nginx-plus

https://www.f5.com/go/product/nginx-modules

https://stackoverflow.com/questions/40917372/udp-forwarding-with-nginx

 stream {
     server {
         listen 11016 udp;
         proxy_pass juniper_close_stream_backend;
         proxy_responses 0;
     }
 }
--with-stream=dynamic


./configure --with-cc-opt='-g -O2 
-fdebug-prefix-map=/build/nginx-DhOtPd/nginx-1.10.3=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro 
-Wl,-z,now'

OpenIDE

https://habr.com/ru/companies/spring_aio/articles/903856/#comment_28215512

https://gitflic.ru/project/openide/openide

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009394899-How-can-one-build-IntelliJ-IDEA-Community-Edition-from-source-from-terminal

четверг, 17 апреля 2025 г.

FreeArc

https://forum.ru-board.com/topic.cgi?forum=5&topic=35164&start=3160

Part 1

https://forum.ru-board.com/topic.cgi?forum=5&topic=24319&start=1980

GTK Builder

https://mirivlad.ru/d1-80-d0-b0-d0-b7-d1-80-d0-b0-d0-b1-d0-be-d1-82-d0-ba-d0-b0-d0-b3-d1-80-d0-b0-d1-84-d0-b8-d1-87-d0-b5-d1-81-d0-ba-d0-b8-d1-85-d0-bf-d1-80-d0-b8-d0-bb-d0-be-d0-b6-d0-b5-d0-bd-d0-b8-d0-b9-d0-bf/

Srach

https://www.linux.org.ru/forum/talks/13039218

https://www.linux.org.ru/news/opensource/9241491/page18

GTK+ прямо в браузере посредством HTML5

https://masters.donntu.ru/2012/iii/kramarenko/ind/index.htm

http://www.youtube.com/watch?v=vtKp6Opg2jg

Prog

http://habrahabr.ru/blogs/programming/116268/

Gtk

https://valadoc.org/gtk+-3.0/Gtk.Application.html

https://programmersforum.ru/showthread.php?t=73079

https://habr.com/ru/sandbox/146850/

https://habr.com/ru/articles/136922/


glade_xml_new_from_buffer


https://www.youtube.com/watch?v=ykIed8Pp0CU

https://glade.gnome.org/

https://web.archive.org/web/20210628084247/https://prognotes.net/gtk-glade-c-programming/

https://www.peteronion.org.uk/GtkExamples/GladeTutorials.html

явно конвертировать строки в UTF8 

#define _LOCALE_TO_UTF8(str) g_locale_to_utf8((const char *)(str), -1, NULL, NULL, NULL) 

#define _UTF8_TO_LOCALE(str) g_locale_from_utf8((const char *)(str), -1, NULL, NULL, NULL) 

#define _UTF8(str) _LOCALE_TO_UTF8((str)) 

#define _LOCALE(str) _UTF8_TO_LOCALE((str)) 

#define _U(str) _UTF8((str)) 

#define _L(str) _LOCALE((str)) ) 



QT

LinuxFormat Glade NCurses


среда, 16 апреля 2025 г.

GUI



Крипта для чайников

https://habr.com/ru/articles/901436/

CDC rsync

https://github.com/google/cdc-file-transfer

https://habr.com/ru/companies/ruvds/articles/734070/

https://vasilisc.com/zsync

MS Pascal

https://archive.org/details/PC_Tech_Journal_vol03_n06/page/n41/mode/2up?view=theater

https://archive.org/details/microsoft-pascal-compiler-4.0

https://archive.org/details/microsoft-quick-pascal-1.0-3.5.-7z

вторник, 1 апреля 2025 г.

Hashtable

0x9e3779b9

представляет собой целую часть дробной части Золотого сечения 0,61803398875… (sqrt(5)-1)/2, умноженную на 2^32.

Следовательно, если φ = (sqrt(5)+1)/2 = 1,61803398875 — это Золотое сечение, хэш-функция вычисляет дробную часть n * φ, которая имеет хорошие свойства рассеивания. Чтобы убедиться, просто создайте диаграмму рассеивания
(n, n*c-FLOOR(n*c))
в вашей любимой таблице, заменив
c
с φ, e, π и т. д. Некоторые интересные реальные проблемы, возникающие при неправильном выполнении, описаны в https://lkml.org/lkml/2016/4/29/838.
Этот метод часто называют «хешированием золотого сечения» или «хешированием Фибоначчи», и он был популяризирован Дональдом Кнутом (Искусство программирования: Том 3: Сортировка и поиск). В терминах теории чисел он в основном сводится к гипотезе Штейнгауза (https://en.wikipedia.org/wiki/Three-gap_theorem) и рекурсивной симметрии дробных частей кратных золотому сечению φ.Иногда вы также можете увидеть
0x9e3779b1
, который является ближайшим к
0x9e3779b9
(и, похоже, это немного похоже на «культ карго», поскольку это не модульный хэш). Аналогично,
0x9e3779b97f4a7c15
и
0x9e3779b97f4a7c55
являются 64-битными эквивалентами этих чисел.

ZeroTierOne-1.14.2\node\Hashtable.hpphttps://softwareengineering.stackexchange.com/questions/402542/where-do-magic-hashing-constants-like-0x9e3779b9-and-0x9e3779b1-come-from
http://troydhanson.github.com/uthash/
erlang-fast_tls
https://github.com/processone/fast_tls/tree/master/c_src

The Paul Hsieh hash function
https://www.azillionmonkeys.com/qed/hash.html
https://www.azillionmonkeys.com/qed/hash.c