Skip to content

Instantly share code, notes, and snippets.

View borispoehland's full-sized avatar

Boris Pöhland borispoehland

View GitHub Profile
@poolsar42
poolsar42 / Guide.md
Last active January 23, 2023 06:49
Uploading large folders to IPFS

Hiya!

Uploading gigantic folders and files to IPFS sometimes could be tricky! But we are going to make it. I tried to write complete instructions on how to do this. But feel free to ask if something isn't going according to plan. 😉

IPFS Desktop

  1. First thing we need to do is to install IPFS Desktop client. Follow the link and choose your option.
  2. Open your IPFS Desktop and wait a bit until it loads.
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) {
@VanTanev
VanTanev / README.md
Created May 2, 2023 13:01
A github workflow to track progress of convertion JavaScript to TypeScript.

A github workflow to track the progress of converting JavaScript to TypeScript.

Last year, we migrated a large project form JS to TS. We did this with ts-migrate, and we renamed all instances of any to $TSFixMe, to differentiate them from real uses of any.

Tracking the convertion over time

In order to see our progress on removing $TSFixMe, we build the a github workflow that adds comments to PRs with our progress, eg:

image