- Non-servers can talk to servers, but not each other
- Kind of like Client Isolation on some WiFi controllers
# Allow only IPv4, IPv4 ARP, and IPv6 Ethernet frames. Typical default
drop
not ethertype ipv4
and not ethertype arp
// maybeToFuture :: a -> Maybe b -> Future a b | |
const maybeToFuture = S.curry2((x, maybe) => | |
S.maybe(Future.reject(x), Future.of, maybe) | |
); | |
//also | |
/* | |
Aldwin Vlasblom @Avaq Aug 14 05:12 | |
I generally have two strategies for dealing with a Future(Just(x)): | |
Using maybeToFuture. @davidchambers just posted an implementation. I use this when Nothing represents an actual error in the code (one that can only be recovered from by my generic error recovery procedure, which usually reports the error and crashes the process). |
(defun aj-javascript/post-init-mmm-mode () | |
(with-eval-after-load 'rjsx-mode | |
(mmm-add-classes '((yo | |
:submode web-mode | |
:front "html`" | |
:back "`" | |
:face mmm-declaration-submode-face))) | |
(mmm-add-mode-ext-class 'rjsx-mode nil 'yo) | |
(setq mmm-parse-when-idle 't) | |
)) |
var daggy = require('daggy') | |
const Machine = daggy.taggedSum('Timer', { | |
Yellow: [], | |
Green: [], | |
Red: [] | |
}) | |
Machine.prototype.timer = | |
function () { |
Use a Raspberry Pi as a bridge into my home LAN. The pi is plugged into a switch, which is plugged into an airport express, which is plugged into a cable modem; Nothing fancy.
This isn't a tutorial. Just some example output from a working setup.
off the top of my head, here's the order I would do it in:
var http = require('http') | |
var { html, title, head, body, div } = require('hyperaxe') | |
var page = html( | |
head(title('hi')), | |
body( | |
div({ id: 'app' }) | |
) | |
).outerHTML |
the authtoken.secret file
https://www.zerotier.com/manual.shtml#2_2_3
the authtoken.secret file