Skip to content

Instantly share code, notes, and snippets.

View BonfaceKilz's full-sized avatar
💭
Scheme-ing ❤️

BonfaceKilz BonfaceKilz

💭
Scheme-ing ❤️
View GitHub Profile
Prelude

Last week I wasn't able to post anything. I was down with flu(?); but now I'm doing way better. What I've been thinking about? How do I semi-automate creating this posts? Food for thought!

Previous Challenge

Issue 3: https://is.gd/EKppEK

Mailing List Discussion: https://is.gd/sgWOpT

@BonfaceKilz
BonfaceKilz / upgrade.sh
Last active March 16, 2021 17:53
Guix Upgrade packages
#!/bin/bash
### for loop example ###
for (( ; ; ))
do
echo "Press CTRL+C to stop..."
guix pull 2>&1 | tee /tmp/log.txt
$(grep failed /tmp/log.txt | cut -d' ' -f3) && \
if [ 1 ]
@BonfaceKilz
BonfaceKilz / 000. Bit Reversal.md
Last active March 18, 2021 13:05
00 Bit Reversal

Prelude

Hi folks! Much appreciation for last week's submissions!

I've been looking at Spritely Goblins(https://docs.racket-lang.org/goblins/intro.html), which is an object system following the actor model. I want to try to use it to hack something up(in GUILE) that can monitor different machines in a cluster(assuming an agent is present in each node) What's interesting, is some of the historical context from which it borrows some of it's

@BonfaceKilz
BonfaceKilz / 00 Palindrome Numbers.md
Last active March 18, 2021 13:06
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)

Prelude

Hi folks! This one took a while to post; but nevertheless, here we are!

Last week, Perserverance(a.k.a Percy) landed on Mars; which saw Linux on Mars! One small win(?) for Linux(?) \o/ \o/

Earlier this week, I picked up (again) "The Philosophy of Software Design by John Ousterhout" and I found myself nerding about it with

@BonfaceKilz
BonfaceKilz / 00 Binary Partitions.md
Last active February 22, 2021 06:44
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)

Prelude

Hi folks! Much thanks for last weeks submissions!

Here is a (very) interesting blogpost about how FOSDEM 2021 was setup: https://www.matrix.org/blog/posts. Perhaps something we should try out as a community as time goes by?

That withstanding, this week I've been thinking about backups. How do you back up your systems? At work, if you can talk about it, what's

@BonfaceKilz
BonfaceKilz / 00 Binary Weight.md
Last active February 24, 2021 12:00
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)

Prelude

Hi folks! In the last LUG--- atm of this writing, there was a discussion around having community events, and algos and CTFs were enthusiastically proposed. The idea was to have our community hack on something together on (this past) Sunday, but that unfortunately never came to be--- I guess people did not get the bandwidth. That withstanding, I had volunteered to take up posting an algo problem

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Datatables Demo</title>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jq-3.3.1/dt-1.10.21/datatables.min.css"/>
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.12/css/jquery.dataTables.css">
</head>
<body>
<table id="example">

Guix on WSL2

(updated versions of this document, plus more, live here)

This will show you how to get Guix running on WSL2.
We're going to go as "minimal" as possible, without starting off one of the readily available WSL2 distros.
Parts of this guide should help with understanding how to set up any custom distro on WSL, not just Guix.

Disclaimer: I'm a Guix nOOb! (hence going through the trouble of installing it on WSL2)

@BonfaceKilz
BonfaceKilz / MAKEFILE
Created July 16, 2020 21:50
Sample MAKEFILE to convert org files to md using emacs
#!/usr/bin/make -f
SHELL := emacs
.SHELLFLAGS := --quick --batch --eval
orgs := $(wildcard *.org)
objs := $(orgs:.org=.md) $(orgs:.org=.texi)
.PHONY: all
all: $(objs)
@BonfaceKilz
BonfaceKilz / gnus-guide-en.org
Created July 9, 2020 22:30
Practical guide to use Gnus with Gmail

Practical guide to use Gnus with Gmail