-- Leo's gemini proxy
-- Connecting to gemini.tuxmachines.org:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
Tux Machines
Posted by Roy Schestowitz on Dec 28, 2022
> 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.
> 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:
> 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.
> 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.
-- Response ended
-- Page fetched on Sat Jun 1 07:19:44 2024