Skip to content

Instantly share code, notes, and snippets.

View devsnek's full-sized avatar
🐍

snek devsnek

🐍
View GitHub Profile
#include <chrono>
#include <thread>
#include <vector>
#include <Arduino.h>
#include <Assets/Models/OBJ/Background.h>
#include <Assets/Models/OBJ/DeltaDisplayBackground.h>
#include <Camera/Camera.h>
#include <Camera/CameraManager/CameraManager.h>
const fontStr = E.toString(
require("heatshrink").decompress(
atob(
"ACsf4AFDg/wAocB/gSEv4YdACUHwAFDh/gAoc//AqE/w2D///DAUDAoIYCh4FBDAUfAol/AoJWCAgP/MQQFCEYU//4vDEYJnDF4JzEGgYYCLIrDdMIRjDAoZdBJQIABJgJuCLAQYZQoSuCOgQJCMYYYCN4QJBDExjkDAoAYPlbgwMAY7DJQhtGAARUDDCgAUh/+j5jEw5jE8JjE/F/MYYYY8Ef4DHDg/wY4cB/jHEv7HEDEZIBDAgGBDAYFBDAYFBDCq0YawZjDBIgnDMYb5DSvAYfR4L5DAoX/VwYABVwYABDCgAYcAQFCcAa9CcAS9CfIQYbgB8BHIiVBAAaVBAoaVBDE6ulDAoAYGIUPGInDGInwGIn8n5KEDC2APgIYC8CVBBIMD/CVBBIIOBSoIJBDFCVDDAKuEDAKuDDAKuDDCIAYfNYYGV3IYFV0QYFVybKESoIbEGgQACn40BDCwLEOQQYDEgiLCDFL5SBgauBDC6uSAApKxSoMH+CGC/0B/ifCSoN/T4QOBj/ABIIYmMcgYFADAcBJQxjDAoJjDAoJjDDDCu4DAqukDAoAZJYJSBAoJaCKQMALQRrBAwJBBNYIYaAAo",
),
),
);
function setFont() {
g.setFontCustom(fontStr, 46, atob("DBQdGh0dHR0dHB0dDA=="), 50 | 65536);
(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.