Skip to content

Instantly share code, notes, and snippets.

View abelcha's full-sized avatar
💭
💯

Abel Chalier abelcha

💭
💯
View GitHub Profile
@abelcha
abelcha / index.tsx
Created April 29, 2024 20:04
bun run --watch --install auto index.tsx
import 'react@^19.0.0-beta'
import 'react-dom@^19.0.0-beta'
import { renderToReadableStream } from "react-dom/server"
const css = `
@font-face {
font-family: 'CLIG';
font-style: normal;
font-weight: 800;
src: url('https://fonts.clig.dev/EditorialNew-Regular.woff2') format('woff2')
const { throttle } = require('lodash');
const TerminalReporter = require('metro/src/lib/TerminalReporter');
const tryParseJson = (data) => {
try {
return JSON.parse(data);
} catch {
return data;
}
};
░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄
░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█
█░▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█
█░▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█
█░░░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
░█░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█
░░█░░██░░▀█▄▄▄█▄▄█▄████░█
░░░█░░░▀▀▄░█░░░█░███████░█
let foodCatalog = [
{
type: "fruit",
name: "melon",
price:16.1
},
{
type: "vegetable",
name: "melon",
price:5.42
@abelcha
abelcha / lol.php
Last active August 29, 2015 14:20
lol.php
<?php
echo "lolswag";
?>
@abelcha
abelcha / lol.php
Last active August 29, 2015 14:20
<?php
echo "lol123";
?>