-
The previous version of this site was generated using the Hakyll static site generator. The new modernized site uses Hugo with the Clarity theme. org-mode content The pandoc program was used to convert the org-mode content to Markdown. 1#!/bin/sh 2 3for ORG in *.org 4do 5 MD=`echo "${ORG}" | sed -e …
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