diff --git a/content/blog/old/2015/uncategorised/index.md b/content/blog/old/2015/tutorials-explained/index.md similarity index 100% rename from content/blog/old/2015/uncategorised/index.md rename to content/blog/old/2015/tutorials-explained/index.md diff --git a/content/blog/old/2018/rejoice-subscribers/images/Celebration-300x300.png b/content/blog/old/2018/rejoice-subscribers/celebration.png similarity index 100% rename from content/blog/old/2018/rejoice-subscribers/images/Celebration-300x300.png rename to content/blog/old/2018/rejoice-subscribers/celebration.png diff --git a/content/blog/old/2018/rejoice-subscribers/images/Celebration.png b/content/blog/old/2018/rejoice-subscribers/images/Celebration.png deleted file mode 100644 index 03b2f38..0000000 Binary files a/content/blog/old/2018/rejoice-subscribers/images/Celebration.png and /dev/null differ diff --git a/content/blog/old/2018/rejoice-subscribers/index.md b/content/blog/old/2018/rejoice-subscribers/index.md index 41d52ad..1733562 100644 --- a/content/blog/old/2018/rejoice-subscribers/index.md +++ b/content/blog/old/2018/rejoice-subscribers/index.md @@ -11,7 +11,7 @@ Hello there, everyone! This is a celebratory post as today we are celebrating th This news comes with the arrival of our Swift, C and C# tutorials. We hope that our popularity continues to grow. But, for now, let's celebrate and rejoice! We're going up in the world. -[![](images/Celebration-300x300.png)](http://www.ethanjmarshall.co.uk/wp-content/uploads/2018/06/Celebration.png) +![Celebrate](celebration.png) We hope you continue to visit and enjoy our content here on ethanjmarshall.co.uk. Please share you messages below if you want to show your support. Thanks! diff --git a/content/blog/old/2020/gpg-mistakes/images/key-2114459_640.png b/content/blog/old/2020/gpg-mistakes/images/key-2114459_640.png deleted file mode 100644 index 7facd99..0000000 Binary files a/content/blog/old/2020/gpg-mistakes/images/key-2114459_640.png and /dev/null differ diff --git a/content/blog/old/2020/gpg-mistakes/images/pexels-photo-225769.jpeg b/content/blog/old/2020/gpg-mistakes/images/pexels-photo-225769.jpeg deleted file mode 100644 index 6edc75a..0000000 Binary files a/content/blog/old/2020/gpg-mistakes/images/pexels-photo-225769.jpeg and /dev/null differ diff --git a/content/blog/old/2020/gpg-mistakes/index.md b/content/blog/old/2020/gpg-mistakes/index.md index 9a26d18..acb8760 100644 --- a/content/blog/old/2020/gpg-mistakes/index.md +++ b/content/blog/old/2020/gpg-mistakes/index.md @@ -3,7 +3,6 @@ title: "Don't be like me with GPG" date: "2020-12-19" categories: - Old Blog -coverImage: "key-2114459_640.png" --- Ah, public key cryptography; where would we be without you? I mean, probably somewhere at least, but nowhere near where we are technically today. diff --git a/content/blog/old/2020/me-and-my-dad/dad.jpg b/content/blog/old/2020/me-and-my-dad/dad.jpg new file mode 100644 index 0000000..b8454c5 Binary files /dev/null and b/content/blog/old/2020/me-and-my-dad/dad.jpg differ diff --git a/content/blog/old/2020/me-and-my-dad/images/Dad.jpg b/content/blog/old/2020/me-and-my-dad/images/Dad.jpg deleted file mode 100644 index 6d32d9f..0000000 Binary files a/content/blog/old/2020/me-and-my-dad/images/Dad.jpg and /dev/null differ diff --git a/content/blog/old/2020/me-and-my-dad/index.md b/content/blog/old/2020/me-and-my-dad/index.md index 10a4a0d..c826693 100644 --- a/content/blog/old/2020/me-and-my-dad/index.md +++ b/content/blog/old/2020/me-and-my-dad/index.md @@ -1,11 +1,12 @@ --- -title: "Me and My Dad: Positive Memories" +title: "Me and My Dad" date: "2020-12-19" categories: - Old Blog -coverImage: "Dad.jpg" --- +![My Dad](dad.jpg) + It is a pretty special thing to be able to think back on your time with a person and to have no negative memories of them whatsoever come to mind. In fact, some would say that this is an impossible feat; something which cannot possibly be done by any functioning person. My dad was living proof that this is not the case. diff --git a/content/blog/old/2021/10-ways-linux-crash/images/crash.jpg b/content/blog/old/2021/10-ways-linux-crash/images/crash.jpg deleted file mode 100644 index af066ab..0000000 Binary files a/content/blog/old/2021/10-ways-linux-crash/images/crash.jpg and /dev/null differ diff --git a/content/blog/old/2021/a-bad-movie/images/pexels-photo-7234226.jpeg b/content/blog/old/2021/a-bad-movie/images/pexels-photo-7234226.jpeg deleted file mode 100644 index 3a8ceb7..0000000 Binary files a/content/blog/old/2021/a-bad-movie/images/pexels-photo-7234226.jpeg and /dev/null differ diff --git a/content/blog/old/2021/accidental-discoveries/images/pexels-photo-4792503.jpeg b/content/blog/old/2021/accidental-discoveries/images/pexels-photo-4792503.jpeg deleted file mode 100644 index 990b4ec..0000000 Binary files a/content/blog/old/2021/accidental-discoveries/images/pexels-photo-4792503.jpeg and /dev/null differ diff --git a/content/blog/old/2021/autism-pride-day/images/Autistic_Pride_Flag.png b/content/blog/old/2021/autism-pride-day/images/Autistic_Pride_Flag.png deleted file mode 100644 index 6e67a70..0000000 Binary files a/content/blog/old/2021/autism-pride-day/images/Autistic_Pride_Flag.png and /dev/null differ diff --git a/content/blog/old/2021/c-golden-rule/images/c-programming.png b/content/blog/old/2021/c-golden-rule/images/c-programming.png deleted file mode 100644 index 1fa68fb..0000000 Binary files a/content/blog/old/2021/c-golden-rule/images/c-programming.png and /dev/null differ diff --git a/content/blog/old/2021/climate-suspicions/images/communism-1024x576.jpg b/content/blog/old/2021/climate-suspicions/images/communism-1024x576.jpg deleted file mode 100644 index 3911144..0000000 Binary files a/content/blog/old/2021/climate-suspicions/images/communism-1024x576.jpg and /dev/null differ diff --git a/content/blog/old/2021/climate-suspicions/images/socialist-child-1024x551.png b/content/blog/old/2021/climate-suspicions/images/socialist-child-1024x551.png deleted file mode 100644 index 963de3e..0000000 Binary files a/content/blog/old/2021/climate-suspicions/images/socialist-child-1024x551.png and /dev/null differ diff --git a/content/blog/old/2021/cpp-good-bad-ugly/images/thumb_junior-c-developer-senior-c-developer-56317721.png b/content/blog/old/2021/cpp-good-bad-ugly/cpp-nutshell.png similarity index 100% rename from content/blog/old/2021/cpp-good-bad-ugly/images/thumb_junior-c-developer-senior-c-developer-56317721.png rename to content/blog/old/2021/cpp-good-bad-ugly/cpp-nutshell.png diff --git a/content/blog/old/2021/cpp-good-bad-ugly/index.md b/content/blog/old/2021/cpp-good-bad-ugly/index.md index 325f16e..d8a9f95 100644 --- a/content/blog/old/2021/cpp-good-bad-ugly/index.md +++ b/content/blog/old/2021/cpp-good-bad-ugly/index.md @@ -5,6 +5,8 @@ categories: - Old Blog --- +![CPP in a nutshell](cpp-nutshell.png) + C++ is not exactly known for its elegant syntax or concise expressiveness. It is a pretty common joke to hear in the programming world that "C++ is the only language where the error message may actually be longer than the program that caused it". Now, be that as it may, I think its more accurate to say that "C++ is the only language where the symbol name will be longer than the program that uses it". Take the following example: ``` diff --git a/content/blog/old/2021/far-right-checklist/images/Brian-Stelter.jpg b/content/blog/old/2021/far-right-checklist/images/Brian-Stelter.jpg deleted file mode 100644 index 58d5eea..0000000 Binary files a/content/blog/old/2021/far-right-checklist/images/Brian-Stelter.jpg and /dev/null differ diff --git a/content/blog/old/2021/leyendecker-appraisal/images/leyendecker-1-1024x718.jpg b/content/blog/old/2021/leyendecker-appraisal/images/leyendecker-1-1024x718.jpg deleted file mode 100644 index b0ab4b1..0000000 Binary files a/content/blog/old/2021/leyendecker-appraisal/images/leyendecker-1-1024x718.jpg and /dev/null differ diff --git a/content/blog/old/2021/mlk-one-thing-wrong/images/pexels-photo-5214869.jpeg b/content/blog/old/2021/mlk-one-thing-wrong/images/pexels-photo-5214869.jpeg deleted file mode 100644 index d9a52d0..0000000 Binary files a/content/blog/old/2021/mlk-one-thing-wrong/images/pexels-photo-5214869.jpeg and /dev/null differ diff --git a/content/blog/old/2021/nothing-to-fear-nothing-to-hide/images/nothin-to-fear-icon.jpg b/content/blog/old/2021/nothing-to-fear-nothing-to-hide/images/nothin-to-fear-icon.jpg deleted file mode 100644 index ea1e00b..0000000 Binary files a/content/blog/old/2021/nothing-to-fear-nothing-to-hide/images/nothin-to-fear-icon.jpg and /dev/null differ diff --git a/content/blog/old/2021/scott-joplin-genius/images/mlr.jpg b/content/blog/old/2021/scott-joplin-genius/images/mlr.jpg deleted file mode 100644 index 9ef306d..0000000 Binary files a/content/blog/old/2021/scott-joplin-genius/images/mlr.jpg and /dev/null differ diff --git a/content/blog/old/2021/scott-joplin-genius/index.md b/content/blog/old/2021/scott-joplin-genius/index.md index d38289a..f6b70d7 100644 --- a/content/blog/old/2021/scott-joplin-genius/index.md +++ b/content/blog/old/2021/scott-joplin-genius/index.md @@ -5,6 +5,8 @@ categories: - Old Blog --- +![Maple Leaf Rag](mlr.jpg) + It is very rare in the world of music that you come across something which you believe to be totally perfect. A piece which is so wonderfully intricate and yet to perfectly easy to listen to that you daren't change a single note, as that may upset the balance and ruin it. At least, for me, it was particularly rare until I re-discovered the undisputed king of ragtime: Scott Joplin. Scott Joplin's music is not only iconic, but it has lasted hundreds of years. The Maple Leaf Rag (one of his more famous pieces) was first published in 1899, and yet it is still one of the best known pieces of ragtime ever written. diff --git a/content/blog/old/2021/scott-joplin-genius/mlr.jpg b/content/blog/old/2021/scott-joplin-genius/mlr.jpg new file mode 100644 index 0000000..72b15ca Binary files /dev/null and b/content/blog/old/2021/scott-joplin-genius/mlr.jpg differ diff --git a/content/blog/old/2021/year-of-newspeak/images/censorship.png b/content/blog/old/2021/year-of-newspeak/images/censorship.png deleted file mode 100644 index c4fbad5..0000000 Binary files a/content/blog/old/2021/year-of-newspeak/images/censorship.png and /dev/null differ diff --git a/content/blog/old/2022/email-paranoia/images/hillarious-email-1024x563.png b/content/blog/old/2022/email-paranoia/images/hillarious-email-1024x563.png deleted file mode 100644 index 1151536..0000000 Binary files a/content/blog/old/2022/email-paranoia/images/hillarious-email-1024x563.png and /dev/null differ diff --git a/content/blog/old/2022/email-paranoia/images/more-spam-1.png b/content/blog/old/2022/email-paranoia/images/more-spam-1.png deleted file mode 100644 index a259666..0000000 Binary files a/content/blog/old/2022/email-paranoia/images/more-spam-1.png and /dev/null differ diff --git a/content/blog/old/2022/email-paranoia/images/more-spam-1019x1024.png b/content/blog/old/2022/email-paranoia/images/more-spam-1019x1024.png deleted file mode 100644 index 4a8dcfe..0000000 Binary files a/content/blog/old/2022/email-paranoia/images/more-spam-1019x1024.png and /dev/null differ diff --git a/content/blog/old/2022/email-paranoia/index.md b/content/blog/old/2022/email-paranoia/index.md index 242d08f..75b3d8f 100644 --- a/content/blog/old/2022/email-paranoia/index.md +++ b/content/blog/old/2022/email-paranoia/index.md @@ -3,7 +3,6 @@ title: "Public Emails for Paranoid UNIX Users" date: "2022-03-13" categories: - Old Blog -coverImage: "more-spam-1.png" --- I have been dealing with spam on my public email address for quite some time now, and it finally got to the peak of my patience with the the following email, sent to my email not so long ago: @@ -48,7 +47,7 @@ However, these obfuscated mailing addresses gave me an idea. How were the spamme Now, I have heard from the AUR maintainers that some spammers are starting to realise of this common obfuscation method and attempt to decode it properly. So, I added an extra layer of obfuscation - the sed layer. At the end of the email pipeline, you will see something which looks like this: -``` +```bash | sed 's/com.au/co.uk/' ``` @@ -56,7 +55,7 @@ All this is doing is substituting the fake domain registrar ".com.au" for the re This process also helps to eliminate non-UNIX users from being able to email me. As mentioned in the contact page, people who claim that they use WSL occasionally still slip through the net. This is a problem I need to solve, and I do have an idea, From personal experience, I know that neither WSL 1 nor 2 implement direct packet access. So, simple programs like **ping(8)** will completely fail. So, I could just add: -``` +```bash ping -c1 ethanjmarshall.co.uk >/dev/null 2>&1 && ( ) ``` @@ -68,7 +67,7 @@ In any case, this simple method has reduced my volume of spam by at least two th _Check your compliance with Based_™_ UNIX-ism with the following simple script:_ -``` +```bash #!/bin/sh asdfg() { return "this should cause an error" diff --git a/content/blog/old/2022/the-feeling-of-physics/images/formula-math-mathematics-physics-wallpaper-preview.jpg b/content/blog/old/2022/the-feeling-of-physics/images/formula-math-mathematics-physics-wallpaper-preview.jpg deleted file mode 100644 index 32ad425..0000000 Binary files a/content/blog/old/2022/the-feeling-of-physics/images/formula-math-mathematics-physics-wallpaper-preview.jpg and /dev/null differ diff --git a/content/blog/old/2023/neither-voltage-nor-current-kill/images/voltage.jpg b/content/blog/old/2023/neither-voltage-nor-current-kill/images/voltage.jpg deleted file mode 100644 index 5206ca2..0000000 Binary files a/content/blog/old/2023/neither-voltage-nor-current-kill/images/voltage.jpg and /dev/null differ diff --git a/themes/risotto/layouts/blog/list.html b/themes/risotto/layouts/blog/list.html index 9c650e5..a52379e 100644 --- a/themes/risotto/layouts/blog/list.html +++ b/themes/risotto/layouts/blog/list.html @@ -4,14 +4,14 @@ {{ .Content }} - {{ range .Pages }} + {{ range where .Pages "Kind" "page" }}

{{ .Title | markdownify }} -- {{ .Date.Format "2 January 2006" }}

- {{ .Summary }} + {{ .Description }}
{{ end }}