Skip to content

Instantly share code, notes, and snippets.

@bluebear94
bluebear94 / iterator.s
Last active July 14, 2024 18:32
While vs. iterator comparison for typst/typst#4544
.section ".text.typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math","ax",@progbits
.globl typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math
.p2align 4, 0x90
.type typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math,@function
typst::math::lr::<impl typst::math::LayoutMath for typst::foundations::content::Packed<typst::math::lr::LrElem>>::layout_math:
.cfi_startproc
.cfi_personality 155, DW.ref.rust_eh_personality
.cfi_lsda 27, .Lexception3462
push rbp
@bluebear94
bluebear94 / mcthenandnow.md
Created August 11, 2020 03:04
Minecraft then and now
Then (August 2012) Now (August 2020)
The latest version of Minecraft is 1.3.1. The latest version of Minecraft is 1.16.1.
Terrain generation is boring. Terrain generation is slightly less boring.
The world is 256 blocks tall. The world is still 256 blocks tall.
You can spam click, as long as you don't care about durability. You can spam click, as long as you don't care about durability.
F3+H won't get you any numerical IDs. F3+H won't get you any numerical IDs.
We could never imagine Minecraft in the hands of Microsoft. We could never imagine Minecraft outside the hands of Microsoft.
There are two major modding APIs. There are two major modding APIs.
@bluebear94
bluebear94 / stupid2.sed
Created March 12, 2020 01:23
Stupid shit II
y/ilgdctmózbspívfjqáúhñxüyéHAn/arianenoiirsoeesrjieyciscfml/
s/r//g
s/ae//g
s/ee/a/g
s/eo/ea/g
s/so/r/g
s/ane/aro/g
s/sa/er/g
s/aoioa/mílame/g
s/aol/o/g
1 Asagami Fujino
2 Okita Souji
3 Enkidu
4 Nagao Kagetora
5 Gray
6 Circe
7 Ryougi Shiki (Assassin)
8 Leonardo da Vinci
9 Ishtar (Rider)
10 Mashu Kyrielight
void TDRTestStage0::startBoss() {
tdr::EnemyHandle boss =
g->getEnemyList().createBoss(tdr::PV(416 - 32, 150), 24, 64);
boss.setTexcoords(agl::UIRect16{0, 0, 128, 128});
tdr::BossScene& scene = g->registerBossScene(boss);
scene.setId(0);
scene.addBossAttack(
0,
{
/* .handler = */ [=, &scene]() {
cairéid
1 Asagami Fujino
2 Enkidu
3 Okita Souji
4 Lanling Wang
5 Gray
6 Ryougi Shiki (Assassin)
7 Oda Nobunaga
8 Medusa (Lancer)
9 Bedivere
10 Chloe von Einzbern
hwynt-hwy [# h w @ n t h w 1 #]
warchaeoedd [# w a r X aI OI D #]
huwcyn [# h 1U k 1 n #]
hêl [# h e: l #]
amoebaidd [# a m OI b aI D #]
neo-malthwsiaeth [# n E O m a l T U S aI T #]
hap-hyd [# h a p h 1 d #]
ynghau [# 1 N_0 a1 #]
siêd [# S e: d #]
hŷn [# h 1: n #]
hwynt-hwy [# h w @ n t h w 1 #]
ryng-gwrs [# r @ N g U r s #]
huwcyn [# h 1U k 1 n #]
hêl [# h e: l #]
amoebaidd [# a m OI b aI D #]
hap-hyd [# h a p h 1 d #]
ynghau [# 1 N_0 a1 #]
siêd [# s j e: d #]
hŷn [# h 1: n #]
btyalin [# b t @ a l I n #]
heul-len [# h eu K E n #]
ryng-gwrs [# r @ N g U r s #]
huwcyn [# h 1U k 1 n #]
hêl [# h e: l #]
amoebaidd [# a m OI b aI D #]
ynghau [# 1 N_0 a1 #]
siêd [# s j e: d #]
hŷn [# h 1: n #]
btyalin [# b t @ a l I n #]
siŵr [# s j u: r #]