This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: ubuntu/22.04 | |
packages: | |
- libncurses5-dev | |
- libtinfo5 | |
sources: | |
- https://git.sr.ht/~jlaasonen/fbtesting | |
tasks: | |
- setup: | | |
wget http://downloads.sourceforge.net/fbc/FreeBASIC-1.10.0-ubuntu-22.04-x86_64.tar.xz | |
tar xf FreeBASIC-1.10.0-ubuntu-22.04-x86_64.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: ubuntu/22.04 | |
packages: | |
- libncurses5-dev | |
- libtinfo5 | |
sources: | |
- https://git.sr.ht/~jlaasonen/hexfile | |
- https://git.sr.ht/~jlaasonen/fbtesting | |
tasks: | |
- setup: | | |
wget http://downloads.sourceforge.net/fbc/FreeBASIC-1.10.0-ubuntu-22.04-x86_64.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Derived from https://stackoverflow.com/questions/9083037/convert-a-number-into-a-roman-numeral-in-javascript#37723879 | |
import { List } from 'immutable' | |
const romanMatrix = List.of( | |
List.of(1000, 'M'), | |
List.of(900, 'CM'), | |
List.of(500, 'D'), | |
List.of(400, 'CD'), | |
List.of(100, 'C'), | |
List.of(90, 'XC'), |