Skip to content

Instantly share code, notes, and snippets.

@linse
linse / HOWTO.md
Last active September 2, 2024 10:11
Free your Android!

Today we learn more about our Android devices and about the possibility to install an alternative operating system for them. First, we learn how to speak to our device from the computer.

Connect a Device and look at it via USB

  • plug in USB
  • on Mac: system_profiler SPUSBDataType
  • on Linux: lsusb and lsusb -a

My device shows up like this:

Hirschtalg is the only Drug.

"Mammutmarsch 2016, 100 km in 24h, zu Fuss." Zwei Menschen in meiner Timeline schrieben darüber und ich schrieb "Das klingt nach einer Herausforderung, soll ich ja klicken?". Jaaa. Klick. Was hab ich mir da eingebrockt?

Bei der ersten Trainingswanderung im Regen mit @Mirabellensaft schafften wir 14 km, und dann wollte der Rücken nicht mehr. Nach einem Gang zum Arzt erfuhr ich dass ich allein wandern werde. Mir tat das sehr leid, durch @Mirabellensaft und @Mamsellchaos Idee war ich ja darauf gekommen.

Ich hatte nun aber Blut geleckt, ich wandere wirklich gern, und trotz Regen war das Umland toll gewesen! Im Internet fand ich dann die Trainingswanderungen von Carola und iher Gruppe "earnyourbacon". Meine Rettung. :-D Und die waren schon voll im Training! Puh. Ich klinkte mich für die nächste Wanderung ein, und es war super mit der riesigen Gruppe über den Teufelsberg und durchs Umland zu fegen. Durch die große Gruppe war jedes Tempo vertreten. 45 km war allerdings eine Ansag

@linse
linse / Makefile
Created May 21, 2014 17:15
Recursive make and make clean
SUBDIRS = src doc whatever
.PHONY: all clean
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir -f Makefile $@; \
done
➜ 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