[03/05/23] updated category and tag archives and added an atom feed
This commit is contained in:
parent
e66097a7c6
commit
f353e6616a
45 changed files with 3272 additions and 24 deletions
|
@ -5,6 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
|
||||
<link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" />
|
||||
<title>andrew conlin</title>
|
||||
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
@ -52,6 +53,12 @@
|
|||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="/til" class="text-decoration-none"> til </a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
<h4>
|
||||
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none"> photos↗ </a>
|
||||
|
@ -91,6 +98,10 @@
|
|||
<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>
|
||||
|
@ -102,6 +113,9 @@
|
|||
<h1 style="font-weight: 500;">
|
||||
Running a Python script periodically in a Docker container using cron
|
||||
</h1>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
@ -174,7 +188,7 @@ which python3
|
|||
<p>You can then add this to the top of your Python script, as follows:</p>
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/local/python3
|
||||
</code></pre></div></div>
|
||||
<h2 id="3-still-missing-dependecencies">3. Still missing dependecencies</h2>
|
||||
<h2 id="3-still-missing-dependencies">3. Still missing dependencies</h2>
|
||||
<p>Some modules will still run into errors even when the PYTHONPATH variable has been set. In particular, I ran into problems with <code class="language-plaintext highlighter-rouge">reportlab</code> and <code class="language-plaintext highlighter-rouge">Pillow/PIL</code>:</p>
|
||||
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ImportError: cannot import name '_imaging' from 'PIL'
|
||||
</code></pre></div></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue