CI/CD, Git Commands & Code Snippets

SQL Stored Procedure Example

DELIMITER $$
CREATE PROCEDURE lister_clients (INOUT resultat_txt VARCHAR(4000))
BEGIN DECLARE finished INTEGER DEFAULT 0 ;
DECLARE v_id INT ;
DECLARE v_nom VARCHAR (100) ;
DECLARE v_prenom VARCHAR (100) ;
DECLARE info VARCHAR (400) DEFAULT '' ;
DECLARE cur_info_client CURSOR FOR SELECT id,nom,prenom FROM clients;
DECLARE CONTINUE HANDLER FOR NOT FOUND SET finished = 1;
OPEN cur_info_client ;
b : LOOP
FETCH cur_info_client INTO v_id, v_nom, v_prenom;
IF finished = 1 THEN

Read More

Functional Decomposition Diagrams & Software Verification

Functional Decomposition Diagrams (DDF)

Techniques to represent the decomposition of the functions of a system.

Its purpose is to represent the hierarchy of system processes at different levels of abstraction. It decomposes a high-level function into low-level functions.

They are used to represent other information such as company structure.

Types of DDF

  • Functions of the system at different levels of abstraction but without considering the flows between them.
  • The functions and input and output data
  • Functions
Read More

Java Code Examples: Matrix, Shapes, Math, and Threads

Java Code Examples

Matrix Operations

import java.util.Scanner;

// Class for matrix operations
class MatrixOperations {
    // Addition of two matrices
    public static int[][] addMatrices(int[][] matrix1, int[][] matrix2) {
        int rows = matrix1.length;
        int cols = matrix1[0].length;
        int[][] result = new int[rows][cols];
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < cols; j++) {
                result[i][j] = matrix1[

Read More

Salon Vocabulary & Procedures: Appointments, Hair Removal, Sales, Payment, Sanitation

Salon Vocabulary and Procedures

Appointments

[ªphone] ªEX: 1(E) confirm: to make certain.

2(H) pencil in: to schedule an appointment.

3(A) appointment book: an item used to record time slots.

4(C) weekend: the last two days of the week.

5(B) time slot: a time set aside for appointments.

6(F) limited: available in short supply.

7(G) consult: to get information or advice.

8(D) workweek: the hours and days worked during a week.

VOC – schedule: programar

Hair Removal

[ªdepila] ªEX: º1º:

  1. Greg pulled out the
Read More

Key Figures and Films of Italian Neorealism

Robert Rossellini

  • Neorealism trilogy: Germany Year Zero, Paisa, Rome Open City
  • “There are many kinds of neorealism. Everyone has his own. Mine was a moral position, an effort to understand myself inside a phenomenon.”

Rome Open City (1945)

Right when WW2 ended.

  • Engineer Giorgio, priest Don Pietro, Pina and Francesco, Son Marcello, Giorgio’s ex-Girlfriend Marina (betrayed resistance in exchange for drugs and fur coats)
  • Scene when Pina got shot: “Few scenes in cinema have the force of that in which Magnani,
Read More

Realism and Naturalism in 19th Century Literature

Realism and Naturalism

Realism

Born in France around 1848, Realism is based on the observation of reality and rejects romantic escapism. The most prominent characteristics are:

  • Accurately and objectively reflecting characters and environments.
  • Characters drawn from contemporary life, described in great detail.
  • Scenarios recognizable to the reader, reflected in great detail.
  • Manifest interest in issues, conflicts, feelings.
  • Language adapted to the character.
  • Omniscient narrator.
  • Some novels perceive a moral
Read More

Post-WWII Treaties, UN Creation, and Cold War Origins

Post-WWII Treaties and the Dawn of the Cold War

Treaties of Peace

Peace was established through a series of significant conferences. Key among these was the Yalta Conference (Crimea) in 1945, where Churchill, Stalin, and Roosevelt met. Agreements included:

  • Partition of Germany into occupation zones.
  • Poland to be administered by a government of national unity (pro-Soviet).
  • Free elections in liberated countries.
  • The USSR’s annexation of the Baltic republics and eastern Poland.

The Potsdam Conference (Germany)

Read More

Mediastinum and Thoracic Cavity Anatomy

Thoracic Cavity and Mediastinum Anatomy

  1. The thoracic cavity is divided by fibrous partitions into three compartments. The central compartment, the mediastinum, is a mass of tissues and organs, extending from the vertebral column behind to the sternum in front. It contains the heart and the great blood vessels, the esophagus, the trachea and its bifurcation, the phrenic and vagus nerves, and the thoracic duct. The two lateral compartments are cavities, known as the pleural cavities.
  2. The mediastinum
Read More

Nietzsche’s Life, Influences, and Reactions: A Philosophical Analysis

Nietzsche’s Life and Philosophical Context

Nietzsche was born in Röcken, Germany in 1844. He studied Greek and Latin and received his doctorate in classical philology. At the age of 34, he independently agreed to chair a position at the University of Basel, shortly after publishing his first book, The Birth of Tragedy. However, health problems forced him to retire at 34. It was during this period that he wrote most of his works, characterized by intrigues and provocations designed to stimulate the

Read More

19th Century Social Classes and Labor Movements

The Aristocracy: This social group did not disappear; its privileges and even some titles of nobility were abolished, while new ones were created. Most aristocrats dreamed of becoming bourgeois landowners and living off income from buildings and farms.

The Bourgeoisie: The social position of the bourgeoisie came from their industrial, financial, and trading businesses. The house became a private space that symbolically reflected their achievements and social position. They were content with gatherings

Read More