Compare commits

...

1 Commits

Author SHA1 Message Date
dbeee0d11d [09/08/23] changed theme to windows 95 prototype 2023-08-09 14:22:36 +01:00
22 changed files with 253 additions and 639 deletions

View File

@ -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

View File

@ -1,31 +1,10 @@
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
{% for item in site.data.nav %}
<div class="col">
<h4>
<a href="{{ item.link }}" class="text-decoration-none"> {{ item.name }} </a>
</h4>
</div>
{% endfor %}
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
{% for item in site.data.icons %}
{% if item.icon != "letterboxd" %}
<a rel="me" href="{{ item.link }}" target="_blank"><i class="{{ item.icon }}"></i></a>
{% else %}
<a href="{{ item.link }}" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
{% endif %}
{% endfor %}
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
{% for item in site.data.nav %}
<a href="{{ item.link }}" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> {{ item.name }} </a>
{% endfor %}
</h4>
</div>

View File

@ -13,18 +13,23 @@
</head>
<body>
<div class="container text-start">
<div>
{% include nav.html %}
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
{{ page.title }}
</h1>
<p>
{{ page.subtitle }}
</p>
{{ content }}
<br>
<br>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>{{ page.title }}</span><span style="float: right;">x</span>
<p>
</span>
<p>
{{ page.subtitle }}
</p>
{{ content }}
<br>
<br>
</div>
</div>
</div>

View File

@ -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.

View File

@ -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 {

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 129 KiB

BIN
_site/assets/images/me1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -13,96 +13,36 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
A measure of how easily thoughts can be translated to action
</h1>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>A measure of how easily thoughts can be translated to action</span><span style="float: right;">x</span>
<p>
</span>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<i class="fas fa-calendar"></i>&nbsp;10 Mar 2023
|
<i class="fas fa-clock"></i>&nbsp;2 minutes
@ -132,8 +72,9 @@
<p>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 dont 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 <em>Can I do everything I want to?</em> and <em>How easy is it?</em>. And I think that is beautiful.</p>
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -13,96 +13,36 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
LATEST POSTS <span style="font-size:20px;"><a href="/feed.xml"><i class="fas fa-rss-square"></i></a></span>
</h1>
<p>
all the posts, in reverse chronological. there is an atom feed above.
</p>
<hr>
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>LATEST POSTS <span style="font-size:20px;"><a href="/feed.xml"><i class="fas fa-rss-square"></i></a></span></span><span style="float: right;">x</span>
<p>
</span>
<p>
all the posts, in reverse chronological. there is an atom feed above.
</p>
<hr>
<ul style="list-style-type:none;margin:0;padding:0;">
@ -125,8 +65,9 @@
</ul>
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-08-07T18:22:00+01:00</updated><id>http://localhost:4000/feed.xml</id><author><name>Andrew Conlin</name></author><entry><title type="html">Running a Python script periodically in a Docker container using cron</title><link href="http://localhost:4000/til/running-python-in-cron-in-docker/" rel="alternate" type="text/html" title="Running a Python script periodically in a Docker container using cron" /><published>2023-04-19T00:00:00+01:00</published><updated>2023-04-19T00:00:00+01:00</updated><id>http://localhost:4000/til/running-python-in-cron-in-docker</id><content type="html" xml:base="http://localhost:4000/til/running-python-in-cron-in-docker/"><![CDATA[<p>Recently, 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).</p>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-08-09T14:22:05+01:00</updated><id>http://localhost:4000/feed.xml</id><author><name>Andrew Conlin</name></author><entry><title type="html">Running a Python script periodically in a Docker container using cron</title><link href="http://localhost:4000/til/running-python-in-cron-in-docker/" rel="alternate" type="text/html" title="Running a Python script periodically in a Docker container using cron" /><published>2023-04-19T00:00:00+01:00</published><updated>2023-04-19T00:00:00+01:00</updated><id>http://localhost:4000/til/running-python-in-cron-in-docker</id><content type="html" xml:base="http://localhost:4000/til/running-python-in-cron-in-docker/"><![CDATA[<p>Recently, 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).</p>
<p>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 <code class="language-plaintext highlighter-rouge">cron</code>. However, I ran into various issues along the way (some of which were not so easy to resolve), so Im 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 <a href="https://github.com/andrwcnln/watchman">here</a>, and I have also included my Dockerfile, docker-compose.yml and crontab at the end of this TIL.</p>
@ -156,4 +156,4 @@ This led me to running this command:</p>
<p>….aaaaaand, <em>voila!</em> The command runs, the files are scanned and everything is up to date.</p>
<p><img src="/assets/images/occ.png" alt="terminal output showing the files that have been successfully been scanned" /></p>]]></content><author><name>Andrew Conlin</name></author><category term="til" /><category term="php" /><category term="nextcloud" /><category term="docker" /><category term="docker-compose" /><summary type="html"><![CDATA[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.]]></summary></entry></feed>
<p><img src="/assets/images/occ.png" alt="terminal output showing the files that have been successfully been scanned" /></p>]]></content><author><name>Andrew Conlin</name></author><category term="til" /><summary type="html"><![CDATA[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.]]></summary></entry></feed>

View File

@ -13,99 +13,40 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
ABOUT ME
</h1>
<p>
</p>
<hr>
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>about-me.md</span><span style="float: right;">x</span>
<p>
</span>
<p>
</p>
<div style="display: flex;justify-content: center;">
<img src="/assets/images/me.jpg">
</div>
<br>
Hi! My name is Andrew Conlin. I am a <a href="https://www.linkedin.com/in/andrew-conlin-61320a257/" target="_blank">software engineer</a> and <a href="http://andrewconlinphotography.co.uk" target="_blank">photographer</a>, currently based in Cambridge, England.
Hi! My name is Andrew Conlin. I am a <a href="https://www.linkedin.com/in/andrew-conlin-61320a257/" target="_blank">software engineer</a> and <a href="http://andrewconlinphotography.co.uk" target="_blank">photographer</a>, currently based in Glasgow, Scotland.
<br>
<br>
My main hobbies are film photography and running. I love <a href="https://letterboxd.com/andrewconlin/">watching movies</a>, 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 <a href="https://letter
I mainly use this site as a space for my blog, where I post interesting things I've found, and some of my (not so interesting) thoughts. Inspired by <a href="https://til.simonwillison.net/">Simon Willison</a>, 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.
<br>
<br>
<h1> CONTACT </h1>
<hr>
You can <a href="mailto:andrew@andrewconl.in">email me</a>, or use any of the socials in the nav menu.
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -13,96 +13,36 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
LATEST TILS <span style="font-size:20px;"><a href="/feed/til.xml"><i class="fas fa-rss-square"></i></a></span>
</h1>
<p>
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.
</p>
<hr>
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>LATEST TILS <span style="font-size:20px;"><a href="/feed/til.xml"><i class="fas fa-rss-square"></i></a></span></span><span style="float: right;">x</span>
<p>
</span>
<p>
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.
</p>
<hr>
<ul style="list-style-type:none;margin:0;padding:0;">
@ -135,8 +75,9 @@
</ul>
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -13,96 +13,36 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
Fixing php errors in a Nextcloud docker-compose configuration
</h1>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>Fixing php errors in a Nextcloud docker-compose configuration</span><span style="float: right;">x</span>
<p>
</span>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<i class="fas fa-calendar"></i>&nbsp;01 Mar 2023
|
<i class="fas fa-clock"></i>&nbsp;2 minutes
@ -154,8 +94,9 @@ This led me to running this command:</p>
<p><img src="/assets/images/occ.png" alt="terminal output showing the files that have been successfully been scanned" /></p>
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -13,96 +13,36 @@
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-2">
<div class="col col-md-3">
<div class="row row-cols-1 g-0" id="nav" style="position:sticky;top:0px;">
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:#282828;background-color:#ebdbb2;">ac</span>
</h1>
<div class="col">
<h4>
<a href="/" class="text-decoration-none"> ABOUT </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/blog" class="text-decoration-none"> BLOG </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/til" class="text-decoration-none"> TIL </a>
</h4>
</div>
<div class="col">
<h4>
<a href="/projects" class="text-decoration-none"> PROJECTS </a>
</h4>
</div>
<div class="col">
<h4>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> PHOTOS↗ </a>
</h4>
</div>
<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss"></i></a>
</span>
</div>
</h4>
</div>
<hr class="menu">
</div>
</div>
<div class="col col-md-9" style="position: relative;top: 90px;">
<h1 style="font-weight: 500;">
Running a Python script periodically in a Docker container using cron
</h1>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<div>
<div class="row" style="background-color: #cacaca;color: #282828; text-align: center;">
<h4>
<a href="/" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;">andrewconl.in</a>
<a href="/blog" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> blog </a>
<a href="/til" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> til </a>
<a href="/projects" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> projects </a>
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: #282828;border: solid #282828 thin;""> photos↗ </a>
</h4>
</div>
<br>
<div class="container">
<div class="col-md-6 offset-md-3" style="background-color: white;">
<span>
<p style="font-weight: 500;background-color: #cacaca;text-align: center;">
<span>Running a Python script periodically in a Docker container using cron</span><span style="float: right;">x</span>
<p>
</span>
<p>
</p>
<p style="font-family:Fira Code;font-weight:500;">
<i class="fas fa-calendar"></i>&nbsp;19 Apr 2023
|
<i class="fas fa-clock"></i>&nbsp;3 minutes
@ -208,8 +148,9 @@ PYTHONPATH=/usr/bin/local/python3
</code></pre></div></div>
<br>
<br>
<br>
<br>
</div>
</div>
</div>

View File

@ -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 {

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
assets/images/me-full.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 129 KiB

BIN
assets/images/me1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -1,13 +1,14 @@
---
layout: default
title: ABOUT ME
title: about-me.md
permalink: /
---
<hr>
<div style="display: flex;justify-content: center;">
<img src="/assets/images/me.jpg">
</div>
<br>
Hi! My name is Andrew Conlin. I am a <a href="https://www.linkedin.com/in/andrew-conlin-61320a257/" target="_blank">software engineer</a> and <a href="http://andrewconlinphotography.co.uk" target="_blank">photographer</a>, currently based in Cambridge, England.
Hi! My name is Andrew Conlin. I am a <a href="https://www.linkedin.com/in/andrew-conlin-61320a257/" target="_blank">software engineer</a> and <a href="http://andrewconlinphotography.co.uk" target="_blank">photographer</a>, currently based in Glasgow, Scotland.
<br>
<br>
My main hobbies are film photography and running. I love <a href="https://letterboxd.com/andrewconlin/">watching movies</a>, 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 <a href="https://letter
I mainly use this site as a space for my blog, where I post interesting things I've found, and some of my (not so interesting) thoughts. Inspired by <a href="https://til.simonwillison.net/">Simon Willison</a>, 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.
<br>
<br>
<h1> CONTACT </h1>
<hr>
You can <a href="mailto:andrew@andrewconl.in">email me</a>, or use any of the socials in the nav menu.