-
I had to install PlanetScale CLI following: https://planetscale.com/docs/concepts/planetscale-environment-setup
-
I logged in using
pscale auth
command:
$ pscale auth login
# this opened my browser where I was logged in on PlanetScale
import * as React from "react"; | |
import { useState } from "react"; | |
import withCleanup from "./withCleanup"; | |
import withOnMount from "./withOnMount"; | |
let loaded = false; | |
function Counter() { | |
const [count, setCount] = useState(0); |
#!/usr/bin/env python3 | |
import argparse | |
import glob | |
import os | |
import struct | |
import sys | |
from sentencepiece import SentencePieceProcessor | |
HPARAMS = keys = ["vocab_size", "dim", "multiple_of", "n_heads", "n_layers"] |
echo 'void async function() { const p = await Bun.file("package.json").json(); const out1 = Object.entries(p.dependencies).filter(([k,v]) => v === "latest").map(([k]) => k).reduce((acc, curr) => acc + " " +curr, "bun add"); const out2 = Object.entries(p.devDependencies).filter(([k,v]) => v === "latest").map(([k]) => k).reduce((acc, curr) => acc + " " +curr, "bun add -d"); console.log(`\n${out1}\n\n${out2}\n`) }()' > temp.js && bun run temp.js; rm temp.js |
I had to install PlanetScale CLI following: https://planetscale.com/docs/concepts/planetscale-environment-setup
I logged in using pscale auth
command:
$ pscale auth login
# this opened my browser where I was logged in on PlanetScale
chrome ??= browser; | |
function removeReels(node) { | |
if (!node) return; | |
const bannedInnerTexts = ["Reels and short videos", "Reels"]; | |
const text = node.querySelector?.(`div > span[dir="auto"]`)?.innerText ?? ""; | |
const matchedOnDesktop = bannedInnerTexts.find((t) => t === text); | |
const matchedOnMobile = bannedInnerTexts.includes( | |
node.querySelector("div > span")?.innerText, | |
); |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test Stun/Turn Servers</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
</head> |