Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Dec 28, 2022

=> ESP32-Based Devices and Projects | Security: Linux FUD, LastPass Kaput, Istio 1.14 End of Life, and High Windows TCO

More Shell Programming Secrets Nobody Talks About

=> ↺ More Shell Programming Secrets Nobody Talks About

General guidance when working as a cloud engineer

=> ↺ General guidance when working as a cloud engineer

Do not make production changes on Fridays, you will gain enemies if you do so.
Git should be your only source of truth. Discard any local files or changes, what's not pushed into the repository, does not exist.

11 tips for writing a good Git commit message

=> ↺ 11 tips for writing a good Git commit message

Lately, I have been paying closer attention to the changelogs I get from products and services when updates are needed. Here are some examples:
When I think about some of the first commit messages I made as a junior developer I have to hang my head in dismay:
This can be frustrating! I asked our community of contributors the following questions:

When is it safe to use import statements in Jest tests?

=> ↺ When is it safe to use import statements in Jest tests?

Checking If a Command Succeeded in Bash Using the $? Special Variable

=> ↺ Checking If a Command Succeeded in Bash Using the $? Special Variable

In Bash, it is often necessary to check if a command succeeded or failed. For example, you may want to execute different commands based on the success or failure of a command, or you may want to perform error handling in a script. To check if a command succeeded or failed in Bash, you can examine the exit status of the command. The exit status of a command is a numerical value that indicates the success or failure of the command. A command with an exit status of 0 indicates success, and a command with a non-zero exit status indicates failure.

How to Connect MySQL Database in Python - TecAdmin

=> ↺ How to Connect MySQL Database in Python - TecAdmin

Python is a popular programming language that is widely used for web development, data analysis, scientific computing, and many other tasks. It is known for its simplicity and ease of use, making it a great choice for beginners and experienced developers alike. One of the key features of Python is its ability to interact with databases, which makes it easy to store, retrieve, and manipulate data.
In this article, we will look at how to connect to a MySQL database in Python using the mysql-connector-python library, which is a MySQL driver for Python. We will also cover some basic operations such as creating tables, inserting data, and querying the database.

Moving from Perl_5.8.8 (2007) TO Perl_5.36.0 (2022) | kido_mitsuru [blogs.perl.org]

=> ↺ Moving from Perl_5.8.8 (2007) TO Perl_5.36.0 (2022) | kido_mitsuru [blogs.perl.org]

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2022/12/28/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
142.671522 milliseconds
Gemini-to-HTML Time
0.890543 milliseconds

This content has been proxied by September (3851b).