summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/dreams/2020-08-26.md15
-rw-r--r--content/posts/swap-file-linux.md5
2 files changed, 19 insertions, 1 deletions
diff --git a/content/dreams/2020-08-26.md b/content/dreams/2020-08-26.md
new file mode 100644
index 0000000..e19b4fd
--- /dev/null
+++ b/content/dreams/2020-08-26.md
@@ -0,0 +1,15 @@
+---
+title: Untitled Dream 29
+dream: dated
+date: 2020-08-26
+---
+
+I was in Japan, playing a [Takeshi's Castle](https://en.wikipedia.org/wiki/Takeshi%27s_Castle) type game with 50 other westerners from all over Europe and northern America against 50 Japanese people.
+
+We were sat in groups of 5 and being asked to answer general knowledge questions in Japanese that we had no idea about and were hopelessly guessing. After a total of 50 questions were asked there was an intermission, during which I boarded the plane that had brought the western group to Japan.
+
+Aboard this plane there was a Japanese air hostess wearing a purple swimsuit who couldn't speak English and I was asking for a pencil and paper to write down the questions so I could look them up later.
+
+I eventually got some writing materials but my writing was incredibly disjointed and fragmented, with just a few words per sentence and the writing being oriented all over the page.
+
+For the second half of us show we all competed individually doing the usual Takeshi's Castle games and I managed to make it through to the final round where you drive around a small car, but instead of attempting the objective I just drive away from the competition with the air hostess. \ No newline at end of file
diff --git a/content/posts/swap-file-linux.md b/content/posts/swap-file-linux.md
index e2dc626..9b45cf6 100644
--- a/content/posts/swap-file-linux.md
+++ b/content/posts/swap-file-linux.md
@@ -1,6 +1,7 @@
---
title: "Creating a Swap File on Linux"
date: 2019-06-10T10:03:00
+lastmod: 2020-08-27T01:15:00
tags: ["Formats", "Guides", "Linux", "Servers", "Snippets", "Software"]
---
@@ -12,7 +13,7 @@ The notes here work with a 1GB swap file, but feel free to change these if need
Firstly we're going to create the file, set permissions and enable the swap file:
```
-sudo fallocate -l 1G /swap
+sudo dd if=/dev/zero of=/swap bs=1M count=1024 status=progress
sudo chmod 600 /swap
sudo mkswap /swap
sudo swapon /swap
@@ -37,3 +38,5 @@ To make this change permanent, you'll need to write the value to your `sysctl.co
```
echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf
```
+
+* **Edit 2020-08-27:** Replaced `fallocate` instructions with `dd`, caused issues when trying to `swapon`. \ No newline at end of file