Buggy Python Code: The 10 Most Common Mistakes That Python Developers Make

Source and author: https://www.toptal.com/python/top-10-mistakes-that-python-programmers-make

Python's simple, easy-to-learn syntax can mislead Python developers -- especially those who are newer to the language -- into missing some of its subtleties and underestimating the power of the language. In this article, Toptal's Martin Chikilian presents a "top 10" list of somewhat subtle, harder-to-catch mistakes that can trip up even the most advanced Python developer.

Free Programming Books – GoalKicker.com

Free Programming Books – GoalKicker.com https://books.goalkicker.com/

[Ebook] Python Cheat Sheet

Another Python cheat sheet collection

[DOC] Software Development Methodology and Team Scale

Slide tóm tắt về mô hình phát triển phần mềm (1 team phát triển gồm những ai, vai tròng ntn, các thức triển khai các tính năng), triển khai hệ thống phần mềm theo từng mức độ (monolithic, soa hay microservices). Slide được tổng hợp từ nhiều nguồn qua internet.

Google Cloud cheat sheet: 2022 edition

Putty: Create shortcut for saved session (Profile)

Steps:

  • Create shortcut to putty.exe
  • Right click on shortcut, select Properties, add to "Target" field: -load "Name Profile To Load"

Done

Nginx - Pihole cluster load balancing

Trong bài viết này mình sẽ cùng bạn dựng DNS server với pihole và dùng nginx để làm load balancing.

Tổng quát luồng xử lý như sau:

  • (1) nginx nhận request cổng 53 cho phân giải DNS và cổng 8080 cho HTTP request
  • (2) nginx phân bổ request về 2 pihole chạy trên docker, lần lượt nghe ở các port: 531, 532, 8081, 8082
# DNS
DNS request :53 --> nginx :53 --> pihole_1 :531
                              --> pihole_2 :532

# HTTP
Admin user :8080 --> nginx :8080 --> pihole_1 :8081
                                 --> pihole_2 :8082