I hereby claim:
- I am bct on github.
- I am bct (https://keybase.io/bct) on keybase.
- I have a public key whose fingerprint is 975A CD85 5C79 1B0F D3FA 8BC2 F14C E7BB 1C46 35D2
To claim this, I am signing this object:
| SIGQUIT: quit | |
| PC=0x7f93d2516815 m=0 sigcode=0 | |
| signal arrived during cgo execution | |
| goroutine 1 gp=0xc000002380 m=0 mp=0x1a693a0 [syscall, locked to thread]: | |
| runtime.cgocall(0xb56990, 0xc000225ba0) | |
| /nix/store/60z37432vmgkg54krwr1z057bqwp7583-go-1.25.5/share/go/src/runtime/cgocall.go:167 +0x4b fp=0xc000225b78 sp=0xc000225b40 pc=0x47d26b | |
| github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwSwapBuffers(0x23f6d6b0) | |
| _cgo_gotypes.go:2472 +0x3a fp=0xc000225ba0 sp=0xc000225b78 pc=0xa600fa | |
| github.com/go-gl/glfw/v3.3/glfw.(*Window).SwapBuffers.func1(...) |
| On `systemctl start microvm@paperless`: | |
| -- Boot 5c29cac5196d44809796b7d03ed2267b -- | |
| Oct 12 03:23:15 systemd[1]: Starting MicroVM 'paperless'... | |
| Oct 12 03:23:15 systemd[1]: Started MicroVM 'paperless'. | |
| Oct 12 03:23:15 microvm@paperless[1819]: [73B blob data] | |
| Oct 12 03:23:15 microvm@paperless[1819]: Booting from ROM... | |
| Oct 12 03:23:15 microvm@paperless[1819]: PPrroobbiinngg EEDDDD ((eedddd==ooffff ttoo ddiissaabbllee))...... ook | |
| Oct 12 03:23:15 microvm@paperless[1819]: [39B blob data] | |
| Oct 12 03:23:15 microvm@paperless[1819]: early console in extract_kernel |
| # declarative microvms do not run as root. in order for USB passthrough to work they need access | |
| # to the USB devices in /dev/bus/usb. qemu does not print any kind of error if it does not have | |
| # access; the devices just don't show up. | |
| # | |
| # we can fix this by using udev to grant the "kvm" group access to the USB devices. | |
| # in the guest: | |
| microvm.devices = [ | |
| # RTL2838UHIDIR | |
| # Realtek Semiconductor Corp. RTL2838 DVB-T |
| const EventEmitter = require("node:events"); | |
| const emitter = new EventEmitter(); | |
| const sleep = (waitTimeInMs) => | |
| new Promise((resolve) => setTimeout(resolve, waitTimeInMs)); | |
| async function doLoop() { | |
| while (true) { | |
| emitter.emit("ping", new Date().toISOString()); |
I hereby claim:
To claim this, I am signing this object:
| struct Error { | |
| msg: &'static str | |
| } | |
| fn error(msg: &'static str) -> Error { | |
| Error { msg: msg } | |
| } | |
| fn main() { | |
| let err = error("successful syntax error"); |
| use std::comm::*; | |
| use std::libc::funcs::posix88::unistd; | |
| // this simulates a processing-intesive task. | |
| fn test(x: bool) -> bool { | |
| unsafe { | |
| unistd::sleep(1); | |
| } |
| # Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk> | |
| pkgname=imapfilter | |
| pkgver=2.5.3 | |
| pkgrel=1 | |
| pkgdesc="A mail filtering utility for processing IMAP mailboxes" | |
| arch=('i686' 'x86_64') | |
| url="https://github.com/lefcha/imapfilter" | |
| license=('MIT') | |
| depends=('lua' 'pcre' 'openssl') |
| function lsgems() { | |
| rubyversion=$(ruby -v | cut -f2 -d' ' | sed 's/p/-p/') | |
| gemroot=~/.rvm/gems/ruby-"$rubyversion"/gems | |
| ls "$gemroot" | |
| } | |
| function cdgem() { | |
| rubyversion=$(ruby -v | cut -f2 -d' ' | sed 's/p/-p/') | |
| gemroot=~/.rvm/gems/ruby-"$rubyversion"/gems |
| #!/bin/sh | |
| # | |
| # action | |
| # new: add new profile template (creates file if not found), then edit | |
| # edit: edit file (fall back to 'new' if file not found) | |
| # load: load from file | |
| # once: use temporary file to edit form once | |
| # (empty): if file not available, new; otherwise, load | |
| # |