Initial Commit

This commit is contained in:
NiceDevil
2023-11-26 17:03:40 +01:00
parent 34fb743453
commit 4fdd700644
9 changed files with 1059 additions and 0 deletions

35
Linux/Gitea/README.md Normal file
View File

@@ -0,0 +1,35 @@
# Description
[theme.park](https://docs.theme-park.dev/themes/gitea/#screenshots) is compilation of skins for different apps. It can be deployed in different ways. Here is how to get the themes into Gitea itself.
Theme Menu:
![Gitea](screenshot.png)
---
# Installation of theme.park
Click the little squares at the top right of the code window to quick and easy copy the code. Paste the code into your shell and thats it.
### Bare Metal Installation (Alpine LXC f.e.)
```bash
# Create the Template File
tee /usr/share/webapps/gitea/templates/custom/body_outer_pre.tmpl <<EOF
{{ if .IsSigned }}
{{ if and (ne .SignedUser.Theme "gitea") (ne .SignedUser.Theme "arc-green") }}
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{.SignedUser.Theme}}.css">
{{end}}
{{ else if and (ne DefaultTheme "gitea") (ne DefaultTheme "arc-green") }}
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{DefaultTheme}}.css">
{{end}}
EOF
tee -a /etc/gitea/app.ini << EOF
[ui]
THEMES = gitea,arc-green,plex,aquamarine,dark,dracula,hotline,organizr,space-gray,hotpink,onedark,overseerr,nord
DEFAULT_THEME = gitea
EOF
service gitea restart
```

BIN
Linux/Gitea/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

83
Linux/Neofetch/README.md Normal file
View File

@@ -0,0 +1,83 @@
# Description
Neofetch is a tool to display system information inside the shell with an ASCII-Logo of the given Linux Distribution.
Example Output:
![Neofetch](screenshot.png)
---
# Installation of Neofetch
You can install Neofetch by copying the following code snippets to any of the given Linux Distributions.
* [Alpine](README.md#alpine)
* [Debian / Ubuntu](README.md#debian--ubuntu)
* [Alma / Rocky](README.md#alma--rocky)
## Code Snippets
Click the little squares at the top right of the code window to quick and easy copy the code. Paste the code into your shell and thats it.
### Alpine
```sh
# Update Packages
apk update
# Install Neofetch
apk add neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
chmod +x /etc/profile.d/motd.sh
```
### Debian / Ubuntu
```bash
# Update Packages
sudo apt update
# Install Neofetch
sudo apt install -y neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
sudo chmod +x /etc/profile.d/motd.sh
```
### Alma / Rocky
```bash
# Update Packages
sudo dnf update -y
# Install EPEL-Release
sudo dnf install -y epel-release
# Update EPEL-Release
sudo dnf clean all && dnf update -y
# Install Neofetch
sudo dnf install -y neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
chmod +x /etc/profile.d/motd.sh
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

4
Linux/README.md Normal file
View File

@@ -0,0 +1,4 @@
# Choose from the list
* [Gitea](Gitea/README.md)
* [Neofetch](Neofetch/README.md)