Ну скажите мне еще раз что винду можно уважать , пофиксили все, стабильно, шикарно работает
&#% там плавал!!!!
Гребаная винда за сегодня только упала с синим экраном дважды! В первый раз при распечатке на принтере!!! Драйвер принтера может кинуть панику в операционку, Карл!!! Мля нет слов
А вчера она просто поставила перед фактом что перезагружается через минуту бо обновлений накачала
Еще есть вопросы почему ее хэйтят ???
Давайте еще подумаем продакшн ставить на нее... нет слов
&#% там плавал!!!!
Гребаная винда за сегодня только упала с синим экраном дважды! В первый раз при распечатке на принтере!!! Драйвер принтера может кинуть панику в операционку, Карл!!! Мля нет слов
А вчера она просто поставила перед фактом что перезагружается через минуту бо обновлений накачала
Еще есть вопросы почему ее хэйтят ???
Давайте еще подумаем продакшн ставить на нее... нет слов
А малышка могет однако
https://www.youtube.com/watch?v=QQ3zMsvoJYQ&ab_channel=ETAPRIME
https://www.youtube.com/watch?v=QQ3zMsvoJYQ&ab_channel=ETAPRIME
YouTube
ASUS Tinker Board 2S First Look - A Powerful SBC For 2021?
The All-new ASUS Tinker Board 2 and Tinker Board 2S are here but should you buy one?
In this video we take a look and test out the Tinker Board 2S Single board computer powered by the RK3399 and capable of running Linux Or Android 10 on paper this looks like…
In this video we take a look and test out the Tinker Board 2S Single board computer powered by the RK3399 and capable of running Linux Or Android 10 on paper this looks like…
WireGuard
Шустрый бесплатный ВПН просто капэц (ну сервак вам таки придется создать)
Настраивается за 10мин
работает пока хорошо) посмотрим как будет дальше
== Официальный вебсайт
https://www.wireguard.com/
== Про протокол
https://www.wireguard.com/protocol/
== WireGuard — прекрасный VPN будущего?
https://habr.com/ru/post/432686/
== ЕСЛИ КТО РЕШИТ СОЗДАТЬ СЕРВАК НА ДО 5$ = нам вместе будет выгодно. перейдите по ссылке https://m.do.co/c/a7a63e8dfa85
== Скрипт для установки в 3сек
https://github.com/l-n-s/wireguard-install
https://www.xmodulo.com/wireguard-vpn-network-manager-gui.html
Шустрый бесплатный ВПН просто капэц (ну сервак вам таки придется создать)
Настраивается за 10мин
работает пока хорошо) посмотрим как будет дальше
== Официальный вебсайт
https://www.wireguard.com/
== Про протокол
https://www.wireguard.com/protocol/
== WireGuard — прекрасный VPN будущего?
https://habr.com/ru/post/432686/
== ЕСЛИ КТО РЕШИТ СОЗДАТЬ СЕРВАК НА ДО 5$ = нам вместе будет выгодно. перейдите по ссылке https://m.do.co/c/a7a63e8dfa85
== Скрипт для установки в 3сек
https://github.com/l-n-s/wireguard-install
sudo systemctl start wg-quick@wg0.service== NM нужен свежий что бы было удобно =(
sudo systemctl stop wg-quick@wg0.service
https://www.xmodulo.com/wireguard-vpn-network-manager-gui.html
Wireguard
WireGuard: fast, modern, secure VPN tunnel
для себя открыл
напрмиер свой айпишник посматривать
generic monitor для панели xfce4
как я без этого жил раньше ???? можно воткнуть туда команду и оно будет показывать её аутпут. и пинговать каждые сколько скажешь секунд. АХЕРЕНЕННОнапрмиер свой айпишник посматривать
curl ifconfig.mehttps://www.linuxtrainingacademy.com/determine-public-ip-address-command-line-curl/
apt install -y xfce4-genmon-plugin
Linux Training Academy
Determine Your Private and Public IP Addresses from the Command Line | Linux Training Academy
Learn how to get the IP address of your Linux system from the command line. Also, learn how to get your public ip address using curl and wget.
Forwarded from Блог Сергея Баранова
Security-Chaos-Engineering-Verica-.pdf
2.4 MB
Достаточно свежая, очень классная книга по теме Security Chaos Engineering.
== Декомпозиция системы на микросервисы
https://youtu.be/u_K0uxw-Qro
не панацея, но
+ сокращение очереди задач в бэклоге
+ устранение проблемы больших релизов
+ интеграция с другими технологиями
+ сокращение среднего времени восстановления
+ снижение совокупной стоимости владения
Работают они только тогда когда есть хорошая культура девопс, и наоборот. культура девопс хороша когда микросервисы в системе
https://youtu.be/u_K0uxw-Qro
не панацея, но
+ сокращение очереди задач в бэклоге
+ устранение проблемы больших релизов
+ интеграция с другими технологиями
+ сокращение среднего времени восстановления
+ снижение совокупной стоимости владения
Работают они только тогда когда есть хорошая культура девопс, и наоборот. культура девопс хороша когда микросервисы в системе
== Baud
https://en.wikipedia.org/wiki/Baud
Бод - то в чем измеряют количество символов данных по каналу связи.
Бод очень плотно связан с Gross bit rate - полное количество бит переданных физически по каналу включая оверхэд данных на протоколе самом. ЕСЛИ МЫ ГОВОРИМ ПРО СИСТЕМУ ГДЕ СИМВОЛЫ МОГУТ ИМЕТЬ БИНАРНЫЕ ЗНАЧЕНИЯ
https://en.wikipedia.org/wiki/Baud
Бод - то в чем измеряют количество символов данных по каналу связи.
Бод очень плотно связан с Gross bit rate - полное количество бит переданных физически по каналу включая оверхэд данных на протоколе самом. ЕСЛИ МЫ ГОВОРИМ ПРО СИСТЕМУ ГДЕ СИМВОЛЫ МОГУТ ИМЕТЬ БИНАРНЫЕ ЗНАЧЕНИЯ
Forwarded from oleg_log (Oleg Kovalov)
Python я в прод не пускал, но эта штука звучит полезной и приятной.
In Python every class can have instance attributes. By default Python uses a dict to store an object’s instance attributes. This is really helpful as it allows setting arbitrary new attributes at runtime.
However, for small classes with known attributes it might be a bottleneck. The dict wastes a lot of RAM. Python can’t just allocate a static amount of memory at object creation to store all the attributes. Therefore it sucks a lot of RAM if you create a lot of objects (I am talking in thousands and millions). Still there is a way to circumvent this issue. It involves the usage of slots to tell Python not to use a dict, and only allocate space for a fixed set of attributes. Here is an example with and without slots:
https://book.pythontips.com/en/latest/__slots__magic.html
In Python every class can have instance attributes. By default Python uses a dict to store an object’s instance attributes. This is really helpful as it allows setting arbitrary new attributes at runtime.
However, for small classes with known attributes it might be a bottleneck. The dict wastes a lot of RAM. Python can’t just allocate a static amount of memory at object creation to store all the attributes. Therefore it sucks a lot of RAM if you create a lot of objects (I am talking in thousands and millions). Still there is a way to circumvent this issue. It involves the usage of slots to tell Python not to use a dict, and only allocate space for a fixed set of attributes. Here is an example with and without slots:
https://book.pythontips.com/en/latest/__slots__magic.html
https://www.youtube.com/watch?v=CostXs2p6r0
параллельно не очень. эффективность падает
не ипите моск. просто планируйте и отдых и время на улучшения
параллельно не очень. эффективность падает
не ипите моск. просто планируйте и отдых и время на улучшения
YouTube
The resource utilization trap
Henrik Kniberg explains the resource utilization trap, how it impacts our ability to deliver and what we can do about it.
Visit http://www.crisp.se to find courses, books, products and interesting blogs.
Henriks's blog: http://blog.crisp.se/author/henrikkniberg…
Visit http://www.crisp.se to find courses, books, products and interesting blogs.
Henriks's blog: http://blog.crisp.se/author/henrikkniberg…
== Вячеслав Панкратов | Проблемы перехода или что они все от меня хотят?!
https://youtu.be/oAhNfa37UKk
Шикарный доклад про изменения
Переход разраба в менеджера
https://youtu.be/oAhNfa37UKk
Шикарный доклад про изменения
Переход разраба в менеджера
YouTube
Вячеслав Панкратов | Проблемы перехода или что они все от меня хотят?!
Linux SystemD
== Why systemd
https://youtu.be/KftuGM_ylKg
- init system
- it replaces SysVInit
- created at Red Hat
- faster boot-up stimes
- daemons start in parallel
- YOU DON"T CARE ABOUT ORDER OF DAEMONS START
- SIMPLE CONFIG FILES
- SIMPLE configuration of FAILOVER strategies
- dynamic daemon state management
- consistent administration
Better security:
- every process runs in its own CGROUP by default
- simpler to control resource usage for each process
- better process isolation
- makes it harder for hackers to exploit the system !! - hacker must be root
redhat, suse, ubuntu server families have switched to systemd
== How to Create a systemd Linux Service
https://youtu.be/C4a7jxlMTfo
== Why systemd
https://youtu.be/KftuGM_ylKg
- init system
- it replaces SysVInit
- created at Red Hat
- faster boot-up stimes
- daemons start in parallel
- YOU DON"T CARE ABOUT ORDER OF DAEMONS START
- SIMPLE CONFIG FILES
- SIMPLE configuration of FAILOVER strategies
- dynamic daemon state management
- consistent administration
Better security:
- every process runs in its own CGROUP by default
- simpler to control resource usage for each process
- better process isolation
- makes it harder for hackers to exploit the system !! - hacker must be root
redhat, suse, ubuntu server families have switched to systemd
== How to Create a systemd Linux Service
https://youtu.be/C4a7jxlMTfo
YouTube
Why "systemd"?
The old SysVInit daemon management system has been around forever, and it's worked well. Now though, it's time for something newer. The new "systemd" init system for Linux is much more capable, and brings new benefits to system administrators. It was invented…
https://architectelevator.com/architecture/multiple-dimensions/
Две точки зрения на модели движения планет - "все вокруг земли" и "все вокруг солнца". а ведь обе правильные. просто одна из них проще. на второй все выглядит очень непривычно и забавно =) но она тоже правильная
Две точки зрения на модели движения планет - "все вокруг земли" и "все вокруг солнца". а ведь обе правильные. просто одна из них проще. на второй все выглядит очень непривычно и забавно =) но она тоже правильная
The Architect Elevator
Think Like An Architect, Part 2: Architects See More Dimensions
It’s hard to think about volume in a two-dimensional space.
== systemd Basics
https://youtu.be/AtEqbYTLHfs
Disable - it is not stopping
покажет то что грохнулось при старте и не работает по какой то причине
покажет статус текущего сервиса (enabled/disabled)
можно управлять состоянием машины
можно глянуть журнал сервиса
https://youtu.be/AtEqbYTLHfs
$ systemctl list-units
$ systemctl status %service%
$ sudo systemctl disable %service%
$ sudo systemctl enable %service%
$ sudo systemctl stop %service%
$ sudo systemctl start %service%
$ sudo systemctl restart %service%
Disable - it is not stopping
$ systemctl --failed
покажет то что грохнулось при старте и не работает по какой то причине
$ sudo systemctl is-enabled %service%
покажет статус текущего сервиса (enabled/disabled)
можно управлять состоянием машины
$ sudo systemctl reboot
$ sudo systemctl poweroff
$ sudo systemctl suspend
можно глянуть журнал сервиса
$ journalctl
$ journalctl -b
$ journalctl -u %service%
YouTube
systemd Basics
In this video I outline the basics of using systemd, for those that didn't see my quick introduction in my recent reviews of Ubuntu 15.04 and Ubuntu MATE 15.04.
== Overview of File System Hierarchy Standard (FHS)
https://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-rg-en-4/s1-filesystem-fhs.html
== Linux File System/Structure Explained!
https://youtu.be/HbgzrKJvDRw
https://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-rg-en-4/s1-filesystem-fhs.html
== Linux File System/Structure Explained!
https://youtu.be/HbgzrKJvDRw
YouTube
Linux File System/Structure Explained!
Ever get confused where to find things in Linux and where programs get installed? I'll explain what all the folders are for, and what's in them! (CLICK \/ SHOW MORE! \/ )
If you're interested in what Linux is in general, along with how you use it and its…
If you're interested in what Linux is in general, along with how you use it and its…
Getting Started with tmux
== Overview and Features
https://youtu.be/gmjyMxezIWU
- session attach
- split terminal screen
- you can use mouse for change window size and switch between tmux windows
https://youtu.be/H6RBPHow_q4
== Creating and Managing Windows
https://youtu.be/JMGGrM9KmFw
== Creating and Switching Between Sessions
https://youtu.be/FAU8rmS5NSE
== Customization and Tweaks
https://youtu.be/bjBjZvZsgks
COMMANDS: https://tmuxcheatsheet.com/
CONFIGFILE SAMPLE: https://pastebin.com/CDEVZTSC
== Overview and Features
https://youtu.be/gmjyMxezIWU
- session attach
- split terminal screen
- you can use mouse for change window size and switch between tmux windows
$ tmux a== Horizontal and Vertical Panes
$ tmux attach
https://youtu.be/H6RBPHow_q4
CTRL+B + " - horisontal paneCTRL+B + % - vertical paneCTRL+D - drop paneCTRL+B + ARROW - switch between the panes== Creating and Managing Windows
https://youtu.be/JMGGrM9KmFw
CTRL+B c - create windowCTRL+B n - next windowCTRL+B p - prev windowCTRL+B & - kill window== Creating and Switching Between Sessions
https://youtu.be/FAU8rmS5NSE
CTRL+B d - disconnect. exit from tmux$ tmux a - attach to some session$ tmux list-sessions
$ tmux a -t 0 - attach to session 1CTRL+B $ - rename the session$ tmux new -s "name of the session" - create new session with name$ tmux ls - short version of list-sessions
$ tmux a -t %session%
CTRL+B s - list of sessions an d fast switch with ARROWS== Customization and Tweaks
https://youtu.be/bjBjZvZsgks
COMMANDS: https://tmuxcheatsheet.com/
CONFIGFILE SAMPLE: https://pastebin.com/CDEVZTSC
YouTube
Getting Started with tmux Part 1 - Overview and Features
Welcome to my brand-new refreshed tmux series! tmux enables to to greatly enhance your terminal workflow and efficiency. In this video, I show off some of the various features.
tmux Cheat Sheet:
https://tmuxcheatsheet.com
☁️ Get $100 in credit toward deploying…
tmux Cheat Sheet:
https://tmuxcheatsheet.com
☁️ Get $100 in credit toward deploying…