Forwarded from PythonDigest
Python: Логируем как профессионалы
https://habr.com/ru/post/590067/?utm_campaign=590067&utm_source=habrahabr&utm_medium=rss
Часто вижу, что помимо обработки исключений (https://guicommits.com/handling-exceptions-in-python-like-a-pro/), люди мучаются кое с чем еще, а именно с логированием.
Большинство людей не знают, что писать в логи, поэтому решают логировать все, что угодно, думая, что все подряд – это в любом случае лучше, чем ничего, и, в конечном итоге, просто создают шум. А шум – это информация, которая никак не помогает вашей команде понять, в чем дело и как решить проблему.
https://habr.com/ru/post/590067/?utm_campaign=590067&utm_source=habrahabr&utm_medium=rss
Часто вижу, что помимо обработки исключений (https://guicommits.com/handling-exceptions-in-python-like-a-pro/), люди мучаются кое с чем еще, а именно с логированием.
Большинство людей не знают, что писать в логи, поэтому решают логировать все, что угодно, думая, что все подряд – это в любом случае лучше, чем ничего, и, в конечном итоге, просто создают шум. А шум – это информация, которая никак не помогает вашей команде понять, в чем дело и как решить проблему.
Some mistakes Rust doesn't catch
https://fasterthanli.me/articles/some-mistakes-rust-doesnt-catch
https://fasterthanli.me/articles/some-mistakes-rust-doesnt-catch
fasterthanli.me
Some mistakes Rust doesn't catch
I still get excited about programming languages. But these days, it’s not so much because of what they let me do, but rather what they don’t let me do.
Ultimately, what you can with a programming l...
Ultimately, what you can with a programming l...
MicroOS Is Immutable Linux | Hackaday
https://hackaday.com/2020/11/14/microos-is-immutable-linux/
https://hackaday.com/2020/11/14/microos-is-immutable-linux/
Hackaday
MicroOS Is Immutable Linux
Linux finds a lot of uses in computers that aren’t desktops. But there is a problem. What happens if your mission-critical control computer or retail kiosk gets an update and then fails? Happ…
Forwarded from Уголок Фронтендера | Веб-разработка
This media is not supported in your browser
VIEW IN TELEGRAM
Jello Tab Bar - анимированное навигационное меню
Forwarded from Библиотека питониста | Python, Django, Flask
🐍🧩 Словари в Python: 12 задач для начинающих с решениями
Решаем задачи и прокачиваем навык работы со словарями, используя методы get(), setdefault(), генераторы словарей и сортировку с помощью лямбда-функций.
https://proglib.io/sh/vB40dpQmhG
Решаем задачи и прокачиваем навык работы со словарями, используя методы get(), setdefault(), генераторы словарей и сортировку с помощью лямбда-функций.
https://proglib.io/sh/vB40dpQmhG
Forwarded from Библиотека питониста | Python, Django, Flask
Высокопроизводительный и быстрый фреймворк микросервисов Python (RPC + PubSub).
https://proglib.io/w/37f9c98a
https://proglib.io/w/37f9c98a
Forwarded from Библиотека питониста | Python, Django, Flask
Pydon'ts – Write elegant Python code
https://mathspp.gumroad.com/l/pydonts
https://mathspp.gumroad.com/l/pydonts
Gumroad
Pydon'ts – Write elegant Python code
Would you like me to teach you how to write Python 🐍 code that is more elegant, more effective, and more expressive than what you have been writing until now... for free?I am looking to teach Pytho...
An open-source tool for software security | MIT News | Massachusetts Institute of Technology
https://news.mit.edu/2022/r2c-software-security-0210
https://news.mit.edu/2022/r2c-software-security-0210
MIT News
An open-source tool for software security
The startup r2c, co-founded by three MIT alumni, offers an open-source tool to help security professionals scan codebases and identify security vulnerabilities in their software.
How to Setup and Configure Hashicorp Vault
- https://devopscube.com/setup-hashicorp-vault-beginners-guide/
- https://scriptcrunch.com/hashicorp-vault-setup/
- https://github.com/b1tsized/vault-tutorial/tree/main/01-getting-started
- https://www.youtube.com/watch?v=b_2lo30g0RU&list=PLCu9mOepXKGT80A5ywNXH0ytpIrqcCM4h&index=2&t=24s
- https://www.vaultproject.io/docs/configuration
- https://devopscube.com/setup-hashicorp-vault-beginners-guide/
- https://scriptcrunch.com/hashicorp-vault-setup/
- https://github.com/b1tsized/vault-tutorial/tree/main/01-getting-started
- https://www.youtube.com/watch?v=b_2lo30g0RU&list=PLCu9mOepXKGT80A5ywNXH0ytpIrqcCM4h&index=2&t=24s
- https://www.vaultproject.io/docs/configuration
DevOpsCube – Easy DevOps, SRE Guides & Reviews
How to Setup and Configure Hashicorp Vault Server - Detailed Beginners Guide
This Hashicorp vault beginners tutorial will walk you through the steps on how to setup and configure a Hashicorp vault server with detailed instructions.
Leveraging machine learning to find security vulnerabilities | The GitHub Blog
https://github.blog/2022-02-17-leveraging-machine-learning-find-security-vulnerabilities/
https://github.blog/2022-02-17-leveraging-machine-learning-find-security-vulnerabilities/
The GitHub Blog
Leveraging machine learning to find security vulnerabilities
A behind-the-scenes peek into the machine learning framework powering GitHub's new code scanning security alerts.
Hashicorp Vaullt + Ansible
—-
- https://itdraft.ru/2021/03/26/hranim-sekrety-ansible-v-hashicorp-vault/
- https://www.dmosk.ru/miniinstruktions.php?mini=vault-hashicorp-ansible
- https://medium.com/@mitesh_shamra/setup-hashicorp-vault-using-ansible-fa8073a70a56
- https://faun.pub/accessing-hashicorp-vault-secrets-in-ansible-playbook-3bec3d54c48f
- https://galaxy.ansible.com/brianshumate/vault
- https://devopscube.com/setup-hashicorp-vault-beginners-guide/
—-
- https://itdraft.ru/2021/03/26/hranim-sekrety-ansible-v-hashicorp-vault/
- https://www.dmosk.ru/miniinstruktions.php?mini=vault-hashicorp-ansible
- https://medium.com/@mitesh_shamra/setup-hashicorp-vault-using-ansible-fa8073a70a56
- https://faun.pub/accessing-hashicorp-vault-secrets-in-ansible-playbook-3bec3d54c48f
- https://galaxy.ansible.com/brianshumate/vault
- https://devopscube.com/setup-hashicorp-vault-beginners-guide/
IT Draft
Храним секреты Ansible в Hashicorp Vault
Hashicorp Vault - open-source инструмент для управления секретами. Vault написан на Go и распространяется как бинарник. При использовании в связки с Ansible, секреты хранятся в Vault в key-value виде.
Shell Scripting with Python
- https://www.youtube.com/watch?v=6OY1xFYJVxQ
- https://github.com/snth/pyconza17/blob/master/slides.md
Libs
- https://docs.python.org/3/library/pathlib.html
- https://click.palletsprojects.com/en/8.0.x/
- https://www.youtube.com/watch?v=6OY1xFYJVxQ
- https://github.com/snth/pyconza17/blob/master/slides.md
Libs
- https://docs.python.org/3/library/pathlib.html
- https://click.palletsprojects.com/en/8.0.x/
YouTube
You suck at shell scripting: building awesome command line tools in Python for fun and profit!
Tobias Brandt
https://2017.za.pycon.org/talks/71/
You do! You're aweful! You are as bad at shell scripting as Helen Zille is at Twitter. However clever that 140 character bash one liner seemed at the time, you know that you regretted it once it became an…
https://2017.za.pycon.org/talks/71/
You do! You're aweful! You are as bad at shell scripting as Helen Zille is at Twitter. However clever that 140 character bash one liner seemed at the time, you know that you regretted it once it became an…
How to Use getopts to Parse Linux Shell Script Options
https://www.howtogeek.com/778410/how-to-use-getopts-to-parse-linux-shell-script-options/
https://www.howtogeek.com/778410/how-to-use-getopts-to-parse-linux-shell-script-options/
How-To Geek
How to Use getopts to Parse Linux Shell Script Options
Do you wish your Linux shell scripts would handle command-line options and arguments more gracefully? The Bash getopts builtin lets you parse command-line options with finesse—and it’s easy too. We show you how.
TrueNAS Scale Released and Resetting the NAS Paradigm
https://www.servethehome.com/truenas-scale-released-and-resetting-the-nas-paradigm/
https://www.servethehome.com/truenas-scale-released-and-resetting-the-nas-paradigm/
ServeTheHome
TrueNAS Scale Released and Resetting the NAS Paradigm
TrueNAS Scale 22.02 hits release and it resets the NAS or hyper-converged paradigm in a big way with the new open source Linux solution
