summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2022-11-11 14:20:36 +0100
committerVincent Douillet <vincent@vdouillet.fr>2022-11-11 14:20:36 +0100
commit0644796fdf1e5ac2fc884d5557e0579b0a241354 (patch)
treee8009fb0fcb08a5b147e49ef63ff5f24e54ab69b
parent2ec9204c3c564ab092fbf527b8da6bac0688a512 (diff)
small corrections to articles and generator script
-rw-r--r--20210919-raspberry-pi-white-noise-machine.md5
-rw-r--r--20220829-adrenalin-25.5.1-rx-6700.md2
-rwxr-xr-xmakesite.pl4
3 files changed, 5 insertions, 6 deletions
diff --git a/20210919-raspberry-pi-white-noise-machine.md b/20210919-raspberry-pi-white-noise-machine.md
index 666157e..6fd4a50 100644
--- a/20210919-raspberry-pi-white-noise-machine.md
+++ b/20210919-raspberry-pi-white-noise-machine.md
@@ -1,6 +1,6 @@
# Raspberry Pi white noise machine
-September 19, 2021
+September 19, 2021, modified on November 11, 2022
A white noise machine can help find sleep or mask ambient noise or even tinnitus. It can also be used to muffle conversation from potential eavesdroppers. I wanted to experiment with a white noise machine for sleep purposes so I decided to build one with a Raspberry Pi I had lying around.
@@ -32,9 +32,8 @@ Next we are going to create a service to play the white noise automatically at s
[Service]
Type=simple
- Restart=never
User=pi
- ExecStart=mpg123 --loop /home/pi/whitenoise.mp3
+ ExecStart=mpg123 --loop -1 /home/pi/whitenoise.mp3
[Install]
WantedBy=multi-user.target
diff --git a/20220829-adrenalin-25.5.1-rx-6700.md b/20220829-adrenalin-25.5.1-rx-6700.md
index 0aab775..f710469 100644
--- a/20220829-adrenalin-25.5.1-rx-6700.md
+++ b/20220829-adrenalin-25.5.1-rx-6700.md
@@ -10,7 +10,7 @@ First of all, if you try to install the 22.5.1 driver with the RX 6700 installe
## The trick
-The trick is that both the RX 6700 and RX 6700 *XT* use the Navi 22 GPU. As a result, those cards are very similar and you can use the 6700 XT driver with the non-XT card. The steps are simple (please note that I have translated the name of the buttons, so they may differ slightly):
+The trick is that both the RX 6700 and RX 6700 *XT* use the Navi 22 GPU. As a result, those cards are very similar and you can use the 6700 XT driver with the non-XT card. The steps are simple (please note that I have translated the name of the buttons, so they may differ slightly). Needless to say, you have to know that you do this at your own risk, it may break or damage something, you've been warned:
1. Install the RX 6700 graphics card in the machine
2. Open Device Manager (simply search for "device manager" in the start menu)
diff --git a/makesite.pl b/makesite.pl
index 83bbce4..f78f387 100755
--- a/makesite.pl
+++ b/makesite.pl
@@ -14,7 +14,7 @@ sub page {
unless(defined $pageType) {
$pageType = "body"; # default page type
}
- open my $outHandle, ">>", "output/$pageFile";
+ open my $outHandle, ">", "output/$pageFile";
# Write header and insert page title
open my $inHandle, "<", "template/header.html";
while(<$inHandle>) {
@@ -98,7 +98,7 @@ page "index.html", "blog.vdouillet.fr", $indexContent, "body", "index-body";
# Build RSS feed with article list in reverse (most recent first)
print "Building RSS feed\n";
-open my $outHandle, ">>", "output/rss.xml";
+open my $outHandle, ">", "output/rss.xml";
# Write channel info and insert publication and build dates
open my $inHandle, "<", "template/rss.xml";
my $pubDate = Time::Piece->strptime($articleList[$#articleList]{date}, "%m-%d-%Y"); # Last article date