You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***Line 1:** Leave this line empty. The plugin will automatically fill it with your in-game name.
22
+
***Line 2:** Enter the amount of items you want to buy or sell in a single transaction.
23
+
***Line 3:** Specify the prices for buying and/or selling. This line uses a combination of price indicators and values.
24
+
*`B` indicates the price at which *players* can *buy* items from your shop.
25
+
*`S` indicates the price at which *players* can *sell* items to your shop.
26
+
* Prices are separated by a colon (`:`).
27
+
* Examples of valid price combinations:
28
+
*`B 5: S 5`: Players can buy for 5, and sell for 5.
29
+
*`B 5`: Players can only buy for 5.
30
+
*`S free`: Players can sell to your shop for free.
31
+
***Line 4:** Specify the item being traded. You can write `?` on the sign, and the plugin will automatically detect the item from the chest when you're done writing the sign or after you click the sign with the item in your hand. Alternatively, you can write the item's name or ID directly.
32
+
33
+
> [!TIP]
34
+
> You can find the name of the item you are trying to sell by going to the [Minecraft Wiki](https://minecraft.wiki).
35
+
36
+
4.**Complete the Shop:** Once the sign is correctly filled out and placed next to the chest, your shop is ready!
Docker is a platform used for developing, shipping, and running applications in containers. Installing it can sometimes involve several steps, and if you're setting up multiple machines or doing it frequently, remembering the exact process can be tedious.
4
9
@@ -14,34 +19,33 @@ This note serves as a quick reference for installing Docker using the convenienc
14
19
```sh
15
20
sudo sh install-docker.sh
16
21
```
17
-
18
-
```admonish info
22
+
{% alert(important=true) %}
19
23
This executes the downloaded script with superuser privileges to perform the installation.
20
-
```
24
+
{% end %}
21
25
3. **Add your user to the `docker` group:**
22
26
```sh
23
27
sudo usermod -aG docker (username)
24
28
```
25
29
26
-
```admonish warning
30
+
{% alert(warning=true) %}
27
31
Replace `(username)` with your actual username. This command adds your current user to the `docker` group. Membership in this group allows you to run Docker commands without needing `sudo`. While convenient, understand that members of the `docker` group have permissions equivalent to the root user regarding Docker, so exercise caution.
28
-
```
32
+
{% end %}
29
33
30
34
4. **Reboot your system:**
31
35
```sh
32
36
sudo reboot
33
37
```
34
38
35
-
```admonish tip
39
+
{% alert(tip=true) %}
36
40
A reboot is usually required forthe group changes madein the previous step to take effect.
37
-
```
41
+
{% end %}
38
42
39
43
5. **Verify the installation:**
40
44
After your system has restarted and you've logged back in, you can verify that Docker is installed and you can run commands without `sudo` by running the `hello-world` container:
41
45
```sh
42
46
docker run hello-world
43
47
```
44
48
45
-
```admonish info
49
+
{% alert(note=true) %}
46
50
This command downloads a test image and runs it in a container. If everything is set up correctly, you should see a message confirming that your Docker installation is working.
Copy file name to clipboardExpand all lines: content/linux/gui.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
-
# Managing the Graphical User Interface (GUI)
1
+
+++
2
+
insert_anchor_links = "left"
3
+
title = "Managing the Graphical User Interface (GUI)"
4
+
[extra]
5
+
go_to_top = true
6
+
+++
2
7
3
8
This document provides commands to switch your system's default boot target between the graphical user interface (GUI) mode and the command-line interface (CLI) mode.
4
9
5
10
Switching between these modes can be useful depending on whether you need a graphical environment or prefer working solely from the command line.
6
11
7
-
```admonish note
8
-
These commands are applicable for systems using `systemd`.
9
-
```
12
+
> [!NOTE]
13
+
> These commands are applicable for systems using `systemd`.
Copy file name to clipboardExpand all lines: content/linux/helpful-cmd.md
+22-17Lines changed: 22 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,15 @@
1
-
# Some helpful command line programs
1
+
+++
2
+
insert_anchor_links = "left"
3
+
title = "Some helpful command line programs"
4
+
[extra]
5
+
go_to_top = true
6
+
+++
2
7
3
8
This page lists some command-line tools that can significantly enhance your productivity and make working in the terminal easier and more efficient.
4
9
5
-
## Tmux :simple-icons-tmux:
10
+
## Tmux:
6
11
7
-
Tmux (Terminal Multiplexer)[^tooltip:A tool that lets you switch between several programs in one terminal, detach them, and reattach them later.] allows you to create and control multiple terminal sessions within a single window.
12
+
Tmux (Terminal Multiplexer)[^tmux] allows you to create and control multiple terminal sessions within a single window.
8
13
9
14
Can be installed by running:
10
15
@@ -22,10 +27,9 @@ To start a new Tmux session:
22
27
tmux
23
28
```
24
29
25
-
```admonish tip
26
-
To detach from a session (leaving it running in the background):
27
-
Press `Ctrl+b` followed by `d`.
28
-
```
30
+
> [!TIP]
31
+
> To detach from a session (leaving it running in the background):
32
+
> Press `Ctrl+b` followed by `d`.
29
33
30
34
To list existing sessions:
31
35
@@ -45,13 +49,12 @@ To reattach to a specific session (replace `0` with the session number):
45
49
tmux attach -t 0
46
50
```
47
51
48
-
## TLDR :simple-icons-tldraw:
52
+
## TLDR:
49
53
50
-
```admonish info
51
-
Shows simplified examples for command-line tools.
52
-
```
54
+
>[!NOTE]
55
+
> Shows simplified examples for command-line tools.
53
56
54
-
TLDR provides simplified, community-maintained examples for command-line programs. It cuts through lengthy man pages to give you just the common use cases.[^tooltip:@tldr-versions]
57
+
TLDR provides simplified, community-maintained examples for command-line programs. It cuts through lengthy man pages to give you just the common use cases.
55
58
56
59
**Basic Usage:**
57
60
@@ -67,9 +70,9 @@ To see examples for the `ls` command with macOS options:
67
70
tldr ls --platform osx
68
71
```
69
72
70
-
## htop :simple-icons-htop:
73
+
## htop:
71
74
72
-
htop is an interactive process viewer for Unix-like systems. It provides a dynamic real-time view of processes running on the system, showing CPU usage, memory usage, swap usage, and tasks.[^tooltip:It's an improved version of the standard `top` command with a more user-friendly interface.]
75
+
htop is an interactive process viewer for Unix-like systems. It provides a dynamic real-time view of processes running on the system, showing CPU usage, memory usage, swap usage, and tasks.[^htop]
73
76
74
77
Can be installed by running:
75
78
@@ -85,6 +88,8 @@ Simply run `htop` to launch the interactive viewer:
85
88
htop
86
89
```
87
90
88
-
```admonish tip
89
-
Inside `htop`, you can use arrow keys to navigate and function keys (like F1 for Help, F3 for Search, F9 for Kill, F10 to Quit) for various actions.
90
-
```
91
+
> [!TIP]
92
+
> Inside `htop`, you can use arrow keys to navigate and function keys (like F1 for Help, F3 for Search, F9 for Kill, F10 to Quit) for various actions.
93
+
94
+
[^tmux]: A tool that lets you switch between several programs in one terminal, detach them, and reattach them later.
95
+
[^htop]: It's an improved version of the standard `top` command with a more user-friendly interface.
Copy file name to clipboardExpand all lines: content/mc.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,9 @@
1
-
# Minecraft Servers in Docker
1
+
+++
2
+
insert_anchor_links = "left"
3
+
title = "Minecraft Servers in Docker"
4
+
[extra]
5
+
go_to_top = true
6
+
+++
2
7
3
8
I use [itzg/docker-minecraft-server](https://github.com/itzg/docker-minecraft-server) containers whenever possible since they are easy to maintain and run.
0 commit comments