<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jonas on Medium]]></title>
        <description><![CDATA[Stories by Jonas on Medium]]></description>
        <link>https://medium.com/@_jonas?source=rss-27379c1b4713------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M95GOQJG2x7UgqFg-Q7SMQ.jpeg</url>
            <title>Stories by Jonas on Medium</title>
            <link>https://medium.com/@_jonas?source=rss-27379c1b4713------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:30:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@_jonas/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Redirect Twitter and Other Sites to Alternative Frontends Using StopTheMadness]]></title>
            <link>https://medium.com/@_jonas/redirect-twitter-and-other-sites-to-alternative-frontends-using-stopthemadness-05380991ffd5?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/05380991ffd5</guid>
            <category><![CDATA[safari]]></category>
            <category><![CDATA[browser-extension]]></category>
            <category><![CDATA[stopthemadness]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 08:44:22 GMT</pubDate>
            <atom:updated>2026-04-02T08:44:22.028Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a few browser extensions available for this, with <a href="https://libredirect.github.io/">LibRedirect</a> being, I think, the most popular one. They redirect privacy-invasive sites to more privacy-friendly alternative frontends. For example, every time you open a <a href="https://youtube.com/">youtube.com</a> link, it redirects you to an <a href="https://invidious.io/">Invidious</a> instance instead, opening the same video there.</p><p>LibRedirect doesn’t exist for my default browser, Safari, so I wanted to check whether there were any alternatives. There are. However, there’s something even better: an extension I’ve already been using for years, <a href="https://underpassapp.com/StopTheMadness/">StopTheMadness Pro</a>.</p><blockquote><em>StopTheMadness Pro is a web browser extension that stops websites from making your browser harder to use, and it protects your privacy on the web. StopTheMadness Pro is not an ad blocker, but rather a one-of-a-kind extension with a huge number of unique features.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*63mUvOTk_dLktrT2hfjDDw.png" /><figcaption>A few of StopTheMadness Settings</figcaption></figure><p>It has an endless list of features: allowing copy and paste, right-clicking even when websites block that, preventing sites from hijacking keyboard shortcuts, and so, so, so, so much more. It honestly is a must-have.</p><p>It also has a redirect feature. There’s no need for another extension. You can just use StopTheMadness to redirect <a href="https://twitter.com/">twitter.com</a> or <a href="https://x.com/">x.com</a> links to <a href="https://xcancel.com/">xcancel.com</a>. It also syncs settings between devices, including from macOS to iOS and vice versa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6WH5OEeynn4fQCWcrT4HHw.png" /></figure><p>The setup is very easy: just add the main domain you want it to match and set the alternative domain as the replacement.</p><ul><li>URL matching pattern: <a href="https://x.com/">https://x.com/</a></li><li>Replacement: <a href="https://xcancel.com/">https://xcancel.com/</a></li></ul><p>Now, when you open <a href="https://x.com/foobar">x.com/foobar</a>, it will go to <a href="https://xcancel.com/foobar">xcancel.com/foobar</a>.</p><p>The <a href="https://libredirect.github.io/">LibRedirect site</a> and <a href="https://sr.ht/~jamesponddotco/awesome-privacy-front-ends/">this repository</a> have lists of even more alternative frontends.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05380991ffd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open Links on Your Local Machine With VScode in a Remote Session]]></title>
            <link>https://medium.com/@_jonas/open-links-on-your-local-machine-with-vscode-in-a-remote-session-2b8579a6e096?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b8579a6e096</guid>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 09:04:26 GMT</pubDate>
            <atom:updated>2025-06-29T09:04:26.639Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m using VScode frequently on a remote machine using SSH, not in <a href="https://containers.dev/">Development Containers</a> or <a href="https://github.com/features/codespaces">GitHub Codespaces</a>, just SSH. I recently noticed, that using <a href="https://playwright.dev/">playwright</a> in VScode automatically opens the html-report of my tests in the browser on my local machine, instead of making me manually go to a URL or do port forwarding (which VScode fortunately also automatically does for you!)</p><p>This apparently works because VScode configures the $BROWSER variable to a shell script that can take a URL and open it in the local browser.</p><p>When trying out OpenAI Codex on a remote machine, I couldn’t log in because it tried using xdg-open to open a URL. I didn&#39;t have that installed and wanted it to behave the same way as playwright does. In order to fix this, you can create an xdg-open shim and make it open links using VScode in your local browser.</p><ul><li>create this file: /usr/local/bin/xdg-open</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/44625218fa57dea5b051c159f2e43969/href">https://medium.com/media/44625218fa57dea5b051c159f2e43969/href</a></iframe><ul><li>make it executable: chmod +x /usr/local/bin/xdg-open</li></ul><p>Now, any scripts and programs that use xdg-open will open in your local browser when executed from VScode. Woohoo!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b8579a6e096" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enable IPv6 in Docker Compose Deployments]]></title>
            <link>https://medium.com/@_jonas/enable-ipv6-in-docker-compose-deployments-d9a9f927fa00?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9a9f927fa00</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[ipv6]]></category>
            <category><![CDATA[docker-compose]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Sat, 31 May 2025 08:58:30 GMT</pubDate>
            <atom:updated>2025-05-31T08:58:30.796Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s 2025, IPv6 is widely used and deployed. <a href="https://radar.cloudflare.com/adoption-and-usage/de?dateRange=24w">Even countries such as Germany</a>, which usually lag far behind, have a 60% adoption rate of IPv6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cEryERLOWDWjS4jo5PkbmA.png" /><figcaption>IPv6 adoption rate in Germany between December 2024 and June 2026</figcaption></figure><h3>Docker IPv6 Configuration</h3><p>For some reason, Docker has never made it easy to support and use IPv6. However, there is now a way to configure IPv6 in Docker somewhat easily.</p><p>Note: This is a simple example of how to enable IPv6 connectivity in your compose deployments. For more advanced IPv6 configuration with routed networks, you can check out this <a href="https://blog.apnic.net/2025/05/19/how-to-configure-routed-ipv6-in-docker/">blog post on APNIC</a>.</p><p>Here’s an example compose.yaml file using pi-hole as an example container with the IPv6 network enabled:</p><pre>services:<br>  pihole:<br>    image: pihole/pihole:latest<br>    networks:<br>      - ipv6-network<br>    ports:<br>      - 53:53/tcp<br>      - 53:53/udp<br>    environment:<br>      TZ: Europe/Paris<br>    volumes:<br>      - pihole-etc:/etc/pihole<br>      - pihole-dnsmasq:/etc/dnsmasq.d<br>    restart: unless-stopped<br><br>networks:<br>  ipv6-network:<br>    enable_ipv6: true</pre><p>The important part is at the end: defining the networks section with the name ipv6-network and the enable_ipv6 setting set to true. IPv4 is also enabled on that network. Then it just needs to be used by the individual services in your compose file using the networks: key in the pihole service.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9a9f927fa00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configure linkding to Log In With Cloudflare Access]]></title>
            <link>https://medium.com/@_jonas/configure-linkding-to-log-in-with-cloudflare-access-22413cb8098b?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/22413cb8098b</guid>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[linkding]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[cloudflare-access]]></category>
            <category><![CDATA[self-hosting]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Wed, 16 Apr 2025 08:46:32 GMT</pubDate>
            <atom:updated>2025-04-16T08:46:32.927Z</atom:updated>
            <content:encoded><![CDATA[<p>I use <a href="https://linkding.link/">linkding</a> as my self-hosted bookmark manager, it’s easy to set up and maintain as a Docker image, can send any bookmark to <a href="https://archive.org/">archive.org</a>, but also provides a version with a Chromium browser running to create locally hosted archives of any bookmark. Too many sites nowadays change frequently, and either delete content, change addresses without proper redirects in place, and search engines are becoming worse and worse over time. So I’m happy about that feature, especially since the data is also available locally. You can also use it as a read-it-later service and mark bookmarks as unread.</p><h3>Cloudflare Access</h3><p>Anyway, what I wanted to quickly note down is how to automatically log in to linkding with the credentials <a href="https://developers.cloudflare.com/cloudflare-one/policies/access/">Cloudflare Access</a> is using, if that’s set up in front of a linkding instance. I’m using Cloudflare Access with Okta and can leverage the headers Cloudflare sends to linkding to be logged in automatically.</p><h3>linkding Configuration</h3><p>The important bit is the environment variable LD_ENABLE_AUTH_PROXY (link to the <a href="https://linkding.link/options/#ld_enable_auth_proxy">docs</a>)</p><p>I’m running linkding in kubernetes, so here’s how it looks in my YAML file, but the environment variables and values are the things to copy into a Docker Compose file or any other installation method:</p><pre>containers:<br>- image: sissbruecker/linkding:latest-plus<br>  imagePullPolicy: &quot;&quot;<br>  name: linkding<br>  env:<br>    - name: LD_ENABLE_AUTH_PROXY<br>      value: &quot;True&quot;<br>    - name: LD_AUTH_PROXY_USERNAME_HEADER<br>      value: &quot;HTTP_CF_ACCESS_AUTHENTICATED_USER_EMAIL&quot;<br>    - name: LD_AUTH_PROXY_LOGOUT_URL<br>      value: &quot;https://&lt;your-team-name&gt;.cloudflareaccess.com/cdn-cgi/access/logout&quot;</pre><p>I struggled a bit with the HTTP_CF_ACCESS_AUTHENTICATED_USER_EMAIL part, since I didn’t really read the docs carefully enough. That&#39;s also why I&#39;m writing this down here, perhaps just for future me to find it again.</p><p>Cloudflare sends the header cf-access-authenticated-user-email with the username from the identity provider to the origin server, and linkding needs to have it configured in all uppercase, with dashes replaced by underscores, and prefixed with HTTP_.</p><p>That’s it! Now if you open up your linkding instance you’ll automatically be logged in as the user from your IdP.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22413cb8098b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music Assistant and Home Assistant: Get config_entry_id]]></title>
            <link>https://medium.com/@_jonas/music-assistant-and-home-assistant-get-config-entry-id-d37edaccfff8?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/d37edaccfff8</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[music-assistant]]></category>
            <category><![CDATA[smart-home]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Sat, 01 Mar 2025 10:09:00 GMT</pubDate>
            <atom:updated>2025-03-01T10:09:00.747Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*4EZWHB0uTc9OXX_KAciSug.png" /></figure><p>I’m running <a href="https://www.music-assistant.io/">Music Assistant</a> and <a href="https://www.home-assistant.io/">Home Assistant</a> to manage my smart home, automations and music playback at home. Both systems integrate nicely with each other through various integrations. I can press a button on a light switch and make Home Assistant turn on a smart outlet, some lights and play music from Spotify, Apple Music, YouTube Music, or even files from my local file system on my Sonos speakers. That’s great!</p><p>I just always had a hard time finding the right URI or address to include in my automations to trigger the right album or playlist to be sent from Home Assistant to Music Assistant.</p><p><a href="https://www.music-assistant.io/faq/how-to/#get-the-uri">Here is some more information about how to get the URI</a>.</p><h4>Search Music Assistant from Home Assistant</h4><p>When you open the <em>Developer Tools </em>=&gt;<em> Actions </em>menu in Home Assistant, you can select an action called Music Assistant: Search Music Assistant. You can pre-fill this with some information, for example:</p><pre>action: music_assistant.search<br>data:<br>  name: Down Under<br>  artist: Men at Work<br>  limit: 25<br>  library_only: true</pre><p>It’ll then complain that the config_entry_id is missing. This information was a bit hard to find.</p><h4>Get Music Assistant config_entry_id</h4><p>In Home Assistant, open the <em>Music Assistant</em> integration, click on the <em>devices</em> or <em>entities</em> link, and then you’ll find the config_entry_id in your browser’s address bar. You can then plug the config ID into your Music Assistant Developer Actions to interact with Music Assistant, like so:</p><pre>action: music_assistant.search<br>data:<br>  config_entry_id: 01JEfoobarbaz<br>  name: Down Under<br>  artist: Men at Work<br>  limit: 25<br>  library_only: true</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KfoZQDYitC0nVdhQ8ze2MQ.png" /><figcaption>Music Assistant Integration</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*Q4Qf6zc4AaZ-BCTWbizgdg.png" /><figcaption>config_entry = config_entry_id</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMZ146RwUFzojP-FdAYi-Q.png" /><figcaption>Use the Search Action in Home Assistant</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d37edaccfff8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use Docker (compose) With Different Network Interfaces / VLANs]]></title>
            <link>https://medium.com/@_jonas/use-docker-compose-with-different-network-interfaces-vlans-8ed83e5a3dbe?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ed83e5a3dbe</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[routing]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Fri, 03 Jan 2025 10:31:16 GMT</pubDate>
            <atom:updated>2025-01-09T15:27:29.432Z</atom:updated>
            <content:encoded><![CDATA[<p>I have multiple network interfaces configured on my Linux host system to route between multiple VLANs and use different internet providers. I organize most of my stuff with Docker and Docker Compose, and for some of these services and containers, I want to use a different network route to access the internet. One example would be to balance outgoing traffic between multiple providers or have a download-heavy container use a network with a faster or less used connection.</p><p>To achieve this, it’s necessary to create a new Docker bridge network and connect containers to it. Unfortunately, it’s also required to adjust the routing table on the host system to make everything work together, but it’s relatively simple.</p><h3>Docker Setup: compose.yaml</h3><p>Here’s an example compose.yaml file. I have defined two alpine test containers that both run wget to <a href="https://icanhazip.com/">icanhazip.com</a> to print out the IP address they are using for outgoing traffic to make it more clear.</p><p>The networks part at the end of the file is important for creating the new Docker network. This network and the chosen IP address space are just for the Docker containers. For the first Alpine service, you can see that I configured vlan3_network as the network to use for this container.</p><pre>services:<br>  alpine:<br>    image: alpine<br>    command: &quot;wget -qO- https://icanhazip.com&quot;<br>    networks:<br>      - vlan3_network<br><br>  alpine2:<br>    image: alpine<br>    command: &quot;wget -qO- https://icanhazip.com&quot;<br><br>networks:<br>  vlan3_network:<br>    driver: bridge<br>    driver_opts:<br>      com.docker.network.bridge.name: docker_vlan3<br>    ipam:<br>      config:<br>        - subnet: 192.168.100.0/24</pre><h3>Linux Routing Configuration</h3><pre>echo &quot;101 vlan3_table&quot; | tee -a /etc/iproute2/rt_tables<br>ip rule add from 192.168.100.0/24 lookup vlan3_table<br>ip route add default via 192.168.3.1 dev enp2s0.vlan3 table vlan3_table</pre><p>Essentially, we’re creating a new routing table with the name vlan3_table and adding a new default route so that all traffic from the subnet 192.168.100.0/24 goes through the host network interfaceenp2s0.vlan3.</p><h3>Test</h3><p>Now, when you run docker compose up, you should see the output from both containers, ideally displaying a different public IP address.</p><h3>Persist Configuration</h3><p>The ip commands from above are not saved when the system reboots. My Ubuntu installation is configured through systemd-networkd, so I’m using the following configuration to make the changes permanent:</p><pre>echo &quot;101 vlan3_table&quot; | tee -a /etc/iproute2/rt_tables</pre><pre># /etc/systemd/network/21-enp2s0.vlan3.netdev<br>[NetDev]<br>Name=enp2s0.vlan3<br>Kind=vlan<br><br>[VLAN]<br>Id=3</pre><pre># /etc/systemd/network/31-enp2s0.vlan3.network<br>[Match]<br>Name=enp2s0.vlan3<br><br>[Network]<br>DHCP=ipv4<br>LinkLocalAddressing=no<br>IPv6AcceptRouterAdvertisements=false<br>IPv6AcceptRA=no<br>IPv6SendRA=no<br><br>[RoutingPolicyRule]<br>From=192.168.100.0/24<br>Table=101<br><br>[Route]<br>Table=101<br>Destination=0.0.0.0/0<br>Gateway=192.168.3.1</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ed83e5a3dbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatGPT Search in Alfred]]></title>
            <link>https://medium.com/@_jonas/chatgpt-search-in-alfred-f98ac9a50869?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/f98ac9a50869</guid>
            <category><![CDATA[alfred]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 10:09:16 GMT</pubDate>
            <atom:updated>2025-01-02T10:11:16.378Z</atom:updated>
            <content:encoded><![CDATA[<h3>ChatGPT Search in Alfred</h3><p>After writing about how to use <a href="https://medium.com/@_jonas/perplexity-ai-as-the-default-fallback-search-in-alfred-271223ad0289">perplexity.ai</a> as the search engine of choice in <a href="https://www.alfredapp.com/">Alfred.app</a>, I’m describing the same for ChatGPT now. I also switched over to ChatGPT for searching instead of perplexity since it surfaces the sources in a more useful way for me, and it also feels like the results are better. YMMV.</p><p>When you copy the following URL, open it in your browsers address bar and have Alfred installed, it should automatically open Alfred and add ChatGPT as a custom search. I called it <em>oa</em> for OpenAI, but since I’m using it also as a default search or fallback, the shortcut doesn’t really matter.</p><pre>alfred://customsearch/chatgpt%20search/oa/utf8/nospace/https://chatgpt.com/?q=%7Bquery%7D&amp;hints=search</pre><p>Note: The URL how to start a chat with search enabled by default is this one:</p><pre>https://chatgpt.com/?q={query}&amp;hints=search</pre><p>Initially, I wanted to always start the search in a temporary chat, but this doesn’t work at the moment. Apparently this should be the URL:</p><pre>https://chatgpt.com/?q={query}&amp;hints=search&amp;temporary-chat=true</pre><p>After the custom search is installed, open the Alfred Preferences, go to <strong><em>Features</em></strong> in the sidebar =&gt; <strong><em>Default Results</em></strong>, and on the bottom of the page, <strong><em>Setup fallback results</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lFx5tOvJWLDhZQaffzP0yw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f98ac9a50869" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[perplexity.ai as the Default (Fallback) Search in Alfred]]></title>
            <link>https://medium.com/@_jonas/perplexity-ai-as-the-default-fallback-search-in-alfred-271223ad0289?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/271223ad0289</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[alfred]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[perplexity]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Thu, 30 May 2024 09:39:29 GMT</pubDate>
            <atom:updated>2024-05-30T09:39:29.629Z</atom:updated>
            <content:encoded><![CDATA[<p>I want to explore <a href="https://www.perplexity.ai/">perplexity.ai</a> as a replacement for Google search, but I always manage to not use it because Google is set up as the default everywhere on my system. On macOS, I’m using Safari, which unfortunately doesn’t provide a way to use Perplexity as the default search engine, and I don’t want to resort back to tools such as <a href="https://apps.apple.com/de/app/xsearch-for-safari/id1579902068?l=en-GB">xSearch</a> to get this functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*JdYkEnRTI01pwvwv-q2W7Q.png" /></figure><p>On macOS, I usually do everything with <a href="https://www.alfredapp.com/">Alfred</a>, and the default <em>fallback</em> search engine in Alfred is also set to Google. I’ve set up a custom search in Alfred for perplexity.ai a long time ago, but since Google is the <em>default</em> fallback when Alfred doesn’t resolve to a file or application, I end up on Google and barely remember to use my custom perplexity.ai shortcut.</p><p>It didn’t occur to me until now that it’s totally possible to change the default fallback search to the custom perplexity web search I’ve set up such a long time ago!</p><h3>Add perplexity.ai as a Custom Web Search in Alfred</h3><p>When you copy and paste the following block into your browsers URL bar, it should open Alfred and add the custom search.</p><pre>alfred://customsearch/perplexity.ai/p/utf8/nospace/https://www.perplexity.ai/search?q=%7Bquery%7D</pre><h3>Change the Fallback Results in Alfred</h3><ol><li>On the Alfred <em>Defaults Results</em> settings page, select <em>Setup fallback results</em></li><li>Find your custom perplexity web search in the dropdown and move it to the top</li><li>Profit</li></ol><figure><img alt="Alfred settings pointing out the default fallback settings" src="https://cdn-images-1.medium.com/max/1024/1*_TmDckLP0Yi_eghf6ugWxg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271223ad0289" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flash ESPHome on the Sonoff NSPanel]]></title>
            <link>https://medium.com/@_jonas/flash-esphome-on-the-sonoff-nspanel-4e64270f0751?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e64270f0751</guid>
            <category><![CDATA[esphome]]></category>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[nspanel]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Sun, 07 Apr 2024 14:29:34 GMT</pubDate>
            <atom:updated>2024-04-07T14:29:34.640Z</atom:updated>
            <content:encoded><![CDATA[<p>I got the <a href="https://sonoff.tech/product/central-control-panel/nspanel/">Sonoff NSPanel</a> (EU Version) to connect it to my home-assistant instance by flashing with it <a href="https://esphome.io/index.html">esphome</a>. There are a few guides and video tutorials out there to get started. I’d recommend going to this <a href="https://github.com/Blackymas/NSPanel_HA_Blueprint/tree/main">GitHub project</a>.</p><p>However, I had some issues flashing ESPHome onto this device since you can’t just connect it using a USB adapter. I’m trying to document how I was finally able to flash ESPhome onto the NSPanel. For everything else, please just use the existing guide(s).</p><p><strong>What You Need:</strong></p><ul><li><a href="https://esphome.io/guides/physical_device_connection#usb-serial-adapter">usb to serial adapter</a>, or UART adapter to connect the panel through USB</li><li><a href="https://esphome.io/guides/physical_device_connection#jumper-wires">jumper wires</a>, well, to actually connect your computer and the panel</li></ul><p><strong>How to Wire Everything Together:</strong></p><p>This is actually the whole reason for this blog post, everything I found out there didn’t work for me. So, this is what worked for me and my device.</p><p>Here’s a pinout of the NSPanel to get a better understanding:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZXOWMd_hMZXNa_bPNKe2iQ.jpeg" /></figure><p>Connect The wires between the UART Adapter and the NSPanel like this</p><ul><li>put the UART Adapter in 3V mode</li></ul><p>USB adapter to NSPanel:</p><ul><li>3v to 3v</li><li>gnd to gnd</li><li>RX to TX</li><li>TX to RX</li></ul><p>Note that you need to <strong>cross RX and TX</strong>! <a href="https://sequr.be/blog/2023/01/flashing-nspanel-with-tasmota-and-nspanel-lovelace-ui/)">This article</a> helped me with that.</p><figure><img alt="uart adapter wiring" src="https://cdn-images-1.medium.com/max/1024/1*ryywBMDjpnHGzm6sQ1DzDA.png" /></figure><p>On the NSPanel itself, connect:</p><ul><li>IO0 to gnd on the bottom gnd pin on the right side</li></ul><figure><img alt="nspanel wiring" src="https://cdn-images-1.medium.com/max/1024/1*8DhxHjbT8NCXdR-PwXDlfQ.png" /></figure><p>Now you should be able to connect the usb adapter to your computer and use the <a href="https://web.esphome.io/">web based esphome flasher</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e64270f0751" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon SES and Mastodon in Docker]]></title>
            <link>https://medium.com/@_jonas/amazon-ses-and-mastodon-in-docker-cbcb1f88b394?source=rss-27379c1b4713------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbcb1f88b394</guid>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[mastodon]]></category>
            <dc:creator><![CDATA[Jonas]]></dc:creator>
            <pubDate>Sun, 31 Dec 2023 10:35:48 GMT</pubDate>
            <atom:updated>2023-12-31T10:35:48.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*PhxZlbDoiTKRw0CASVK7Fw.png" /></figure><p>I’ve been playing around with hosting my own <a href="https://docs.joinmastodon.org/user/run-your-own/">Mastodon instance</a> lately. If I continue this journey, I might write more about it. However, this post focuses solely on setting up email notifications between <a href="https://aws.amazon.com/ses/">Amazon SES</a> and Mastodon running within a Docker environment.</p><p>I had some trouble sending out emails successfully and it took a while to figure things out. With this post I just want to add to the confusion by providing my working configuration.</p><p>I have the following SMTP_ parameter in my .env file:</p><pre>SMTP_AUTH_METHOD=plain<br>SMTP_ENABLE_STARTTLS=never<br>SMTP_ENABLE_STARTTLS_AUTO=false<br>SMTP_FROM_ADDRESS=&quot;Mastodon &lt;notifications@example.com&gt;&quot;<br>SMTP_LOGIN=username<br>SMTP_PASSWORD=password<br>SMTP_OPENSSL_VERIFY_MODE=none<br>SMTP_PORT=465<br>SMTP_SERVER=email-smtp.us-east-1.amazonaws.com<br>SMTP_TLS=true</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbcb1f88b394" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>