Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Still Alive 😄

BonfaceKilz BonfaceKilz

💭
Still Alive 😄
View GitHub Profile
View 000. Integer To Roman Numerals.md
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 Mar 16, 2021
Guix Upgrade packages
View upgrade.sh
#!/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 ]
View 000. Bit Reversal.md

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 Mar 18, 2021
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)
View 00 Palindrome Numbers.md

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 Feb 22, 2021
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)
View 00 Binary Partitions.md

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 Feb 24, 2021
000. Monchoka! Weekly Algos by your neighbourly scheme-r ;)
View 00 Binary Weight.md

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

View natural-tables.html
<!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">
View Guix-on-WSL2.md

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 Jul 16, 2020
Sample MAKEFILE to convert org files to md using emacs
View MAKEFILE
#!/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 Jul 9, 2020 — forked from zeroed/gnus-guide-en.org
Practical guide to use Gnus with Gmail
View gnus-guide-en.org

Practical guide to use Gnus with Gmail