Skip to content

Instantly share code, notes, and snippets.

View thibauld's full-sized avatar

Thibauld Favre thibauld

View GitHub Profile
@maurelian
maurelian / HowToOVM2.md
Last active October 11, 2021 19:33
Tutorial for modifying solidity (or any evm) contracts to run on OVM2.0

@horsefacts
horsefacts / satori_emoji.ts
Created February 14, 2024 19:39
Satori Emoji Loading
async function loadAdditionalAsset(_code: string, text: string) {
if (_code === 'emoji') {
const code = getIconCode(text);
const version = '14.0.2';
let emojiSvg;
try {
emojiSvg = await fetch(`https://cdnjs.cloudflare.com/ajax/libs/twemoji/${version}/svg/${code.toLowerCase()}.svg`).text();
} catch (e) {
emojiSvg = UNKNOWN_EMOJI_SVG;
}