Skip to content

Instantly share code, notes, and snippets.

View K0HAX's full-sized avatar

Michael Englehorn K0HAX

View GitHub Profile
@endolith
endolith / Has weird right-to-left characters.txt
Last active July 17, 2024 12:41
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@pezz
pezz / crypto-pi-root.md
Last active December 17, 2020 15:40
Archlinux ARM encrypted root

Intro

Just some FYI, to get started:

  • I'm using a 16 GB Sandisk SD card.
  • I have a model B Pi, 512 MB RAM (not really relevant, thought I'd mention it).
  • Monitor and keyboard connected to the Pi itself, for now.
  • Network working, internet access.
@lukebeer
lukebeer / oci.py
Created December 27, 2015 00:07
Broadworks simple OCI client in Python
import cgi
import hashlib
import HTMLParser
import httplib2
import random
import re
class OCISchemaSystem:
;; Licensed under the terms of the GNU General Public Agreement
;; Version 2.0 or later
;; This work is derived from the gnus-article-html function in
;; gnus-html.el originally authored by Lars Magne Ingebrigtsen <larsi@gnus.org>
(require 'xwidget)
(defun xw-gnus-article-html (&optional handle)
(let ((article-buffer (current-buffer)))
(unless handle
@danderson
danderson / nat64.md
Created October 7, 2019 01:16
NAT64 all in kernel mode

I'm writing this up as a gist, because I'm not sure I'll pursue any of it, but it seems worth writing down.

A basic problem with IPv6-only LANs at the moment is that you still need support for legacy protocol servers, which implies you doing some kind of DNS64 and NAT64 (IPv6-to-IPv4 stateful translation).

Currently, NAT64 only exists outside the kernel, as userspace software. This is not ideal because it limits available performance (since you have to keep bouncing between user space and kernel space),