This commit is contained in:
JMARyA 2024-02-12 08:30:27 +01:00
parent 68cc0a4a34
commit b911a95873
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 30 additions and 6 deletions

View file

@ -78,7 +78,6 @@ Usage:
- `$and`: The `$and` operator performs a logical AND operation on an array of two or more expressions and selects the documents that satisfy all the expressions.
- `$or`: The `$or` operator performs a logical OR operation on an array of two or more expressions and selects the documents that satisfy at least one of the expressions.
- `$not`: The `$not` operator performs a logical NOT operation on the specified expression and selects the documents that do not match the expression.
- `$exists`: The `$exists` operator matches documents where a specified field exists or does not exist.
- `$type`: The `$type` operator matches documents where a specified field has a specific [BSON](files/BSON.md) type.
- `$regex`: The `$regex` operator matches documents where a specified field matches a [regular expression](tools/Regex.md).
- `$text`: The `$text` operator performs a text search on the specified field(s).

View file

@ -1,7 +1,7 @@
---
obj: application
flatpak-id: org.jdownloader.JDownloader
website: http://www.jdownloader.org
website: https://www.jdownloader.org
---
# JDownloader
JDownloader is a free, open-source download management tool with a huge community that makes downloading as easy and fast as it should be. Users can start, stop or pause downloads, set bandwith limitations, auto-extract archives and much more. JDownloader supports a bunch of sites with plugins.

View file

@ -4,7 +4,7 @@ os:
- linux
- macos
- windows
website: http://www.libreoffice.org
website: https://www.libreoffice.org
flatpak-id: org.libreoffice.LibreOffice
wiki: https://en.wikipedia.org/wiki/LibreOffice
---

View file

@ -107,6 +107,31 @@ while condition {
}
```
You can break out of a loop or continue to the next iteration:
```rust
for i in 0..10 {
if i % 2 == 0 {
continue
}
if i % 5 == 0 {
break;
}
println!("{i}");
}
```
If you have nested loops you can label them and use `break` and `continue` on specific loops:
```rust
'outer_loop: for i in 0..10 {
'inner_loop: for x in 0..10 {
if (x*i) > 40 {
continue 'outer_loop;
}
print("{x} {i}");
}
}
```
### Functions
One can use functions with optional arguments and return types. If you `return` on the last line, you can ommit the `return` keyword and `;` to return the value.
```rust

View file

@ -6,7 +6,7 @@ rfc: https://datatracker.ietf.org/doc/html/rfc5321
---
# Simple Mail Transfer Protocol
Simple Mail Transfer Protocol (SMTP) is a protocol used for the transmission of electronic mail ([email](eMail.md)) over a computer network. SMTP is a text-based protocol that facilitates the sending and receiving of [emails](../../../Server/eMails.md) between servers and is a fundamental component of [email](eMail.md) communication on the internet.
Simple Mail Transfer Protocol (SMTP) is a protocol used for the transmission of electronic mail ([email](eMail.md)) over a computer network. SMTP is a text-based protocol that facilitates the sending and receiving of [emails](eMail.md) between servers and is a fundamental component of [email](eMail.md) communication on the internet.
## Key Concepts
### 1. **Message Transfer:**
@ -18,7 +18,7 @@ Simple Mail Transfer Protocol (SMTP) is a protocol used for the transmission of
### 4. **Commands and Responses:**
- SMTP communication involves a series of commands and responses between the client and server. Common commands include `HELO` (client identification), `MAIL FROM` (specify sender address), `RCPT TO` (specify recipient address), `DATA` (begin message data input), and `QUIT` (terminate the session).
### 5. **Relaying:**
- SMTP allows for the relaying of messages between different [email](eMail.md) servers, facilitating the delivery of [emails](../../../Server/eMails.md) across different domains.
- SMTP allows for the relaying of messages between different [email](eMail.md) servers, facilitating the delivery of [emails](eMail.md) across different domains.
## SMTP Operation
### 1. **Handshake:**

View file

@ -13,7 +13,7 @@ Tails (The Amnesic Incognito Live System) is a privacy-focused operating system
### 1. **Live Operating System:**
- Tails is a live operating system, meaning it can be run directly from a USB stick or DVD without the need for installation on a computer's hard drive. This enables users to use Tails on any computer without leaving any footprint on the host system.
### 2. **Privacy and Anonymity:**
- Tails routes all internet traffic through the [Tor](../internet/Tor.md) network by default, providing users with anonymous and censorship-resistant access to the internet. It also includes cryptographic tools for encrypting [emails](../../../Server/eMails.md) and files, enhancing user privacy.
- Tails routes all internet traffic through the [Tor](../internet/Tor.md) network by default, providing users with anonymous and censorship-resistant access to the internet. It also includes cryptographic tools for encrypting [emails](../internet/eMail.md) and files, enhancing user privacy.
### 3. **Amnesic by Design:**
- Tails is designed to be amnesic, meaning it forgets everything about the user's activities after each session. Once the session is closed, no data is stored unless explicitly saved to an external drive.
### 4. **Persistent Storage Encryption:**