-
Some quick 'off-label' experimentation with WebGear (a high-performance framework to build composable, type-safe HTTP APIs. It is designed to make common API development tasks easy. It is also easily extensible to add components needed by your project. – haskell-webgear/webgear). Also see earlier Webgear post. …
Read More -
WebGear is a high-performance framework to build composable, type-safe HTTP APIs. It is designed to make common API development tasks easy. It is also easily extensible to add components needed by your project. – haskell-webgear/webgear (by Raghu Kaippully). Introduction From the Webgear documentation: "Webgear is a …
Read More -
A generator that updates cert_fingerprint lines in .offlineimaprc configuration file. OfflineIMAP is a GPLv2 software to dispose your mailbox(es) as a local Maildir(s), which can be used with notmuch to retrieve mail from (several) IMAP servers and read and search through it. The configuration contains cert_fingerprint …
Read More -
A Haskell program that uses the Conduit library to retrieve and store image files with Network.HTTP.Conduit, which are accessible via an URL with a date in it. The images are stored in an images subdirectory with the date in the filename. The program skips URLs that do not return a HTTP status code of 200 (e.g. …
Read More -
Install a full Haskell development environment (including hpack and cabal) on your Android phone. The command prompt runs via Termux and its PRoot (i.e. proot-distro). F-Droid Install F-Droid from f-droid.org (follow instructions). Termux + PRoot First install the Termux package via F-Droid and then follow the PRoot …
Read More -
In the past I have used the xmonad tiling window manager but eventually returned to KDE, because I had some problems with truncated text in terminal windows, needed to be able to run a complicated GUI that was not very suited for a tiling window manager and I thought there was not that much difference in performance. …
Read More -
Paperspan export (HTML) to Instapaper import (CSV) convertor
Oct 6, 2021 · 2 min read · Computer Software Functional Programming Haskell YAML Regular Expression CSV HTML Instapaper Paperspan Internet ·A Haskell program to convert the Paperspan HTML export format to an Instapaper CSV import format with automatic –configuration file driven– designation to folders. The HXT library is used to parse the Paperspan HTML file and the CSV result is written to standard output. Usage: see the Makefile. Paperspan format 1<html> …
Read More -
Create a Docker image with Debian Linux in which you can install and use Haskell tooling via ghcup and that uses your computer's native GUI. This can be useful because using ghcup under NixOS is a bit of a nuisance. On the Docker host computer, if you run the container manually, do not forget to use xhost to allow …
Read More -
Create an Interactive Brokers' Trader Workstation platform Docker image that uses your computer's native GUI. This can be useful when your operating system is not supported by Trader Workstation or no recent version is available. The docker image is based on alekna/docker-ib-tws Docker image (by Laurynas Alekna), but …
Read More -
Hakyll
Nov 5, 2020 · 2 min read · Computer Software Functional Programming Haskell Hakyll Static Site Generator HTML CSS JavaScript ·
Because I have been wanting to use org-mode instead of Markdown for this site, I started using the Hakyll static site generator and converted all my content to org-mode. The Thomas Read's blog (that I used as a template) even has MathJax support implemented. Support for LaTeX is also possible with Hakyll, I read …
Read More