Skip to content

Commit b0b8267

Browse files
author
Bertrand Thomas
committed
Merge branch 'feature/tech-interviews' into 'main'
Delete migrated howto See merge request devpro-labs/enablement/tech-notes!8
2 parents 6b621f6 + f86bf0a commit b0b8267

292 files changed

Lines changed: 2760 additions & 3347 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ default: true
33
# MD007:
44
# indent: 4 # needed by PyMdown Extensions
55
MD013:
6-
line_length: 320
6+
line_length: 350
77
MD033: false
88
MD046: false

CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,28 @@ npm run build
2727
npm run serve
2828
```
2929

30+
## Customization
31+
32+
> [!IMPORTANT]
33+
> Make sure to review this customizations when doing upgrades
34+
35+
### Table of contents width
36+
37+
Idea found on [discussion #8799](https://github.com/facebook/docusaurus/discussions/8799):
38+
39+
```bash
40+
npm run swizzle @docusaurus/theme-classic -- DocItem/Layout
41+
```
42+
43+
Files are in `src/theme/DocItem/Layout`.
44+
45+
> [!TIP]
46+
> Run the command to see what is possible to swizzle:
47+
>
48+
> ```bash
49+
> npm run swizzle @docusaurus/theme-classic -- --list
50+
> ```
51+
3052
## Lint before committing
3153
3254
Reproduce locally GitLab jobs:

LICENSE

Lines changed: 402 additions & 674 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ Feel free to [contribute](CONTRIBUTING.md)!
1212
* [Fundamentals](docs/fundamentals/fundamentals.md)
1313
* [Guides](docs/guides/guides.md)
1414
* [Organizations](docs/organizations/organizations.md)
15-
* [Studies](docs/studies/adr/adr.md)
1615

1716
<!-- https://wiki-tech.io/ -->
Lines changed: 148 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,164 @@
1-
# Linux commands
1+
# Linux terminal
22

3-
## Usual commands
3+
## Additional packages
4+
5+
Name | Details
6+
---------|---------------------------------------------------------------------------------------------------------------------------------
7+
**wget** | GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS the most widely-used Internet protocols
8+
9+
<!-- TODO: difference between cat/less/more -->
10+
11+
## Shortcuts
12+
13+
Shortcut | Action
14+
-----------|--------------------------------
15+
`Ctrl`+`R` | Search a command in the history
16+
17+
## Commands
18+
19+
### Machine and OS
20+
21+
Display system information (e.g., kernel version, OS type):
422

523
```bash
6-
# switches between keyboard layouts
7-
loadkeys fr
8-
# looks at drive disk space
9-
df -h
10-
# interacts with services (like firewalld)
11-
systemctl <stop|disable|start|status> <service_name>
12-
# review sudo config
13-
cat /etc/sudoers
14-
# manages services, boot processes, and system states
15-
systemd
16-
# displays logging system events
17-
journald
18-
# interacts with the dynamic firewall management tool (when installed)
19-
firewalld
20-
# configures and displays network interfaces
21-
ip
22-
# displays system information (e.g., kernel version, OS type)
2324
uname
24-
# displays memory usage
25-
free
26-
# views memory information
27-
less /proc/meminfo
28-
# views CPU information
29-
more /proc/cpuinfo
30-
# displays kernel and distribution version information
25+
```
26+
27+
View memory information:
28+
29+
```bash
30+
cat /proc/meminfo
31+
```
32+
33+
View CPU information:
34+
35+
```bash
36+
cat /proc/cpuinfo
37+
```
38+
39+
Display kernel and distribution version information
40+
41+
```bash
3142
cat /proc/version
32-
# displays kernel name and release
43+
```
44+
45+
Display kernel name and release:
46+
47+
```bash
3348
uname -or
34-
# displays the network node hostname
49+
```
50+
51+
### System check
52+
53+
Monitor live system processes:
54+
55+
```bash
56+
top
57+
```
58+
59+
Look at drive disk space:
60+
61+
```bash
62+
df -h
63+
```
64+
65+
Display memory usage:
66+
67+
```bash
68+
free
69+
```
70+
71+
### Network
72+
73+
Configure and displays network interfaces:
74+
75+
```bash
76+
ip
77+
```
78+
79+
Display the network node hostname:
80+
81+
```bash
3582
hostname
3683
uname -n
37-
# displays user and group information for the current or specified user
84+
```
85+
86+
Interact with the dynamic firewall management tool (when installed):
87+
88+
```bash
89+
firewalld
90+
```
91+
92+
### Services
93+
94+
Interact with services (like firewalld):
95+
96+
```bash
97+
systemctl <stop|disable|start|status> <service_name>
98+
```
99+
100+
Manage services, boot processes, and system states:
101+
102+
```bash
103+
systemd
104+
```
105+
106+
Display logging system events:
107+
108+
```bash
109+
journald
110+
```
111+
112+
### User managament
113+
114+
Review sudo config:
115+
116+
```bash
117+
cat /etc/sudoers
118+
```
119+
120+
Display user and group information for the current or specified user:
121+
122+
```bash
38123
id
39-
# updates a user’s password
40-
passwd
41-
# adds a new user (account is locked until a password is set)
124+
```
125+
126+
Add a new user (account is locked until a password is set):
127+
128+
```bash
42129
useradd xxx
43-
# extends or validates the sudo credentials timestamp (typically for 5 minutes)
130+
```
131+
132+
Updates a user's password:
133+
134+
```bash
135+
passwd
136+
```
137+
138+
### User settings
139+
140+
Extend or validate the sudo credentials timestamp (typically for 5 minutes):
141+
142+
```bash
44143
sudo -v
45-
# monitors live system processes
46-
top
47144
```
48145

49-
## Common packages
146+
Switch between keyboard layouts:
50147

51-
Name | Details
52-
---------|---------------------------------------------------------------------------------------------------------------------------------
53-
**wget** | GNU Wget is a free software package for retrieving files using HTTP, HTTPS, FTP and FTPS the most widely-used Internet protocols
148+
```bash
149+
loadkeys fr
150+
```
54151

55-
## Shell shortcuts
152+
### Processes
56153

57-
Shortcut | Action
58-
-------------|--------------------------------
59-
`Ctrl` + `R` | Search a command in the history
154+
Look for specific processes:
155+
156+
```bash
157+
ps -ef | grep <process_name>
158+
```
159+
160+
Kill a process and its children:
161+
162+
```bash
163+
kill -TERM -- -<process_id>
164+
```

docs/fundamentals/infrastructure/operating-systems/linux.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44

55
Name | Families | Package manager
66
--------------|----------|----------------
7+
Arch | Arch | pacman
8+
AlmaLinux | Red Hat | dnf
9+
Alpine Linux | Alpine | apk
10+
CentOS Stream | Red Hat | dnf/yum
711
Debian | Debian | apt
8-
Ubuntu | Debian | apt
912
Fedora | Red Hat | dnf
10-
CentOS Stream | Red Hat | dnf/yum
11-
AlmaLinux | Red Hat | dnf
12-
Rocky Linux | Red Hat | dnf
13-
Arch | Arch | pacman
1413
openSUSE | SUSE | zypper
15-
Alpine Linux | Alpine | apk
14+
Ubuntu | Debian | apt
15+
Rocky Linux | Red Hat | dnf
16+
17+
## Components
18+
19+
* [Commands](linux-commands.md)
20+
* [Filesystem](linux-filesystem.md)
21+
* [Kernel](linux-kernel.md)

docs/fundamentals/practices/ci.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
# Continuous Integration (CI)
1+
# CI
2+
3+
Continuous Integration (CI)
24

35
[martinfowler.com/articles/continuousIntegration](https://martinfowler.com/articles/continuousIntegration.html)

docs/fundamentals/practices/ddd.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DDD
2+
3+
Domain Driven Design
4+
5+
## Learn
6+
7+
* Starting point with [Tackle Business Complexity in a Microservice with DDD and CQRS Patterns](https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/)
8+
9+
### Code examples
10+
11+
* [citerus/dddsample-core](https://github.com/citerus/dddsample-core)
12+
* [kgrzybek/modular-monolith-with-ddd](https://github.com/kgrzybek/modular-monolith-with-ddd)

docs/fundamentals/practices/iac.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Infrastructure-as-Code (IaC)
1+
# IaC
2+
3+
Infrastructure-as-Code (IaC)
24

35
## Definitions
46

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
# Practices
22

3-
## IT
3+
## Build
4+
5+
* [Continuous Integration (CI)](ci.md)
6+
* [Domain Driven Design (DDD)](ddd.md)
7+
* [Static site generators (SSG)](ssg.md)
8+
* [Testing](testing.md)
9+
* [Test Driven Development](tdd.md)
10+
11+
## Run
412

5-
* [Continuous Integration](ci.md)
6-
* [DevOps](devops.md)
713
* [GitOps](gitops.md)
8-
* [Infrastructure-as-Code](iac.md)
914
* [Post mortem](post-mortem.md)
1015
* [Site Reliability Engineering](sre.md)
16+
* [Infrastructure-as-Code (IaC)](iac.md)
1117

1218
## Project management
1319

1420
* [Agile](agile.md)
21+
* [DevOps](devops.md)
1522
* [SCRUM](scrum.md)

0 commit comments

Comments
 (0)