Current Saturn topology, with multi-peer retrieval (TBD) between L1<>L2
:
flowchart TB
HttpClient <--> DNS[L1 DNS]
DNS <--> L1'
subgraph L1s[L1s deployed to data centers]
L1
L1'
L1''
#!/usr/bin/env bash | |
ipv4ranges=( | |
10.0.0.0/8 | |
100.64.0.0/10 | |
169.254.0.0/16 | |
172.16.0.0/12 | |
192.0.0.0/24 | |
192.0.2.0/24 | |
192.168.0.0/16 |
Current Saturn topology, with multi-peer retrieval (TBD) between L1<>L2
:
flowchart TB
HttpClient <--> DNS[L1 DNS]
DNS <--> L1'
subgraph L1s[L1s deployed to data centers]
L1
L1'
L1''
$ npm run build | |
> libp2p@0.38.0 build | |
> aegir build | |
[08:47:41] tsc [started] | |
src/circuit/auto-relay.ts:54:80 - error TS2345: Argument of type '(evt: CustomEvent<Connection>) => void' is not assignable to parameter of type 'EventHandler<CustomEvent<Connection>> | null'. | |
Type '(evt: CustomEvent<Connection>) => void' is not assignable to type 'EventCallback<CustomEvent<Connection>>'. | |
Types of parameters 'evt' and 'evt' are incompatible. | |
Type 'CustomEvent<import("/Users/julian/dev/libp2p/js-libp2p/node_modules/@libp2p/interface-connection-manager/node_modules/@libp2p/interface-connection/dist/src/index").Connection>' is not assignable to type 'CustomEvent<import("/Users/julian/dev/libp2p/js-libp2p/node_modules/@libp2p/interface-connection/dist/src/index").Connection>'. |
using level-sublevel, level-sec and validimir to have
const dgram = require('dgram') | |
const glossy = require('glossy') | |
const syslogProducer = new glossy.Produce() | |
const socket = dgram.createSocket('udp4') | |
const sendToPapertrail = (chunk, { severity }) => { | |
const syslog = syslogProducer.produce({ | |
facility: 'user', | |
severity, |
A lightweight node port of websocketd, originally written in go.
node-websocketd --port=8080 ./count.sh
class Pubsub { | |
Map channels; | |
Pubsub() { | |
channels = new Map(); | |
} | |
subscribe(String channel, Function cb) { | |
if (channels[channel] == null) { | |
channels[channel] = new List<Function>(); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleTypeName</key> | |
<string>All Files</string> | |
<key>LSHandlerRank</key> |