Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
➜ keyfender git:(master) ✗ dune build
File "handler_keys.ml", lines 54-55, characters 4-25:
54 | ....method! post_is_create rd =
55 | Wm.continue true rd
Error: The method `post_is_create' has no previous definition
File "handler_users.ml", lines 36-37, characters 4-25:
36 | ....method! post_is_create rd =
37 | Wm.continue true rd
Error: The method `post_is_create' has no previous definition
File "hsm.ml", line 862, characters 37-41:
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[mirage-qubes.0.8.3] synchronised from git+https://github.com/mirage/mirage-qubes.git#master
[netchannel.1.13.1] synchronised from git+https://github.com/mato/mirage-net-xen.git#xen-pvh-via-solo5
[mirage-xen.6.0.0] synchronised from git+https://github.com/mato/mirage-xen.git#xen-pvh-via-solo5
[mirage-net-xen.1.13.1] synchronised from git+https://github.com/mato/mirage-net-xen.git#xen-pvh-via-solo5
[vchan-xen.5.0.0] synchronised from git+https://github.com/mato/ocaml-vchan.git#xen-pvh-via-solo5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of mirage-xen failed at "/home/user/.opam/opam-init/hooks/sandbox.sh build env
OPAM_PKG_CONFIG_PATH=/home/user/.opam/solo5/lib/pkgconfig dune build -p mirage-xen -j 1".
user@ocaml-dev:~/cloned/qubes-mirage-firewall$ make depend
opam pin add -k path --no-action --yes mirage-unikernel-qubes_firewall-qubes . && opam depext --yes --update mirage-unikernel-qubes_firewall-qubes ; opam pin remove --no-action mirage-unikernel-qubes_firewall-qubes
Package mirage-unikernel-qubes_firewall-qubes does not exist, create as a NEW package? [Y/n] y
[mirage-unikernel-qubes_firewall-qubes.~dev] synchronised from file:///home/user/cloned/qubes-mirage-firewall
[WARNING] Failed checks on mirage-unikernel-qubes_firewall-qubes package definition from source at
file:///home/user/cloned/qubes-mirage-firewall:
warning 37: Missing field 'dev-repo'
mirage-unikernel-qubes_firewall-qubes is now pinned to file:///home/user/cloned/qubes-mirage-firewall (version ~dev)
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for mirage-unikernel-qubes_firewall-qubes: The following dependencies couldn't be met:
@linse
linse / mirage-unikernel-qubes_firewall-qubes.opam
Created August 14, 2020 10:46
mirage-unikernel-qubes_firewall-qubes.opam
# Generated by ./config.exe configure -t qubes (2020-08-14 10:40:04-00:00).
opam-version: "2.0"
name: "mirage-unikernel-qubes_firewall-qubes"
depends: [ "arp"
"arp-mirage"
"astring"
"cstruct"
"dns-client" { >= "4.5.0"}
"ethernet"
"functoria-runtime"
Hi retreat travellers!
Since we're in the new situation of a new virus + viral social media + governments who are not great at communication,
it's a good idea to talk constructively about what we can do to protect ourselves.
There are screenings and travel restrictions for people who have been in China / Wuhan in the last two weeks, or who have been in contact with infected people. An infection with the new coronavirus can be dangerous for immunosuppressed people (e.g. HIV+, organ transplant receivers), elderly people or children.
If you are in this group, it is advised not to travel.
You will have to fill out a health declaration when you arrive, where you also need the address of the riad: Riad Priscilla ; 27 rue de azbezt ; Marrakesh
All travellers can help to stop the spread, like with any virus:
user@ocaml-dev:~$ opam pin
alcotest.0.8.5 git git+https://github.com/yomimono/alcotest.git#alcotest-mirage
alcotest-mirage.~dev git git+https://github.com/yomimono/alcotest.git#alcotest-mirage
alcotest-unix.~dev (uninstalled) git git+ssh://git@github.com/yomimono/alcotest.git#alcotest-mirage
dns.4.0.0 git git+file:///home/user/cloned/ocaml-dns#HEAD
dns-client.4.0.0 git git+file:///home/user/cloned/ocaml-dns#HEAD
mirage.3.5.0 git git+file:///home/user/cloned/mirage#qrexec-expose
mirage-net-xen.1.11.0 git git+ssh://git@github.com/yomimono/mirage-net-xen.git#mutable-listener
netchannel.dev git git+ssh://git@github.com/yomimono/mirage-net-xen.git#mutable-listener
pf.dev git git+https://github.com/yomimono/ocaml-pf.git#just-qubes
[user@sys-net ~]$ sudo tcpdump -Xvenni any udp port 53
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
17:58:19.294204 In 00:16:3e:5e:6c:00 ethertype IPv4 (0x0800), length 87: (tos 0x0, ttl 38, id 0, offset 0, flags [none], proto UDP (17), length 71)
10.137.0.7.7223 > 199.7.83.42.53: 4895 [1au] A? bogus.linse.me. (43)
0x0000: 4500 0047 0000 0000 2611 6fe5 0a89 0007 E..G....&.o.....
0x0010: c707 532a 1c37 0035 0033 4e3d 131f 0000 ..S*.7.5.3N=....
0x0020: 0001 0000 0000 0001 0562 6f67 7573 056c .........bogus.l
0x0030: 696e 7365 026d 6500 0001 0001 0000 2910 inse.me.......).
0x0040: 0000 0000 0000 00 .......
17:58:19.294239 Out 84:3a:4b:0d:d1:e4 ethertype IPv4 (0x0800), length 87: (tos 0x0, ttl 37, id 0, offset 0, flags [none], proto UDP (17), length 71)
cat moby_dick.txt | tr -d '\r“’‘”' | tr "\n" " " | tr -s ' ' | less
cat moby_dick.txt | tr -d '\r“’‘”' | tr "\n" " " | tr -s ' ' | sed 's/e/aaaaa/g' | less
# one sentence per line
cat moby_dick.txt | tr -d '\r“’‘”_' | tr "\n" " " | tr "—" " " | tr "-" " " | tr -s ' ' | sed 's/\./.\
/g' | sed 's/\!/!\
/g' | sed 's/\?/?\
/g' | less | sort | uniq -c | sort -n
# one word per line