diff --git a/_data/nav.yml b/_data/nav.yml index 91660a7..c9cb3ed 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -1,11 +1,9 @@ -- name: ABOUT - link: / -- name: BLOG +- name: blog link: /blog -- name: TIL +- name: til link: /til -- name: PROJECTS +- name: projects link: /projects -- name: PHOTOS↗ +- name: photos↗ link: http://andrewconlinphotography.co.uk diff --git a/_includes/nav.html b/_includes/nav.html index 4d1e092..4e07747 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,31 +1,10 @@ -
-
- -
\ No newline at end of file +
+ +

+ andrewconl.in + {% for item in site.data.nav %} + {{ item.name }} + {% endfor %} +

+ +
diff --git a/_layouts/default.html b/_layouts/default.html index 9cdab63..7eebe2c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -13,18 +13,23 @@ -
+
{% include nav.html %} -
-

- {{ page.title }} -

-

- {{ page.subtitle }} -

- {{ content }} -
-
+
+
+
+ +

+ {{ page.title }}x +

+ +

+ {{ page.subtitle }} +

+ {{ content }} +
+
+
diff --git a/_posts/til/2023-03-01-nextcloud-php-errors.md b/_posts/til/2023-03-01-nextcloud-php-errors.md index 2461de9..22e6f5f 100644 --- a/_posts/til/2023-03-01-nextcloud-php-errors.md +++ b/_posts/til/2023-03-01-nextcloud-php-errors.md @@ -1,12 +1,6 @@ --- title: Fixing php errors in a Nextcloud docker-compose configuration -categories: -- til -tags: -- php -- nextcloud -- docker -- docker-compose +category: til --- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird `php` errors. diff --git a/_site/assets/css/default.css b/_site/assets/css/default.css index 903e98f..7dc885a 100644 --- a/_site/assets/css/default.css +++ b/_site/assets/css/default.css @@ -2,10 +2,6 @@ @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap'); -h1.logo { - height: 90px; -} - hr { border: none; height: 3px; @@ -23,15 +19,16 @@ hr.menu { } } -a { - color: #ebdbb2; +body { + background-color: #008080; + color: black; + font-family: "monospace"; + min-height: 100vh; } -body { - background-color: #282828; - color: #ebdbb2; - font-family: "Fira Code"; - min-height: 100vh; +html, body { + max-width: 100%; + overflow-x: hidden; } code { diff --git a/_site/assets/images/me-dithered.jpg b/_site/assets/images/me-dithered.jpg new file mode 100644 index 0000000..5bf1d55 Binary files /dev/null and b/_site/assets/images/me-dithered.jpg differ diff --git a/_site/assets/images/me-full.jpg b/_site/assets/images/me-full.jpg new file mode 100644 index 0000000..16f6b4e Binary files /dev/null and b/_site/assets/images/me-full.jpg differ diff --git a/_site/assets/images/me.jpg b/_site/assets/images/me.jpg index 16f6b4e..73587c8 100644 Binary files a/_site/assets/images/me.jpg and b/_site/assets/images/me.jpg differ diff --git a/_site/assets/images/me1.jpg b/_site/assets/images/me1.jpg new file mode 100644 index 0000000..40d77d2 Binary files /dev/null and b/_site/assets/images/me1.jpg differ diff --git a/_site/blog/2023/03/10/putting-thoughts-into-action/index.html b/_site/blog/2023/03/10/putting-thoughts-into-action/index.html index f69ada2..bc3d153 100644 --- a/_site/blog/2023/03/10/putting-thoughts-into-action/index.html +++ b/_site/blog/2023/03/10/putting-thoughts-into-action/index.html @@ -13,96 +13,36 @@ -
-
-
- -
-
-

- A measure of how easily thoughts can be translated to action -

-

- -

-

+

+ + +
+
+
+ +

+ A measure of how easily thoughts can be translated to actionx +

+ +

+ +

+

 10 Mar 2023 |  2 minutes @@ -132,8 +72,9 @@

The solution to this, at least for me, are frameworks such as Bootstrap and Jekyll. They put a layer between the user and the options; essentially translating and simplying all the little configurations into something much easier to work with. Columns in Bootstrap make page layouts simple; markdown-to-html parsing in Jekyll makes text formatting a breeze. But, most importantly of all, these frameworks don’t sacrifice on the possibilities. They make it easier to apply complex setups, but if you want to go in and tweak absolutely everything to your liking, go right ahead. By providing the user with simpler ways of doing the same things as before, they manage to bridge the gap between Can I do everything I want to? and How easy is it?. And I think that is beautiful.

-
-
+
+
+
diff --git a/_site/blog/index.html b/_site/blog/index.html index 471a4d4..15441a5 100644 --- a/_site/blog/index.html +++ b/_site/blog/index.html @@ -13,96 +13,36 @@ -
-
-
- -
-
-

- LATEST POSTS -

-

- all the posts, in reverse chronological. there is an atom feed above. -

-
+
+ + +
+
+
+ +

+ LATEST POSTS x +

+ +

+ all the posts, in reverse chronological. there is an atom feed above. +

+
    @@ -125,8 +65,9 @@
-
-
+
+
+
diff --git a/_site/feed.xml b/_site/feed.xml index 7d8101d..31a4772 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1,4 +1,4 @@ -Jekyll2023-08-07T18:22:00+01:00http://localhost:4000/feed.xmlAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).

+Jekyll2023-08-09T14:22:05+01:00http://localhost:4000/feed.xmlAndrew ConlinRunning a Python script periodically in a Docker container using cron2023-04-19T00:00:00+01:002023-04-19T00:00:00+01:00http://localhost:4000/til/running-python-in-cron-in-dockerRecently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).

I loved this idea, and thought it would be no problem to get a Python script up and running periodically on my Raspberry Pi home server using cron. However, I ran into various issues along the way (some of which were not so easy to resolve), so I’m collating all the configuration changes I made in the hopes that it will be useful to someone one day. You can find the full repo for this project here, and I have also included my Dockerfile, docker-compose.yml and crontab at the end of this TIL.

@@ -156,4 +156,4 @@ This led me to running this command:

….aaaaaand, voila! The command runs, the files are scanned and everything is up to date.

-

terminal output showing the files that have been successfully been scanned

]]>
Andrew Conlin
\ No newline at end of file +

terminal output showing the files that have been successfully been scanned

]]>
Andrew Conlin
\ No newline at end of file diff --git a/_site/index.html b/_site/index.html index 6b06a95..28b0c44 100644 --- a/_site/index.html +++ b/_site/index.html @@ -13,99 +13,40 @@ -
-
-
- -
-
-

- ABOUT ME -

-

- -

-
+
+ + +
+
+
+ +

+ about-me.mdx +

+ +

+ +

+
+

-Hi! My name is Andrew Conlin. I am a software engineer and photographer, currently based in Cambridge, England. +Hi! My name is Andrew Conlin. I am a software engineer and photographer, currently based in Glasgow, Scotland.

My main hobbies are film photography and running. I love watching movies, especially in the cinema. I love post-punk, dreampop and experimental hip hop. I love drinking good coffee, good beer and good whisky. I am also a passionate self-hoster, and like to think that I'm at least somewhat privacy conscious. @@ -114,11 +55,10 @@ My main hobbies are film photography and running. I love Simon Willison, I also post my TIL series here. Any time I run into a weird error while programming, I post the full error message and the fix that I found, to hopefully help someone down the line.

-

CONTACT

-
You can email me, or use any of the socials in the nav menu. -
-
+
+
+
diff --git a/_site/til/index.html b/_site/til/index.html index a4a8575..242f8a5 100644 --- a/_site/til/index.html +++ b/_site/til/index.html @@ -13,96 +13,36 @@ -
-
-
- -
-
-

- LATEST TILS -

-

- my collection of tils (today-i-learned). i use this mainly to collect solutions to weird errors i have faced, and detail the little projects that i work on. this has its own atom feed (above) as they are typically very different from my other posts. all tils are blog posts but not all blog posts are tils. -

-
+
+ + +
+
+
+ +

+ LATEST TILS x +

+ +

+ my collection of tils (today-i-learned). i use this mainly to collect solutions to weird errors i have faced, and detail the little projects that i work on. this has its own atom feed (above) as they are typically very different from my other posts. all tils are blog posts but not all blog posts are tils. +

+
    @@ -135,8 +75,9 @@
-
-
+
+
+
diff --git a/_site/til/nextcloud-php-errors/index.html b/_site/til/nextcloud-php-errors/index.html index 89ec55e..778afa2 100644 --- a/_site/til/nextcloud-php-errors/index.html +++ b/_site/til/nextcloud-php-errors/index.html @@ -13,96 +13,36 @@ -
-
-
- -
-
-

- Fixing php errors in a Nextcloud docker-compose configuration -

-

- -

-

+

+ + +
+
+
+ +

+ Fixing php errors in a Nextcloud docker-compose configurationx +

+ +

+ +

+

 01 Mar 2023 |  2 minutes @@ -154,8 +94,9 @@ This led me to running this command:

terminal output showing the files that have been successfully been scanned

-
-
+
+
+
diff --git a/_site/til/running-python-in-cron-in-docker/index.html b/_site/til/running-python-in-cron-in-docker/index.html index 8c3d7be..f70e0a0 100644 --- a/_site/til/running-python-in-cron-in-docker/index.html +++ b/_site/til/running-python-in-cron-in-docker/index.html @@ -13,96 +13,36 @@ -
-
-
- -
-
-

- Running a Python script periodically in a Docker container using cron -

-

- -

-

+

+ + +
+
+
+ +

+ Running a Python script periodically in a Docker container using cronx +

+ +

+ +

+

 19 Apr 2023 |  3 minutes @@ -208,8 +148,9 @@ PYTHONPATH=/usr/bin/local/python3

-
-
+
+
+
diff --git a/assets/css/default.css b/assets/css/default.css index 903e98f..7dc885a 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -2,10 +2,6 @@ @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap'); -h1.logo { - height: 90px; -} - hr { border: none; height: 3px; @@ -23,15 +19,16 @@ hr.menu { } } -a { - color: #ebdbb2; +body { + background-color: #008080; + color: black; + font-family: "monospace"; + min-height: 100vh; } -body { - background-color: #282828; - color: #ebdbb2; - font-family: "Fira Code"; - min-height: 100vh; +html, body { + max-width: 100%; + overflow-x: hidden; } code { diff --git a/assets/images/me-dithered.jpg b/assets/images/me-dithered.jpg new file mode 100644 index 0000000..5bf1d55 Binary files /dev/null and b/assets/images/me-dithered.jpg differ diff --git a/assets/images/me-full.jpg b/assets/images/me-full.jpg new file mode 100644 index 0000000..16f6b4e Binary files /dev/null and b/assets/images/me-full.jpg differ diff --git a/assets/images/me.jpg b/assets/images/me.jpg index 16f6b4e..73587c8 100644 Binary files a/assets/images/me.jpg and b/assets/images/me.jpg differ diff --git a/assets/images/me1.jpg b/assets/images/me1.jpg new file mode 100644 index 0000000..40d77d2 Binary files /dev/null and b/assets/images/me1.jpg differ diff --git a/index.html b/index.html index 48244e2..aed3d4a 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,14 @@ --- layout: default -title: ABOUT ME +title: about-me.md permalink: / --- -
+
+

-Hi! My name is Andrew Conlin. I am a software engineer and photographer, currently based in Cambridge, England. +Hi! My name is Andrew Conlin. I am a software engineer and photographer, currently based in Glasgow, Scotland.

My main hobbies are film photography and running. I love watching movies, especially in the cinema. I love post-punk, dreampop and experimental hip hop. I love drinking good coffee, good beer and good whisky. I am also a passionate self-hoster, and like to think that I'm at least somewhat privacy conscious. @@ -16,6 +17,4 @@ My main hobbies are film photography and running. I love Simon Willison, I also post my TIL series here. Any time I run into a weird error while programming, I post the full error message and the fix that I found, to hopefully help someone down the line.

-

CONTACT

-
You can email me, or use any of the socials in the nav menu. \ No newline at end of file