eta: 2023Q4
children:
- #121
- #122
- #123
- #124
import { multiaddr } from '@multiformats/multiaddr' | |
import { WebTransport } from '@multiformats/multiaddr-matcher' | |
import { createHelia } from 'helia' | |
const helia = await createHelia() | |
const multiaddrs = [ | |
// fill out multiaddrs for peers you want to check here: | |
'/ip4/123.45.67.89/tcp/4001/ipfs/Qmabcdefg...', | |
'/ip4/98.76.54.32/tcp/4004/ipfs/bafyka...', |
eta: 2023Q4
children:
╰─ ✔ ❯ npx -y ts-node parse-ls-output.ts | |
Package update order: | |
interface-ipfs-core - (depended on by 1 packages) | |
@ipld/car - (depended on by 1 packages) | |
@libp2p/interface-peer-id - (depended on by 1 packages) | |
@libp2p/peer-id-factory - (depended on by 1 packages) | |
@libp2p/peer-id - (depended on by 1 packages) | |
blockstore-core - (depended on by 1 packages) | |
dag-jose - (depended on by 1 packages) | |
did-jwt - (depended on by 1 packages) |
#!/usr/bin/env bash | |
main() { | |
local valid_repos_file=$(mktemp) | |
local moved_repos_file=$(mktemp) | |
cat newline-delimited-repo-names.txt | while read repo; do { | |
local repo_site="https://github.com/$repo" |
diff --git a/node_modules/eslint-plugin-import/config/recommended-esm.js b/node_modules/eslint-plugin-import/config/recommended-esm.js | |
new file mode 100644 | |
index 0000000..0b78a13 | |
--- /dev/null | |
+++ b/node_modules/eslint-plugin-import/config/recommended-esm.js | |
@@ -0,0 +1,20 @@ | |
+const recommendedConfig = require('./recommended') | |
+ | |
+/** | |
+ * The basics. |
#!/usr/bin/env bash | |
COMMA_AI_IP="192.168.1.11" | |
function comma-download { | |
local REMOTE_DIRECTORY="/data/media/0/realdata/$1" && shift | |
local LOCAL_DIRECTORY="${1:-}" | |
if [ -n "$LOCAL_DIRECTORY" ]; then | |
mkdir -p $LOCAL_DIRECTORY |
type Console = typeof console | |
/** | |
* This class' sole purpose is to avoid cluttering the codebase with `eslint-disable-line no-console` comments | |
* | |
* When using this class to log errors or messages, one can assume it's intentional and principled. | |
*/ | |
class Log { | |
constructor (private readonly namespace?: string) {} |
# | |
## | |
### PUBLIC INTERFACE | |
## | |
# | |
# Set up ipfs-chat | |
function chat-setup() { | |
# Create folders | |
mkdir -p $(chat-prefix) |
/** | |
* Modified by Russell Dempsey on 2021 DEC 15 | |
* @see https://stackoverflow.com/a/62002044/592760 | |
*/ | |
type Subscriber<T> = (value: T) => void; | |
class Observable<T> { | |
private subscribers = new Set<Subscriber<T>>(); | |
constructor(private value: T) {} |
// ==UserScript== | |
// @name Add Saved Items to Cart | |
// @namespace https://gist.github.com/beporter/ce76204bcba35d9edb66b395bb5e9305 | |
// @version 0.5 | |
// @description Repeatedly refresh a given "saved items" page (Amazon, Walmart, BestBuy), look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success. | |
// @author https://github.com/beporter | |
// @match https://www.amazon.com/gp/registry/wishlist/* | |
// @match https://www.amazon.com/hz/wishlist/ls/* | |
// @match https://www.bestbuy.com/cart | |
// @match https://www.bestbuy.com/site/customer/lists/manage/saveditems |