Skip to content

Instantly share code, notes, and snippets.

View tarsius's full-sized avatar

Jonas Bernoulli tarsius

View GitHub Profile
@tarsius
tarsius / comments-1.md
Created January 18, 2016 00:43
Magit 2.4 released
@tarsius
tarsius / comments-2.md
Created February 10, 2016 23:20
Magit 2.5 released

Keybase proof

I hereby claim:

  • I am tarsius on github.
  • I am tarsius (https://keybase.io/tarsius) on keybase.
  • I have a public key ASAL_MB_f6G-29k2QhzK37eS3ETydpXfeymPHKQrgoo2Qwo

To claim this, I am signing this object:

You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
@tarsius
tarsius / openpgp.md
Last active September 30, 2020 14:48

[Verifying my OpenPGP key: openpgp4fpr:7e108e46f316cba0ce3c8d20fc61b7237c7155b7]

@tarsius
tarsius / fix-pkg.el
Last active December 25, 2020 13:16
(dolist (dir (directory-files "elpa" t "^[^.]"))
(let ((name (file-name-nondirectory dir)))
(when (string-match "\\(.+\\)-[^-]+\\'" name)
(let ((file (expand-file-name (concat (match-string 1 name) "-pkg.el") dir)))
(with-temp-file file
(save-excursion (insert-file-contents file))
(when (looking-at "(define-package \\([^\" ]+\\)")
(message "Fixing %s..." file)
(replace-match "\"\\1\"" t nil nil 1)
(message "Fixing %s...done" file)))))))
(("0x0"
("63cd5eccc85e527f28e1acc89502a53245000428" . "20210701.839")
("ad9f84e6d39c620da381313b160667864a702fd6" . "20210701.839"))
("0xc"
("eec4fb10b9288c0852f751cfb05d638664fa2411" . "20201025.2105")
("5bd6c0c901d03d1f24a3ddcf3a62d3b6d2428c80" . "20201025.2105"))
("a"
("93e5ed8c495794d1ba3c04b43041b95ce01079b1" . "20210929.1510")
("9ad2d18252b729174fe22ed0b2b7670c88f60c31" . "20210929.1510"))
("abgaben"
@tarsius
tarsius / gist:509e9c65c9df1bc243d77cd968d60daa
Created December 3, 2023 20:15
Start hyper-gateway with guix
#!/usr/bin/env bash
BASE=~/src/ushin
GATE=$BASE/hyper-gateway/dist
DATA=$BASE/test-data/gateway
guix shell --container --emulate-fhs --network \
--expression='(list (@@ (gnu packages gcc) gcc) "lib")' \
--no-cwd --expose=$GATE --share=$DATA \
-- $GATE/hyper-gateway-linux \