Skip to content

Instantly share code, notes, and snippets.

View refutationalist's full-sized avatar

Sam Mulvey refutationalist

View GitHub Profile
@refutationalist
refutationalist / gist:4f8ab7c22ffc3c9fa6b88953a27eb3a5
Created March 20, 2024 01:19
Xen 4.18.1, PVH domU with Arch Linux with kernel 6.8.1, with memory issues.
[ 260.952842] RIP: 0010:pv_native_safe_halt+0xf/0x20
[ 260.952849] Code: 22 d7 c3 cc cc cc cc 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d e3 13 27 00 fb f4 <c3> cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90
[ 260.952853] RSP: 0018:ffffffffbd803df0 EFLAGS: 00000246
[ 260.952857] RAX: 0000000000004000 RBX: ffff8a92012acc64 RCX: 0000022a8bf15749
[ 260.952860] RDX: ffff8a927dc00000 RSI: ffff8a92012acc00 RDI: 0000000000000001
[ 260.952863] RBP: ffff8a92012acc64 R08: ffffffffbd94dca0 R09: 0000000000000001
[ 260.952866] R10: 0000000000000001 R11: ffff8a927dc331a4 R12: ffffffffbd94dca0
[ 260.952869] R13: ffffffffbd94dd20 R14: 0000000000000001 R15: 0000000000000000
[ 260.952875] acpi_safe_halt+0x15/0x30
[ 260.952881] acpi_idle_do_entry+0x2f/0x50
@refutationalist
refutationalist / curep.php
Last active June 16, 2016 00:16
Grabs and sends you the most recent ep of a podcast.
<?php
/*
* Look for the first podcast episode given an rss feed, then download it.
*
*
* This is pretty unsafe, as it'll grab any url handed to it.
*
* You can set feed by commenting the first line where it's defined and setting your
* own URL, but that still means that it'll download any file the supplied feed hands
* to it.