oliverdavies.uk/content/node.8290cf4e-cbbc-415d-b185-cbaba90d42d1.yml

72 lines
3.7 KiB
YAML

uuid:
- value: 8290cf4e-cbbc-415d-b185-cbaba90d42d1
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T09:00:02+00:00'
revision_uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
revision_log: { }
status:
- value: true
uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
title:
- value: 'Patching more things'
created:
- value: '2025-01-15T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:02+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/01/15/more-patches
langcode: en
body:
- value: |
<p>Since <a href="/daily/2025/01/13/patches">patching ThePrimeagen's tmux-sessionizer script</a>, I've started to think of more situations where patching would be useful.</p>
<p>I've been using Nick Janetakis' notes script for creating and managing notes files and wanted it to generate daily files instead of monthly, which it did in a previous version.</p>
<p>Rather than locking myself to using an older version, <a href="https://code.oliverdavies.uk/opdavies/dotfiles/commit/3e9a27874a8110f5e6af2afff3de6efbc5b71e8f">I patched the script</a> to include my changes and create the files with the names I want.</p>
<p>If Nick releases a new version, I'll get the updates and I'll keep my changes as the patch is applied automatically by Nix.</p>
<p>As I mentioned before, the suckless.org projects follow this approach and expect users to create and apply patches to their software to configure and customise them.</p>
<p>As someone who creates and maintains open source software, and develops applications with open source projects like Drupal, knowing how to use patches to fix and extend them can be very useful in some situations.</p>
<p>P.S. If you want to hear a conversation between Nick and myself about Docker, course creation and more, listen to the <a href="/podcast/12-nick-janetakis-docker">episode with Nick on the Beyond Blocks podcast</a>.</p>
format: full_html
processed: |
<p>Since <a href="http://default/daily/2025/01/13/patches">patching ThePrimeagen's tmux-sessionizer script</a>, I've started to think of more situations where patching would be useful.</p>
<p>I've been using Nick Janetakis' notes script for creating and managing notes files and wanted it to generate daily files instead of monthly, which it did in a previous version.</p>
<p>Rather than locking myself to using an older version, <a href="https://code.oliverdavies.uk/opdavies/dotfiles/commit/3e9a27874a8110f5e6af2afff3de6efbc5b71e8f">I patched the script</a> to include my changes and create the files with the names I want.</p>
<p>If Nick releases a new version, I'll get the updates and I'll keep my changes as the patch is applied automatically by Nix.</p>
<p>As I mentioned before, the suckless.org projects follow this approach and expect users to create and apply patches to their software to configure and customise them.</p>
<p>As someone who creates and maintains open source software, and develops applications with open source projects like Drupal, knowing how to use patches to fix and extend them can be very useful in some situations.</p>
<p>P.S. If you want to hear a conversation between Nick and myself about Docker, course creation and more, listen to the <a href="http://default/podcast/12-nick-janetakis-docker">episode with Nick on the Beyond Blocks podcast</a>.</p>
summary: null
field_daily_email_cta: { }