Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>banner-grid</title>
<style>
:root {
--background: #22272e;
--background-rgb: 34 39 46;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{"accent":"#ff8182","background":"#ffffff","foreground":"#24292f","block":"#2d333b","message-box":"#ffffff","mention":"rgba(255,128,200,0.4)","success":"rgba(74,194,107,0.4)","warning":"rgba(212,167,44,0.4)","error":"rgba(255,129,130,0.4)","hover":"rgba(175,184,193,0.2)","scrollbar-thumb":"#cc6768","scrollbar-track":"transparent","primary-background":"#FFFFFF","primary-header":"#f6f8fa","secondary-background":"#f6f8fa","secondary-foreground":"#57606a","secondary-header":"#f6f8fa","tertiary-background":"#4D4D4D","tertiary-foreground":"#6e7781","status-online":"#3ABF7E","status-away":"#F39F00","status-busy":"#F84848","status-streaming":"rgba(194,151,255,0.4)","status-invisible":"#A5A5A5","light":true,"css":"* {\n border-color: #d0d7de !important;\n}","font":"Open Sans","monospaceFont":"Fira Code"}
Getting mod info for 'fabric-api'
Getting mod info for 'sodium'
Getting mod info for 'lithium'
Getting mod info for 'dynamic-fps'
Getting mod info for 'ferrite-core'
Getting mod info for 'starlight'
Getting mod info for 'ebe'
Getting mod info for 'hatlist'
Getting mod info for 'tiefix'
Getting mod info for 'better-mount-hud'
@brecert
brecert / example
Last active November 11, 2021 01:31
$ images add twitter:CaT04536265/1455086487028965382 +desc:"a cute cat" +collar +cat +bell +shirt.color:black
debug: finding image in database [ not found ]
debug: downloading image [... ]
debug: downloaded image with ( metadata )
debug: adding image data to database
debug: creating file links [ 1 / 4 ]
debug: done!
./images/.hash/sha1/{idkhash}
./images/.id/{idkid}
@brecert
brecert / bg.svg
Created November 4, 2021 21:14
dot background
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brecert
brecert / flatten_property_names.ts
Last active October 22, 2021 08:22
typescript type to flatten property names
// from https://github.com/millsp/ts-toolbelt/blob/master/sources/Union/IntersectOf.ts
type IntersectOf<U extends unknown> =
(U extends unknown ? (k: U) => void : never) extends ((k: infer I) => void)
? I
: never
type JoinName<Name extends string, Key, C> =
`${Name}${C extends false ? Key & string : Capitalize<Key & string>}`
type FlattenPropertyNames<T, Name extends string = '', C extends boolean = Name extends '' ? false : true> = IntersectOf<{
meta:
id: ffli
file-extension: dat
endian: be
seq:
- id: resource
type: resource
enums:
bitflag TextFormatting: u8 {
BOLD,
ITLALIC,
MONOSPACE,
UNDERLINE,
STRIKETHROUGH,
SPOILER
}
enum TextEntity {
"use strict";
function n(t, e) {
var r = (65535 & t) + (65535 & e);
return (((t >> 16) + (e >> 16) + (r >> 16)) << 16) | (65535 & r);
}
function o(t, e) {
return (t << e) | (t >>> (32 - e));
}
function s(t, e, r, i, a, s) {
return n(o(n(n(e, t), n(i, s)), a), r);