-
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 -
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 -
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 -
A nix-shell can be used to quickly set up ad-hoc development environments with all required dependencies in place. SDL2 program To compile an SDL2 program –for this example Tsoding's sowon is used– put the following in a shell.nix file: 1with import <nixpkgs> {}; 2 3let 4 stdenv8 = overrideCC stdenv gcc8; 5in 6 …
Read More -
xmonad tiling window manager
Jun 12, 2020 · 1 min read · Computer Functional Programming Haskell XMonad Tiling Window Manager GUI ·Because I have been wanting to start using tiling window managers and want to learn some Haskell. xmonad, xmobar The xmonad tiling window manager is fast and configurable; xmobar - a minimalistic status bar. dotfiles My dotfiles at Codeberg with a.o. xmonad and xmobar configuration. Already on Codeberg NixOS …
Read More -
KMyMoney to HLedger
May 31, 2020 · 2 min read · Computer Software Functional Programming Haskell Financial Plain Text Accounting CSV XML ·Because I have been wanting to start using plain text accounting I needed a conversion from KMyMoney software to HLedger. WAIT! Just use isabekov / kmymoney2ledgers by Altynbek Isabekov instead of my conversion program! (It's much better!) Command line Clojure tool My Clojure KMyMoney to HLedger conversion conversion …
Read More -
Babashka
Apr 16, 2020 · 1 min read · Computer Software Functional Programming Software Clojure ClojureScript Financial ·A Clojure babushka for the grey areas of Bash (native fast-starting Clojure scripting environment). The main idea behind babashka is to leverage Clojure in places where you would be using bash otherwise. – babashka (by Michiel Borkent)
Read More -
My NixOS configuration
Feb 19, 2020 · 10 min read · Computer Software Linux Nixos Functional Programming Tiling Window Manager ·The Purely Functional Linux Distribution – NixOS (by Dolstra, Eelco). NixOS is a Linux distribution with a unique approach to package and configuration management. Built on top of the Nix package manager, it is completely declarative, makes upgrading systems reliable, and has many other advantages. The configuration is …
Read More