Skip to content

Instantly share code, notes, and snippets.

document.head.innerHTML += '<style>*:hover { outline: solid red 1px !important; }</style>';
63054 items in 260996 compressed to 176198 2.8 bytes/rec
71137 items in 293764 compressed to 149187 2.1 bytes/rec
73583 items in 293761 compressed to 140591 1.9 bytes/rec
82810 items in 293761 compressed to 112601 1.4 bytes/rec
87470 items in 293760 compressed to 102993 1.2 bytes/rec
87817 items in 293760 compressed to 104603 1.2 bytes/rec
74572 items in 293760 compressed to 139379 1.9 bytes/rec
81423 items in 293763 compressed to 119805 1.5 bytes/rec
79272 items in 293761 compressed to 128192 1.6 bytes/rec
83898 items in 293761 compressed to 116821 1.4 bytes/rec
# Define the path to the certificate file
$certFilePath = "path\to\your\certificate.pem"
# Get the latest commit hash
$latestCommit = git rev-parse HEAD
# Check if the certificate file was changed in the latest commit
$changes = git diff --name-only HEAD~1..HEAD
if ($changes -contains $certFilePath) {
std::tuple<std::optional<websocket_client::message>, int>
websocket_client::recv_until(
std::chrono::steady_clock::time_point const& deadline)
noexcept
{
std::tuple<std::optional<
websocket_client::message>, int> result;
std::get<1>(result) = recv_until(
std::get<0>(result), deadline);
<features>
<acpi/>
<apic/>
<hyperv mode="custom">
<relaxed state="on"/>
<vapic state="on"/>
<spinlocks state="on" retries="8191"/>
<vpindex state="on"/>
<runtime state="on"/>
<synic state="on"/>
@doug65536
doug65536 / amazing-passthru-libvirt.xml
Created July 3, 2024 22:47
Really fast pass thru xml 24GB 1GB pages on 3950x host 2060 super
<domain type="kvm">
<name>win11-2</name>
<uuid>b9d2089e-cee2-49f2-9d03-295568130120</uuid>
<title>Windows Guest</title>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">25165824</memory>
# Entering scope (function_definiton)
# Exiting scope (function_definition)
# Entering scope (function_definiton)
# Exiting scope (function_definition)
# Entering scope (function_definiton)
# Exiting scope (function_definition)
# Entering scope (function_definiton)
# Exiting scope (function_definition)
# Entering scope (function_definiton)
extern int external;
int global;
int init_global = 42;
short other();
int main(int argc, char **argv)
{
int x = 4;
int y;
y = argc * x;
return y;
uint32_t indexof_mipmap(int level)
{
int mask = ~((level - 1) >> 31);
uint32_t lvl0sz = texture->iw * texture->ih;
int kept = 2 * (level - 1) & mask;
uint32_t mul = (0x55555555 >> ((32 - kept) - 2)) & mask;
return (lvl0sz * mul) >> (kept & mask);
}
#define __restrict __restrict__
__kernel void genann_run_input_to_hidden(
genann_cfg const __constant *__restrict ann,
genann_real __global *__restrict data)
{
// One work item per hidden neuron
size_t global_index = get_global_index();
if (global_index >= ann->hidden)