Skip to content

Instantly share code, notes, and snippets.

@Dustin4444
Dustin4444 / mouse-dictionary-settings.json
Created August 10, 2025 08:23 — forked from yujiym/mouse-dictionary-settings.json
Mouse Dictionary Settings (dracula theme & spacing adjustment)
{
"shortWordLength": 2,
"cutShortWordDescription": 30,
"parseWordsLimit": 8,
"lookupWithCapitalized": false,
"initialPosition": "right",
"scroll": "scroll",
"skipPdfConfirmation": false,
"pdfUrl": "",
"backgroundColor": "#282a36",
@Dustin4444
Dustin4444 / esm-package.md
Created July 30, 2025 09:23 — forked from sindresorhus/esm-package.md
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
diff -r d2213960ade2 src/cmd/5l/asm.c
--- a/src/cmd/5l/asm.c Sat Jul 14 15:59:52 2012 +0400
+++ b/src/cmd/5l/asm.c Sun Jul 15 19:45:39 2012 +1000
@@ -33,6 +33,7 @@
#include "l.h"
#include "../ld/lib.h"
#include "../ld/elf.h"
+#include "../ld/dwarf.h"
static Prog *PP;
@Dustin4444
Dustin4444 / output_log.txt
Created July 18, 2025 04:15 — forked from HugsLibRecordKeeper/output_log.txt
Rimworld output log published using HugsLib
Log uploaded on Thursday, July 17, 2025, 9:13:40 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Feeding Work Type(GoGaTio.FWT): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
@Dustin4444
Dustin4444 / output_log.txt
Created July 18, 2025 04:15 — forked from HugsLibRecordKeeper/output_log.txt
Rimworld output log published using HugsLib
Log uploaded on Thursday, July 17, 2025, 9:13:40 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Feeding Work Type(GoGaTio.FWT): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
@Dustin4444
Dustin4444 / README.md
Created July 8, 2025 19:14 — forked from jimmygchen/README.md
DAS prototype devnet setup

DAS Prototype Devnet

A local devnet for running the DAS prototype from the das Lighthouse branch.

This configuration runs 2 "super" nodes and 2 regular nodes (subscribes to 1 column subnets). It also spams transactions and blobs to the network, so we can see blob columns getting published and received by peers. PeerDAS is activated from epoch 3.

Metrics are available on Grafana dashboard.

Prerequisites

#!/usr/bin/env python3
""" ASF OAuth example in Python 3"""
import cgi
import os
import requests
import urllib
import uuid
def init_oauth():
@Dustin4444
Dustin4444 / FilesSnapshot.xml
Created June 28, 2025 09:30 — forked from choco-bot/FilesSnapshot.xml
wps-office-free v11.2.0.10223 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\wps-office-free\wps-office-free.nupkg" checksum="D7869BB25C1FDAC365FBCB37D92A3F52" />
<file path="C:\ProgramData\chocolatey\lib\wps-office-free\wps-office-free.nuspec" checksum="77CF56F7E742C620CEDEF86152644D42" />
<file path="C:\ProgramData\chocolatey\lib\wps-office-free\tools\chocolateyInstall.ps1" checksum="02EEE2005FC03134D09E888FEDBEC714" />
<file path="C:\ProgramData\chocolatey\lib\wps-office-free\tools\chocolateyUninstall.ps1" checksum="A45A56163B4561CCCD5ACFF4EBFEF203" />
</files>
</fileSnapshot>
import { type PublicClient, type WalletClient } from "@wagmi/core";
import { providers } from "ethers";
import { type HttpTransport } from "viem";
import { useEffect, useState } from "react";
import type { JsonRpcProvider, JsonRpcSigner } from "@ethersproject/providers";
import { usePublicClient, useWalletClient } from "wagmi";
export function publicClientToProvider(publicClient: PublicClient) {
const { chain, transport } = publicClient;
@Dustin4444
Dustin4444 / checksums.txt
Last active June 20, 2025 07:18 — forked from lightclient/checksums.txt
Era1 Checksums
0x407c4c0eecd727ba70368bab3750043b722e00abb62c1bb44d4557d085fe2173
0x682b68a5a475069595d10b7f0350b628fb7f2500f6c16da429bd14318aab95a5
0x4791b876b930fe597810b09ab5d264e6510e7e88699a3cfb44419ba768a8cf39
0x84c0343f0cc617575fd4be216212cc47cda3b59c491d6ac69a09de248dfc53ad
0x7de0294942c5c2ad9a934c121c50b4d04840459134178a39d792fc89bd4e6bbb
0xab8129f9e23721e8aeebd2224cf7107df1bdc91f5892bb2082cfc31f29c1e599
0x8e6fd1531a5a6a42c8b4343ad88c906cd362ef9d509607cb80cbd6f95e5d15d9
0x84b0127f5973d67b7a3ffd444ae32d682208034c584d58898d3949aae17359c4
0x2689bdc1cf3e9827ee574bd543192ff5bf2b00f92569de805e9a1c6ce108e440
0x3c7cc83a771472f1e2720ef74361999b106fd2f4b5659cd689c3323e25a1eaa5