How to view the page source on Firefox and Chrome mobile

Viewing the page source on Firefox and Chrome mobile is as easy as prepending view-source: to the URL. Example: https://foosel.net becomes view-source:https://foosel.net.

January 28, 2023 · 1 min
A picture of the Onyx Boox Nova 3 Color e-reader lying on a table. It's sleeping and its display is showing a fake book cover in the style of the O'Reilly programming books.

Review: Onyx Boox Nova 3 Color

I’ve always been a bookworm. As a child, my favourite past time was reading. I usually dragged my current book with me everywhere and would read at any opportunity1. So, when e-readers became a thing, I was very excited to save on a ton of shelf space in the future and got myself an Amazon Kindle at the first chance I got. Back then in 2010 I actually had to import my Kindle 3 Keyboard from the US since it wasn’t available in Germany yet....

January 27, 2023 · 13 min

How to detect Termux in a script

If you need to detect whether you are running in Termux from a bash script, check if $PREFIX contains the string com.termux: echo $PREFIX | grep -o "com.termux" This can also be used to set a variable in a Taskfile: vars: TERMUX: '{{and .PREFIX (contains "com.termux" .PREFIX)}}' Source

January 23, 2023 · 1 min

How to open a file from Tasker in Markor

In order to open a file from Tasker in Markor (e.g. to edit a newly created blog post), create a “Send Intent” step with: Action: android.intent.action.SEND Cat: None Mime Type: text/plain Data: content://net.dinglisch.android.taskerm.fileprovider/external_files/path/to/the/file (be sure to replace /path/to/the/file with the absolute path to the file you want to open) Package: net.gsantner.markor Class: net.gsantner.markor.activity.DocumentActivity Source

January 21, 2023 · 1 min
A smartphone lying on a table, showing Markor in editing mode on the Markdown of this blog post.

Hugo, meet Android

One thing that kept me from blogging more so far was the difficulty in working on posts on my phone. So after switching this blog over to Hugo I decided to see if I couldn’t improve on this situation. I needed a solution that would allow me to Checkout my page’s git repository from GitHub Quickly create a new post, consisting of a new folder inside content/blog matching my chosen <year>-<month>-<day>-<title slug>/index....

January 21, 2023 · 5 min
Mastodon