summary refs log tree commit diff stats
diff options
context:
space:
mode:
authormounderfod <mounderfod@gmail.com>2023-07-22 14:50:59 +0200
committermounderfod <mounderfod@gmail.com>2023-07-22 14:50:59 +0200
commit82cf97b090a3ea3ea948c59f7a2bf1f38cf9df73 (patch)
treee5c32d75e0568f2a8513ca0b389eeb6431bb953d
parentec6e74b052530086b4b7144a692ece2d142a33fc (diff)
parent1261ea2a404f50abe6b9ab20b0f9c77003dcb414 (diff)
downloadwebsite-82cf97b090a3ea3ea948c59f7a2bf1f38cf9df73.tar.gz
Merge branch 'master' of https://github.com/mounderfod/website
-rw-r--r--_config.yml2
-rw-r--r--_posts/2023-07-11-enter-the-fediverse.md2
-rw-r--r--_posts/2023-07-18-using-emacs.md55
-rw-r--r--about.markdown7
-rw-r--r--assets/index.css4
5 files changed, 67 insertions, 3 deletions
diff --git a/_config.yml b/_config.yml
index 7fad49d..f4989ac 100644
--- a/_config.yml
+++ b/_config.yml
@@ -27,6 +27,8 @@ baseurl: "/" # the subpath of your site, e.g. /blog
 url: "https://mounderfod.online" # the base hostname & protocol for your site, e.g. http://example.com
 github_username: mounderfod
 
+future: true
+
 # Build settings
 plugins:
   - jekyll-feed
diff --git a/_posts/2023-07-11-enter-the-fediverse.md b/_posts/2023-07-11-enter-the-fediverse.md
index 3091ef1..21cf55d 100644
--- a/_posts/2023-07-11-enter-the-fediverse.md
+++ b/_posts/2023-07-11-enter-the-fediverse.md
@@ -2,7 +2,7 @@
 layout: post
 title: Enter The Fediverse
 date: 2023-07-11T16:56:14.690Z
-tags: [fediverse, tech, mastodon, lemmy, reddit]
+tags: [fediverse, tech, mastodon, lemmy, reddit, social media]
 --- 
 
 If you haven't heard, Reddit is in [a bit of a pickle](https://www.nbcnews.com/tech/tech-news/reddit-protest-blackout-ceo-steve-huffman-moderators-rcna89544). In short, they have changed their API pricing in such a way as to effectively make it impossible for 3rd party apps to continue, presumably in order to improve that sweet ad revenue (a move probably inspired by [Twitter's](https://www.engadget.com/twitter-shut-off-its-free-api-and-its-breaking-a-lot-of-apps-222011637.html)). In any case, the lack of Reddit for a few days (and my general dissatisfaction with the platform at that time) led me to explore alternatives, which led me to [Lemmy](https://join-lemmy.org), a finding which would cause me to dive much deeper into a much wider thing - the Fediverse. This article will explore this process and how I've found it so far.
diff --git a/_posts/2023-07-18-using-emacs.md b/_posts/2023-07-18-using-emacs.md
new file mode 100644
index 0000000..6fb0939
--- /dev/null
+++ b/_posts/2023-07-18-using-emacs.md
@@ -0,0 +1,55 @@
+---
+layout: post
+title: Using Emacs
+date: 2023-07-18T09:27:00Z
+tags: [webdev, ide, emacs, text editor, development]
+---
+
+This post is being written in [Emacs](https://www.gnu.org/software/emacs/) :)
+
+### What?
+
+Emacs is, according to its own website:
+
+> "An extensible, customizable, free/libre text editor — and more."
+
+Basically, it's one of the oldest text editors to exist, is (technically) entirely keyboard-based, and manages to combine simplicity with power. In short, it's great and I'm going to talk about it now.
+
+### Why?
+
+Why am I using Emacs? Well, there's a few reasons:
+
+- I'd heard of it before and it sounded cool
+- It's complex enough that it would present an interesting learning curve, but not so difficult as to discourage me
+- It's useful for editing posts and HTML like this
+- It ships with Tetris built in (need I say more?)
+
+### How?
+
+I went to the website and downloaded it.
+My laptop currently uses Windows, and Emacs is made by GNU so as expected I was berated for my choice of OS:
+
+> "To improve the use of proprietary systems is a misguided goal. Our aim, rather, is to eliminate them."
+
+But I wasn't going to concern myself with GNU's plans for world domination; that's a problem for another day. The install was fairly simple, like any other application, and upon running the program I am greeted with a pleasant menu screen:
+
+![The Emacs welcome page](https://cdn.discordapp.com/attachments/838048982873538572/1130779711820267570/image.png)
+
+Now it was time for me to learn how to use Emacs.
+Emacs is primarily keyboard-based, as it was developed at a time where not all computers had GUIs at all, let alone mice to interact with them. As such, and also due to its age, it has its own set of keybinding patterns which are overall very different to that of most applications. For example, saving a file in MS Word is `Ctrl-S`, while in Emacs it is `C-x C-s`, which means `Ctrl-x` followed by `Ctrl-S`. You'll notice that in this example, two keybindings need to be pressed to perform one action. This is very common in Emacs, as there are lots of commands and not many keys, and there are even some commands that don't have keybindings and must be invoked by pressing `M-x` (`M` meaning `Alt`) and then typing the command name out.
+
+This was all a bit complex for me to understand at first, but I quickly got the hang of it (as I had done with the more standard keybinding patterns that existed elsewhere in the computing world).
+
+### Customising Emacs
+
+Now that I had gotten the grips of Emacs' basic usage, I needed to tailor it to my own needs.
+My plan was to use Emacs for editing Markdown posts (such as this one) or HTML files, and my website is hosted on GitHub, so I needed something to cover both bases.
+
+For the latter, there was already Emacs' `VersionControl`, but this was a generic version control tool and wasn't tailored to the specifics of Git. Therefore, I did some googling and came across [Magit](https://magit.vc). A few more googles educated me in how to add the package repository it was in and how to then install the package (`M-x package-install RET magit RET`), and I was quickly able to clone, commit, and push to the website repository. Perfect!
+
+Now I needed to improve my Markdown editing experience. `.md` files are text, and so I could edit them as normal in Emacs, but then I wouldn't be able to enjoy things such as syntax highlighting and easy access to various formatting options without typing them out manually. Again, a quick google found [markdown-mode](https://github.com/jrblevin/markdown-mode), and within moments it was installed. The package adds a major mode to Emacs - Emacs is mode-based, meaning that there are modes of editing which result in different functionality of the editor for different purposes - in this case, the markdown mode (enabled with `M-x markdown-mode`) provides syntax highlighting and commands to automatically paste in the syntax for links, etc.
+
+![Me editing this very post in Emacs with syntax highlighting](https://cdn.discordapp.com/attachments/838048982873538572/1130784754657153024/image.png)
+
+And that was it! I had installed, learned to use, and configured Emacs and could now use it to edit blog posts for this very website (or Gopher phlog, if you're reading it on that mirror).
+Next I shall get it set up for developing my Python/Java projects - I'll keep you posted!
diff --git a/about.markdown b/about.markdown
index db51417..f0ea75a 100644
--- a/about.markdown
+++ b/about.markdown
@@ -4,7 +4,7 @@ title: About
 permalink: /about/
 ---
 
-# ABOUT
+<h1 style="text-align: center;">About</h1>
 
 Hello! :D My name is Noah, but I go by **mounderfod**. I am interested in music,
 programming and video games.
@@ -13,14 +13,17 @@ programming and video games.
 
 **Languages I code in:** Python, JS, Java (and C# by extension), Rust
 
-## SOCIALS
+<h2 style="text-align: center;">Socials</h2>
 
 I primarily use the Fediverse:
 
 - [Lemmy](https://lemmy.sdf.org/u/mounderfod)
 - [Mastodon](https://mastodon.sdf.org/@mounderfod)
 - [Pixelfed](https://metapixl.com/i/web/profile/577395471914797016)
+- [GNU social](http://osli.rf.gd/mounderfod)
 
 If you have any questions/messages:
 
 - **Discord**: @mounderfod
+- **Email**: mounderfod+website〈at〉gmail.com
+
diff --git a/assets/index.css b/assets/index.css
index da1c08a..c4a6157 100644
--- a/assets/index.css
+++ b/assets/index.css
@@ -35,6 +35,10 @@ a > :is(p, h1, h2, h3, h4, h5, h6) {
   color: -webkit-link;
 }
 
+img {
+    max-width: 100%;
+}
+
 marquee {
   width: 100%;
 }