Create a new repository named username.github.com
, where username
is your GitHub username.
On the repository page, click the creating a new file
link.
Name your file index.html
. Now copy and paste the following code into the file.
{ | |
"js/ts.implicitProjectConfig.checkJs": true, | |
"editor.copyWithSyntaxHighlighting": true, | |
"liveshare.connectionMode": "relay", | |
"vim.smartRelativeLine": true, | |
"vim.overrideCopy": false, | |
"diffEditor.wordWrap": "on", | |
"breadcrumbs.enabled": true, | |
"editor.gotoLocation.multipleDefinitions": "goto", | |
// "typescript.preferGoToSourceDefinition": true, |
export const chaosTestStrings = (): void => { | |
const textNodes = getAllTextNodes(document.body); | |
for (const node of textNodes) { | |
const textNodeLength = node.textContent ? node.textContent.length : 0; | |
if (node.textContent === null) { | |
return; | |
} | |
if (node.parentElement instanceof Element) { | |
if (node.parentElement.dataset.originalText === undefined) { |
import { ImageResponse } from "@vercel/og"; | |
import { RedisEdge } from "redis-edge"; | |
const REDIS_COUNT_KEY = "og-count-2"; | |
export const config = { | |
runtime: "experimental-edge", | |
}; | |
export default async function () { |
[ | |
{ | |
"type": 4, | |
"data": { | |
"href": "https://localhost:3000/11/sessions", | |
"width": 1876, | |
"height": 1335 | |
}, | |
"timestamp": 1624043552571 | |
}, |
Create a new repository named username.github.com
, where username
is your GitHub username.
On the repository page, click the creating a new file
link.
Name your file index.html
. Now copy and paste the following code into the file.
let itter = 1; | |
let max_itter = 10000; | |
let offset = 0; | |
let width = 800; | |
let height = 800; | |
let backgroundColor = "#14213d"; | |
let foregroundColor = "#fca311"; | |
function setup() { | |
pixelDensity(2); |
Running 62.19 mi █████████████████████████████████░░ 93.5% | |
Swimming 0.00 mi ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.0% | |
Biking 2.25 mi ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 6.5% |