Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/deploy-openproject-database-postgresql/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ categories:
- instances
hero: assets/scaleway_openproject.webp
dates:
validation: 2024-08-12
validation: 2025-02-18
posted: 2020-07-23
---

Expand Down Expand Up @@ -47,8 +47,8 @@ In this tutorial, you will learn how to install and configure OpenProject on an
</Message>
4. Add the OpenProject repository:
```
wget -O /etc/apt/sources.list.d/openproject.list \
https://dl.packager.io/srv/opf/openproject/stable/12/installer/ubuntu/22.04.repo
sudo wget -O /etc/apt/sources.list.d/openproject.list \
https://dl.packager.io/srv/opf/openproject/stable/15/installer/ubuntu/22.04.repo
```
5. Update the `apt` package list and install the OpenProject Community Edition.
```
Expand Down
22 changes: 11 additions & 11 deletions tutorials/get-started-python/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ hero: assets/scaleway-python.webp
categories:
- compute
dates:
validation: 2024-08-12
validation: 2025-02-18
posted: 2023-01-25
---

Expand Down Expand Up @@ -59,11 +59,11 @@ We will be coding from the **terminal**, also referred to as the **command line*
```
python3
```

An output similar to the following displays, showing that you are in the Python Interactive Shell:

```
Python 3.9.12 (main, <date>, <time>)
Python 3.9.12 (main, <date>, <time>)
[GCC 5.4.0 20160609] on <OS>
Type "help", "copyright", "credits" or "license" for more information.
>>>
Expand All @@ -84,12 +84,12 @@ So how do we get Python to display "Hello World"? The answer is: via the `print(
- The brackets `()` contain the text you want to print
- The text must be contained in quotation marks `" "` or `' '`

1. Type the following command into the shell and hit enter:
1. Type the following command into the shell and hit enter:

```
print("Hello world")
```

The following output displays:

```
Expand Down Expand Up @@ -117,7 +117,7 @@ Variables are used to store and label data. They are a key part of any programmi
```
print(my_new_variable)
```

The following output displays:

```
Expand Down Expand Up @@ -159,7 +159,7 @@ Variables are used to store and label data. They are a key part of any programmi
```
print(my_new_variable)
```

The following output displays:

```
Expand All @@ -176,7 +176,7 @@ Variables are used to store and label data. They are a key part of any programmi
total_animals = dogs + cats
print(total_animals)
```

The following output displays, showing you the total number of dogs and cats:

```
Expand Down Expand Up @@ -236,7 +236,7 @@ We assume that, as per our previous commands, we already have the variables `dog
- The second line is indented with a tab or four spaces, and contains the command to execute if the condition is fulfilled.
Indentation is crucial in Python for the code to be interpreted correctly. Make sure you always follow the indentation pattern shown in examples.
</Message>

Hit enter twice after you have finished typing, to make it clear to the Python shell that you do not have any other elements to add to this command.

The following output displays:
Expand Down Expand Up @@ -277,7 +277,7 @@ We assume that, as per our previous commands, we already have the variables `dog

We have 2 cats and 4 dogs, so the printed statement is true!

However, what if we had an equal number of dogs and cats?
However, what if we had an equal number of dogs and cats?

4. Enter the following into the Python shell:

Expand Down Expand Up @@ -395,7 +395,7 @@ So far, we've been doing all our coding in the Python Interactive Shell, where y
Python has read our `.py` file and the output displays directly to the terminal. This makes it really easy to edit and play around with the code in your file, save it, and run it again to see how your changes affect the output. If you navigate within the terminal to the location of the file (in this case, via `cd /home/users/`) you can run the code directly just by typing `python3 animals.py`.

Let's try modifying the code in our file one final time.

6. Open `animals.py` in your text editor, overwrite the existing code with the following, and save:

```
Expand Down
2 changes: 1 addition & 1 deletion tutorials/install-docker-ubuntu-jammy-jellyfish/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: docker ubuntu jammy-jellyfish
categories:
- instances
dates:
validation: 2024-08-12
validation: 2025-02-18
posted: 2023-08-01
---

Expand Down
2 changes: 1 addition & 1 deletion tutorials/install-mattermost/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ categories:
- postgresql-and-mysql
tags: messaging Mattermost Slack postgresql
dates:
validation: 2024-08-12
validation: 2025-02-18
posted: 2019-01-22
---

Expand Down
2 changes: 1 addition & 1 deletion tutorials/send-emails-tem-serverless-framework/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories:
- functions
- transactional-email
dates:
validation: 2024-08-12
validation: 2025-02-18
posted: 2024-02-01
---

Expand Down