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:
| 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 <[email protected]> | |
| 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 | |
| # |
| <div class="alert"> | |
| <a href="#" class="button"> | |
| Push Me | |
| </a> | |
| <div class="alert-box"> | |
| <p>This is an alert pertaining to the button.</p> | |
| </div> | |
| </div> |