Skip to content

Instantly share code, notes, and snippets.

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

BonfaceKilz BonfaceKilz

💭
Scheme-ing ❤️
View GitHub Profile

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)

@stettix
stettix / things-i-believe.md
Last active July 31, 2025 07:29
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@ChrisPenner
ChrisPenner / Optics Cheatsheet.md
Last active August 12, 2025 12:57
Optics Cheatsheet
@jnduli
jnduli / php_unused_functions.sh
Created September 23, 2019 12:11
This helps find unused or rarely used functions in a php project
## This script is used to check for unused or rarely used function in php
## It has been tested on a laravel project
## It outputs a list containing all functions plus number of occurences in the project
## It can be used together with sort e.g. php_unused_functions.sh | sort -h
for f in $(grep --exclude-dir=tests -rho -P '^.*public .*function .*(?=\()'| awk -F' ' '{print $NF}'); do
echo $(grep -ro $f * | wc -l) $f
done

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@jasonm23
jasonm23 / ibm-box-drawing-hydra.el
Last active December 6, 2020 23:58
Draw DOS style boxes in Emacs with a hydra
;;; ibm-box-drawing-hydra --- draw DOS style boxes with a hydra
;;; Commentary:
;; Use M-x load-library ibm-box-drawing-hydra (after placing this file in the Emacs lisp load-path)
;; Draw box with IBM single line box characters. - activate with C-x d
;;
;; Press Esc to exit.
;;
;; Essentially treats the left hand on a QWERTY layout
@lukas-h
lukas-h / license-badges.md
Last active December 4, 2025 01:52
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@lchausmann
lchausmann / gnus-notmuch.el
Created March 11, 2014 11:22
Integrate gnus and notmuch with multiple accounts
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Gnus and notmuch ....
;; - Sets up searching with notmuch, when looking at the message it's possible
;; to switch to gnus article view with C-c C-c
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'notmuch)
(add-hook 'gnus-group-mode-hook 'lch-notmuch-shortcut)
(require 'org-gnus)
(defun lch-notmuch-shortcut ()