This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const COLLIDABLE = document.getElementsByClassName('collidable') | |
const Direction = { | |
None: 0, | |
Left: -1, | |
Right: 1 | |
} | |
const State = { | |
Walking: 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Revolt API", | |
"description": "Open source user-first chat platform.", | |
"termsOfService": "https://revolt.chat/terms", | |
"contact": { | |
"name": "Revolt Support", | |
"url": "https://revolt.chat", | |
"email": "[email protected]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<menu class="ContextMenu"> | |
<div class="section"> | |
<li><button>Action 1</button></li> | |
<li><button>Action 2</button></li> | |
<li><button>Action 3</button></li> | |
</div> | |
<li><button>Action 4<div class="end">bree</div></button></li> | |
</menu> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
background: radial-gradient(#e66465, #9198e5); | |
} | |
button { | |
font-family: "SF Pro"; | |
} | |
.ActionMenu { | |
/* resets */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"a10d": [ | |
"acknowledged", | |
"accomplished", | |
"administered" | |
], | |
"a10e": [ | |
"architecture" | |
], | |
"a10g": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[- | |
where | means to use this bind or that bind if the bind doesn't work | |
-] | |
( IO ) : import { std.lib.io } | |
question : ( IO ) [ prompt: String ] { IO.gets "{prompt}: " } | |
question : ( IO ) [ prompt: String, valid: List[String] ] { | |
input = IO.gets "{prompt}\n({valid.join ", "}): " .trim | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"minecraft:charcoal": { | |
"id": "minecraft:charcoal", | |
"maxCount": 64, | |
"maxDamage": 0, | |
"translationKey": "item.minecraft.charcoal", | |
"isEdible": false, | |
"isDamageable": false, | |
"isEnchantable": false, | |
"isFireResistant": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg | |
width="360" | |
height="360" | |
viewBox="0 0 360 360" | |
version="1.1" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nbtCompoundToObject(nbt) { | |
return Object.fromEntries( | |
Array.from(nbt.getKeys()) | |
.map(key => [key, nbtToObject(nbt.get(key))]) | |
) | |
} | |
function nbtListToArray(nbt) { | |
return Array(nbt.length()) | |
.fill(null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
item.id, | |
item.name, | |
item.description | |
FROM | |
item, | |
tag | |
INNER JOIN itemtaglink ON | |
itemtaglink.item_id = item.id AND | |
itemtaglink.tag_id = tag.id |