Skip to content

Instantly share code, notes, and snippets.

View xacrimon's full-sized avatar

Joel Wejdenstål xacrimon

View GitHub Profile
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
macro_rules! helpers {
($instruction:expr, $mc:expr, $thread:expr, $registers:expr, $ip:expr, $handlers:expr) => {
#[allow(unused_macros)]
macro_rules! dispatch {
() => {{
unsafe {
#[cfg(debug_assertions)]
{
let frame = $thread.frames.last().unwrap_unchecked();
debug_assert!($ip.offset_from_unsigned(frame.closure.proto.code.as_ptr()) < frame.closure.proto.code.len());
[00:13:30] EVE System > Channel changed to Local : SH-YZY
[02:30:48] EVE System > Channel changed to Local : 74-DRC
[02:31:33] EVE System > Channel changed to Local : L-GY1B
[02:34:16] PantsuFan > like why do ya'll even need this
[02:34:23] PantsuFan > you dont need it you have more than you even use
[02:34:27] KhanPaso01 Mileghere > i thought there would be a proper response behind this
[02:34:36] KhanPaso01 Mileghere > didnt realise it would be a wet papel towel
[02:35:07] PantsuFan > you legit dont fight anyone big you just club smaller alliances trying to make a home <br>you dont need this
[02:35:33] KhanPaso01 Mileghere > my rental overlord said i do
[02:35:44] PantsuFan > who is your rental overlord?
global:
scrape_interval: 15s
scrape_timeout: 10s
query_log_file: /prometheus/query.log
scrape_failure_log_file: /prometheus/fail.log
scrape_configs:
- job_name: caddy
static_configs:
- targets: ['caddy:2019']