Skip to content

Instantly share code, notes, and snippets.

View xacrimon's full-sized avatar

Joel Wejdenstål xacrimon

View GitHub Profile
asm
; ── prologue ─────────────────────────────────────────────────────────
00: stp x29, x30, [sp, #-0x10]! ; save FP/LR
04: mov x29, sp
08: sub sp, sp, #0x10 ; one spill slot
0c: mov x9, x1 ; x9 = frame base
10: str x9, [sp] ; spill base to [sp] (reloaded before every slot access)
; ── for-loop setup: i = 2, limit = x-1, step = 1 ──────────────────
14: ldr x9, [sp]
; ---- prologue ----
0: stp x29, x30, [sp, #-0x10]!
4: mov x29, sp
8: sub sp, sp, #0x10 ; one spill slot: the frame base
; ---- mb0: entry ----
c: mov x9, x1 ; x1 = incoming Lua frame base
10: str x9, [sp] ; spilled — never read in the loop
14: ldr x9, [sp]
18: ldr x3, [x9] ; x3 = t <- R0 payload
# uncompyle6 version 3.9.3
# Python bytecode version base 2.7 (62211)
# Decompiled from: Python 3.14.6 (main, Jun 10 2026, 10:03:53) [Clang 21.0.0 (clang-2100.0.123.102)]
# Embedded file name: xqwNJRB
import log as Tnh, blue as zWKok, hashlib as ZBtOh, trinity as jPHf, sysinfo as IMhkltjCr, locale as Ahb, base64 as tamySUr
Lntu = zWKok.paths.ResolvePath('script:/compiled.code')
try:
TvgGEFBDh = binascii.crc32(zWKok.AtomicFileRead(Lntu), 0)
except:
sys.exc_clear()
use crate::server::db;
use crate::server::http;
use crate::server::metrics;
use anyhow::{Result, bail};
use futures::FutureExt;
use log::error;
use serde::Deserialize;
use std::time::Duration;
use tokio::select;
use tokio::time;
import discord
import selfcord
import asyncio
import logging
from discord.ext import commands
from dataclasses import dataclass
discord.utils.setup_logging()
BOT_TOKEN = ""
-- year: integer,
-- weekday: varchar(10)
-- airport code: varchar(3)
-- airport name: varchar(30)
-- country: varchar(30)
-- departure time: time
-- profit factor: double
-- route price: double
-- weekday factor: double
-- flight id: integer
tcvm::vm::interp::op_add:
Lfunc_begin291:
sub sp, sp, #144
stp x29, x30, [sp, #128]
add x29, sp, #128
lsr x8, x20, #16
lsr x9, x20, #24
add x8, x24, w8, uxtb #4
ldr x10, [x8]
ldrb w28, [x8, #8]
{
log default {
output stdout
format json
include admin.api
}
log access {
output file /data/caddy/log/access.log {
mode 600
-- The Great Computer Language Shootout
-- http://shootout.alioth.debian.org/
-- contributed by Isaac Gouy, tuned by Mike Pall
local sqrt = math.sqrt
local PI = 3.141592653589793
local SOLAR_MASS = 4 * PI * PI
local DAYS_PER_YEAR = 365.24
---
source: src/compiler/mod.rs
assertion_line: 322
expression: output
---
; function (params=0, vararg=true, stack=19, upvalues=1)
; constants:
; K0 = 3
; K1 = 4
; K2 = 3