Compare commits
10 Commits
1cdffa967e
...
6d0f7e9762
Author | SHA1 | Date |
---|---|---|
davidovski | 6d0f7e9762 | |
davidovski | 0636d603e4 | |
davidovski | ff191a38f9 | |
davidovski | f298c481fd | |
davidovski | 9ac6c99826 | |
davidovski | be73f369c2 | |
davidovski | f3684961d7 | |
davidovski | a3e77b130d | |
davidovski | ce018d2193 | |
davidovski | 5cc7cb52b9 |
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -d dist ] && rm -r dist
|
||||||
|
mkdir dist
|
||||||
|
|
||||||
|
shblg -i site -o dist
|
2
new.sh
2
new.sh
|
@ -5,7 +5,7 @@ TEMPFILE=/tmp/blog_entry.md
|
||||||
|
|
||||||
$EDITOR $TEMPFILE
|
$EDITOR $TEMPFILE
|
||||||
|
|
||||||
NAME=entries/$(head -1 $TEMPFILE | cut -d" " -f2-).html
|
NAME=site/entries/$(head -1 $TEMPFILE | cut -d" " -f2- | tr " " "-" | tr "[:upper:]" "[:lower:]").html
|
||||||
|
|
||||||
cp $TEMPFILE "$NAME"
|
cp $TEMPFILE "$NAME"
|
||||||
rm $TEMPFILE
|
rm $TEMPFILE
|
||||||
|
|
|
@ -13,7 +13,8 @@ If you do not trust this guide or need any clarification, feel free to follow st
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Make sure that your motherboard is:
|
Make sure that your motherboard:
|
||||||
|
|
||||||
- supports hardware virtualisation
|
- supports hardware virtualisation
|
||||||
- supports IOMMU
|
- supports IOMMU
|
||||||
|
|
||||||
|
@ -231,7 +232,9 @@ In `/etc/security/limits.d/99-memlock.conf` write:
|
||||||
@kvm hard memlock 8100452
|
@kvm hard memlock 8100452
|
||||||
@kvm soft memlock 8100452
|
@kvm soft memlock 8100452
|
||||||
|
|
||||||
You may need to reboot for these changes to take effect, especially ones relating to udev rules.
|
You may need to re-login for these changes to take effect, especially ones relating to udev rules.
|
||||||
|
|
||||||
|
*Busybox doesn't support these configurations for its /bin/login, so use shadow's /bin/login (on alpine you need the package `shadow-login`)*
|
||||||
|
|
||||||
### Using ddcutil to switch between monitor inputs
|
### Using ddcutil to switch between monitor inputs
|
||||||
|
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue