Skip to content

Instantly share code, notes, and snippets.

View sergeysova's full-sized avatar
👋
Open to network

Sova sergeysova

👋
Open to network
View GitHub Profile
import { h, spec } from "forest";
export default function Icon(props = {}) {
h("svg", {
attr: {
"height": "32",
"width": "32",
"xml:space": "preserve",
"xmlns": "http://www.w3.org/2000/svg"
},
useEffect(() => {
const durationMs = parseDuration(duration ?? '');
if (durationMs && selectedToken) {
const durationSeconds = new Decimal(durationMs).div(1000);
const speedInYocto = new Decimal(amountToStream)
.div(durationSeconds)
.toFixed();
setValue('speed', speedInYocto);
module.exports = {
forbidden: [
{
name: "no-pages-on-pages",
severity: "warn",
comment: "Page MUST not depends on another page.",
from: { path: "^src/pages/([^/]+)/?.+", pathNot: "^src/pages/(routes|paths).ts" },
to: { path: "^src/pages/(?!$1)/?.+", pathNot: "^src/pages/(routes|paths).ts" },
},
{
const phrase = `
This, like a preacher, spoke Yevgeny.
Eyes blinded, as the salt tears choked,
Tatyana, breathless, uncomplaining,
Was listening to him as he spoke.
He gave his arm. Far from ecstatic,
With movements now called “automatic”,
She lent on him (nothing was said),
And languidly inclined her head.
The came back round the kitchen garden,
#!/usr/bin/env node
import fs from "fs/promises";
import path from "path";
import { fileURLToPath } from "url";
import { unified } from "unified";
import rehypeParse from "rehype-parse";
import { VFile } from "vfile";
import { write } from "to-vfile";
import generate from "@babel/generator";
export function WorkspacePaneTable(
props: WorkspacePaneProps<Workspace.WorkspaceItemHeaderTable>
) {
let [selectedId, setSelectedId] = React.useState<Data.Id | null>(null);
let catalog = Recoil.useRecoilValue(Data.$catalog);
let table = catalog.schema_tables[props.item.name];
let query = React.useMemo(() => createQuery(table), [table]);
let panes = State.usePanesAPI();
import {
allSettled,
attach,
createDomain,
createEvent,
createStore,
fork,
forward,
guard,
sample,
function readCookies() {
const cookies = document.cookie.replaceAll("; ", "&");
const params = new URLSearchParams(cookies);
return Object.fromEntries(params.entries());
}
const J = [
"WOONWOpcVmoQ",
"mrlcVSoSpa==",
"Esf9WPRcSa==",
"WPlcP8knbCku",
"rSoTwe8=",
"W7dcGrJcTq==",
"WPdcN8kWi8kc",
"zcXAW74=",
"WO/cGHz7W7C=",