From be20ba5d0bbca3a3c4658ad83145e18729806016 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Wed, 14 Feb 2024 21:50:07 +0100 Subject: [PATCH] chore: troubleshoot the 'already subscribed to a feed' issue --- knowledge base/jq.md | 8 ++++++++ knowledge base/thunderbird.md | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/knowledge base/jq.md b/knowledge base/jq.md index 440cc40..b354cc5 100644 --- a/knowledge base/jq.md +++ b/knowledge base/jq.md @@ -26,6 +26,10 @@ jq --arg REGION ${AWS_REGION} '.spec.template.spec.containers[]?.env? += [{name: # Delete keys from objects. jq 'del(.items[].spec.clusterIP)' /tmp/service.kube.json +jq 'del(.country, .number, .language)' … +# Remember ranges are **exclusive** of the end index. +jq 'del(.[0,1,2])' … +jq 'del(.[0:3])' … # Print objects as 'key [space] "value"' pairs. jq -r 'to_entries[] | "\(.key) \"\(.value)\""' 'file.json' @@ -106,6 +110,8 @@ All the references in the [further readings] section, plus the following: - [Filter objects list with regex] - [Select multiple conditions] - [Change multiple values at once] +- [jq Select range] +- [Deleting multiple keys at once with jq] [change multiple values at once]: https://stackoverflow.com/questions/47355901/jq-change-multiple-values#47357956 +[deleting multiple keys at once with jq]: https://stackoverflow.com/questions/36227245/deleting-multiple-keys-at-once-with-jq [filter objects list with regex]: https://til.hashrocket.com/posts/uv0bjiokwk-use-jq-to-filter-objects-list-with-regex +[jq select range]: https://stackoverflow.com/questions/45548604/jq-select-range [select multiple conditions]: https://stackoverflow.com/questions/33057420/jq-select-multiple-conditions#33059058 diff --git a/knowledge base/thunderbird.md b/knowledge base/thunderbird.md index 4d38e79..a43bfd0 100644 --- a/knowledge base/thunderbird.md +++ b/knowledge base/thunderbird.md @@ -9,6 +9,7 @@ 1. [Create a dummy account](#create-a-dummy-account) 1. [Convert an account's message store type from one file per folder (_mbox_) to one file per message (_maildir_)](#convert-an-accounts-message-store-type-from-one-file-per-folder-mbox-to-one-file-per-message-maildir) 1. [Rebuild the Global Database for a Profile](#rebuild-the-global-database-for-a-profile) + 1. [You are already subscribed to this feed](#you-are-already-subscribed-to-this-feed) 1. [Further readings](#further-readings) 1. [Sources](#sources) @@ -144,6 +145,17 @@ Depending on the number of messages, it might take some time for the indexing to The indexing progress can be monitored through _Tools_ > _Activity Manager_. +### You are already subscribed to this feed + +The feed list file is still containing the URL of the feed one is trying to add. + +Remove the feed object from the `'Mail/Blog & News Feeds/feeds.json'` file in your profile: + +```sh +# Just examples. Check what the command does. +jq 'del(.[1:4])' 'Mail/Blog & News Feeds/feeds.json' +``` + ## Further readings - [Betterbird]