edit metadata

This commit is contained in:
2025-02-12 15:01:15 +01:00
parent 341b6ed46f
commit 1ce84ebc53
43 changed files with 214 additions and 207 deletions

View File

@@ -8,7 +8,7 @@ tags: [ "networking", "ssh", "android" ]
3. Open fdroid, and run:
```bash
```sh
pkg upgrade
pkg install busybox termux-services openssh openssh-sftp-server
source $PREFIX/etc/profile.d/start-services.sh

View File

@@ -6,19 +6,20 @@ tags: [ "distros" ]
Update font-cache:
```bash
```sh
su root
fc-cache
```
List fonts:
```bash
```sh
fc-list
```
Grab the part of the font name you need for Xresources:
```bash
```sh
fc-list | cut -d: -f2
```

View File

@@ -8,27 +8,27 @@ tags: [ "distros" ]
Messed up a package's configuration files?
```bash
```sh
sudo apt-get purge [thing]
```
```bash
```sh
sudo apt autoremove
```
Check if you still have related things:
```bash
```sh
apt search [thing]
```
```bash
```sh
sudo apt-get install [ thing ]
```
Still have problems?
```bash
```sh
sudo dpgk --force-confmiss -i /var/cache/apt/archives/[thing]
```

View File

@@ -4,15 +4,21 @@ tags: [ "Void" ]
---
Put your device in 'aeroplane' mode (e.g. where no trace of signal leaves it) by turning off Wi-Fi and blue-tooth.
> sudo sv stop wpa_supplicant bluetoothd
```sh
su root
sv stop wpa_supplicant bluetoothd
```
Find your device's name with `ip a`.
If unsure, try this:
> name=$(ip a | grep -Eo 'wlp\w{3}')
> echo $name
```sh
name=$(ip a | grep -Eo 'wlp\w{3}')
echo $name
```
Then set that device down:
> sudo ip link set $name down
```sh
ip link set $name down
```

View File

@@ -4,19 +4,19 @@ tags: [ "Void" ]
---
Monitor all processes:
```bash
```sh
extrace
```
Monitor one process:
```bash
```sh
extrace ls
```
Monitor a script:
```bash
```sh
./script.sh | extrace
```

View File

@@ -9,16 +9,17 @@ Jenkins is janky.
## Start
Start the service file.
```bash
sudo ln -s /etc/sv/jenkins /var/service
sudo sv start jenkins
```sh
su root
ln -s /etc/sv/jenkins /var/service
sv start jenkins
```
Then visit the web interface with `$BROWSER localhost:8080`.
If it's not working, try running the command from the run file the first time:
```bash
```sh
chpst -u jenkins java -jar /opt/jenkins/jenkins.war
```

View File

@@ -6,13 +6,13 @@ tags: [ "void", "locale" ]
Check the current locales:
```bash
```sh
locale -a
```
Add the languages you want by editing `/etc/default/libc-locales`, and uncommenting your choice:
```bash
```sh
#en_DK.UTF-8 UTF-8
#en_DK ISO-8859-1
en_GB.UTF-8 UTF-8
@@ -25,13 +25,14 @@ Now you can generate what you need for those languages.
However, instead of generating what you need, you're going to generate everything which needs updating:
```bash
sudo xbps-reconfigure glibc-locales
```sh
su root
xbps-reconfigure glibc-locales
```
Finally, select your chosen locale by placing it in `/etc/locale.conf`.
```bash
```sh
echo "LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8" > /etc/locale.conf
@@ -48,7 +49,7 @@ en_GB ISO-8859-1
Check your new locales are available:
```bash
```sh
locale -a
```