Skip to content

Instantly share code, notes, and snippets.

View devsnek's full-sized avatar
🐍

snek devsnek

🐍
View GitHub Profile
(module
(type (;0;) (func (result f64)))
(import "js" "n" (global (;0;) f64))
(import "js" "memory" (memory (;0;) 1))
(func (;0;) (type 0) (result f64)
(local i32 i32 i32 i32 i32 i32 f64 f64)
global.get 0
i32.trunc_f64_s
global.set 1
global.get 1
This file has been truncated, but you can view the full file.
# 1 "/home/snek/code/yuzu/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 469 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/home/snek/code/yuzu/build/src/core/CMakeFiles/core.dir/cmake_pch.hxx.cxx" 1
# 2 "<built-in>" 2
# 1 "/home/snek/code/yuzu/build/src/core/CMakeFiles/core.dir/cmake_pch.hxx" 1
# 4 "/home/snek/code/yuzu/build/src/core/CMakeFiles/core.dir/cmake_pch.hxx" 3
import { decodeBase64 } from "https://deno.land/[email protected]/encoding/base64.ts";
const CLIENT_ID = crypto.randomUUID();
const [{ port, target }] = await Deno.resolveDns(
"_v2-origintunneld._tcp.argotunnel.com",
"SRV",
);
const [address] = await Deno.resolveDns(target, "A");
'use strict';
const net = require('node:net');
const tls = require('node:tls');
const fs = require('node:fs');
const http2 = require('node:http2');
const dns = require('node:dns/promises');
const socketpair = require('unix-socketpair');
const capnp = require('../node-capnp');
use std::{
future::Future,
marker::PhantomData,
pin::Pin,
task::{Context, Poll},
};
use tower::{Layer, Service};
pub struct StateLayer<OnRequest, OnResponse, State, Request, Response> {
on_request: OnRequest,
̶̨̮̹͚̘̦̣̫͔͈̣͖̱̤̗͖̽͑̓̓͆͆͒͋̚͜͠ͅ‎̸̢̨̨̨̨̪̝̳̥͔̪̯̞͉̟̯̘̪̙̱̲̦̬̦̺̙̫͓͕̫͚͇̃̿͗̔͜͝͝ͅͅ‎̴̝̰̲̊̽̌̌̒̈̂̅̀̂͛̊́̒̓͊̂͗͊́͐̈͗̉̍͑͛̕͝͝͝ͅ‎̶̨̢̧̧̡̞̥̫̹̘̫̥̙̣͕͕̝̳̖͖͉͚̲̪̹̹̩̙̐͛̀̇̚͜ͅ‎̸̡̧̢̢̨̢̧̧̡̛͔̙̠̲͚̩̪͎̲̳̳̫̖̰̰͍̤̦̠̹̺̣̟̜̯̞͚̣̙̰̤̂͆̋̈́͑̐̄̍́̆̅̄͒̿͌̏̑̂̏́̚̕͜͜͝ͅͅͅ‎̷̛̛̘̈́͒̉͆̐̔͊̋̈́͛̽̅͌̈́̈́̒̄̍̅͒̅̇͂͋͐̇͗̐̏̓͑͌̌̒̊̕͘̚̕̕͘͝͝͝‎̸̢̢̡͈̞̬̫͈̲̜̥̳̠͍̹͓͚̳͍͕͖͍͍͎̼͓̻͕̪̘̈̍̔͂̃̔͑́͆́̃̐̓̒̔̇̓̀̌̂͐͑͌̎̓̓̂̒̾́̇͊̍͆̒̾͊͑̅̕̚͘̕͝‎̶̨̮̹͚̘̦̣̫͔͈̣͖̱̤̗͖̽͑̓̓͆͆͒͋̚͜͠ͅ‎̸̢̨̨̨̨̪̝̳̥͔̪̯̞͉̟̯̘̪̙̱̲̦̬̦̺̙̫͓͕̫͚͇̃̿͗̔͜͝͝ͅͅ‎̴̝̰̲̊̽̌̌̒̈̂̅̀̂͛̊́̒̓͊̂͗͊́͐̈͗̉̍͑͛̕͝͝͝ͅ‎̶̨̢̧̧̡̞̥̫̹̘̫̥̙̣͕͕̝̳̖͖͉͚̲̪̹̹̩̙̐͛̀̇̚͜ͅ‎̸̡̧̢̢̨̢̧̧̡̛͔̙̠̲͚̩̪͎̲̳̳̫̖̰̰͍̤̦̠̹̺̣̟̜̯̞͚̣̙̰̤̂͆̋̈́͑̐̄̍́̆̅̄͒̿͌̏̑̂̏́̚̕͜͜͝ͅͅͅ‎̷̛̛̘̈́͒̉͆̐̔͊̋̈́͛̽̅͌̈́̈́̒̄̍̅͒̅̇͂͋͐̇͗̐̏̓͑͌̌̒̊̕͘̚̕̕͘͝͝͝‎̸̢̢̡͈̞̬̫͈̲̜̥̳̠͍̹͓͚̳͍͕͖͍͍͎̼͓̻͕̪̘̈̍̔͂̃̔͑́͆́̃̐̓̒̔̇̓̀̌̂͐͑͌̎̓̓̂̒̾́̇͊̍͆̒̾͊͑̅̕̚͘̕͝‎̶̨̮̹͚̘̦̣̫͔͈̣͖̱̤̗͖̽͑̓̓͆͆͒͋̚͜͠ͅ‎̸̢̨̨̨̨̪̝̳̥͔̪̯̞͉̟̯̘̪̙̱̲̦̬̦̺̙̫͓͕̫͚͇̃̿͗̔͜͝͝ͅͅ‎̴̝̰̲̊̽̌̌̒̈̂̅̀̂͛̊́̒̓͊̂͗͊́͐̈͗̉̍͑͛̕͝͝͝ͅ‎̶̨̢̧̧̡̞̥̫̹̘̫̥̙̣͕͕̝̳̖͖͉͚̲̪̹̹̩̙̐͛̀̇̚͜ͅ‎̸̡̧̢̢̨̢̧̧̡̛͔̙̠̲͚̩̪͎̲̳̳̫̖̰̰͍̤̦̠̹̺̣̟̜̯̞͚̣̙̰̤̂͆̋̈́͑̐̄̍́̆̅̄͒̿͌̏̑̂̏́̚̕͜͜͝ͅͅͅ‎̷̛̛̘̈́͒̉͆̐̔͊̋̈́͛̽̅͌̈́̈́̒̄̍̅͒̅̇͂͋͐̇͗̐̏̓͑͌̌̒̊̕͘̚̕̕͘͝͝͝‎̸̢̢̡͈̞̬̫͈̲̜̥̳̠͍̹͓͚̳͍͕͖͍͍͎̼͓̈̍̔͂̃̔͑́͆́̃̐̓̒̔̇̓̀̌̂͐͑͌̎̓̓̂̒̾́̇͊̍͆̒̾͊͑̅̕̚͘̕͝
'use strict';
const { cborToLexRecord, readCar } = require('@atproto/repo');
const { Subscription } = require('@atproto/xrpc-server');
const SERVICE = 'bsky.network';
const subscription = new Subscription({
service: `wss://${SERVICE}`,
method: 'com.atproto.sync.subscribeRepos',
# Copyright 2010-2017 Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.9.14-arch1 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100200
CONFIG_LD_VERSION=235010000
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
/*
* QEMU Bochs-style debug console ("port E9") emulation
*
* Copyright (c) 2003-2004 Fabrice Bellard
* Copyright (c) 2008 Citrix Systems, Inc.
* Copyright (c) Intel Corporation; author: H. Peter Anvin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights