Skip to content

Instantly share code, notes, and snippets.

View rmoriz's full-sized avatar
🎭
Everything counts in large amounts

rmoriz

🎭
Everything counts in large amounts
View GitHub Profile
@rmoriz
rmoriz / 1_smime-clients.md
Last active December 17, 2023 13:41
S/MIME is the industry standard for secure E-Mail and build into every relevant mail client. From Outlook to Thunderbird, from Blackberry to Apple Mail on OSX and iOS. http://smime.io/
@rmoriz
rmoriz / desc.md
Last active October 25, 2023 12:21
WireGuard Key Generation (wg genkey)

wg genkey / pubkey

wg genkey
qJvFeHHuffBaPWx4veJGQqXw6j5zdo5cSOaBd1Z0Km4=


echo 'qJvFeHHuffBaPWx4veJGQqXw6j5zdo5cSOaBd1Z0Km4=' | wg pubkey
knL56pMLtyQVyZXOd9m2vEeOopPtbv4tMSU0ctBvGQo=
@rmoriz
rmoriz / script.sh
Last active September 19, 2023 02:04
build rtl8812au driver running Raspbian on Raspberry Pi 3 and Zero (both tested, should work on all)
#!/bin/sh
mkdir -p /tmp/rtl8812au
cd /tmp/rtl8812au
apt-get install -y \
git \
dkms \
raspberrypi-kernel-headers \
raspberrypi-kernel
@rmoriz
rmoriz / howto.md
Last active April 14, 2023 20:30
Build an OSX 10.10 base-box for test-kitchen and VirtualBox
# QUELLE: http://wiki.hetzner.de/index.php/Sensors.conf
#
# /etc/sensors3.conf von Debian / lm-sensors 3.0.2
# ================================================
#
# sample configuration for the Fintek f71882fg for MSI X58 Pro (7522-040R,
# like seen in Hetzner's EQ6 servers). To load the driver module, append a
# single line (without the #) to /etc/modules:
# f71882fg
@rmoriz
rmoriz / howto.md
Created March 31, 2022 13:39
PPPoE ubiquity Deutsche Telekom VDSL Smart Home

Modem Smart Home 3

  • configure via web interfce as "modem only"
  • port 4 is tagged VLAN 7 for PPPoE ID 7

UBNT

  • assign VLAN 7 to incoming interface e.g. eth0
  • add PPPoE device with ID 7, account name = login, passord = password
  • fix mss for IPv4:
➜ ~ curl -6 -I http://www.facebook.com/
HTTP/1.1 302 Found
Location: http://www.facebook.com/unsupportedbrowser
P3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"
X-Content-Type-Options: nosniff
Set-Cookie: datr=Uti8T1T-D8GI9P8qAw359V9m; expires=Fri, 23-May-2014 12:30:10 GMT; path=/; domain=.facebook.com; httponly
Set-Cookie: lsd=AVrZy9TJ; path=/; domain=.facebook.com
Content-Type: text/html; charset=utf-8
X-FB-Debug: 5p84YM9296T4XjyI5Uzt3gTobgfrEBW65OILHdo1GNA=
Date: Wed, 23 May 2012 12:30:10 GMT
@rmoriz
rmoriz / 1-README.MD
Last active October 1, 2021 12:33
cacert.pem without expired certificate, workaround for OpenSSL 1.0.2, see https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/

The expired, offending intermediate cert was removed from curl's cacert.pem, you can now simply download and use this:

wget https://curl.se/ca/cacert.pem -O cacert.pem
@rmoriz
rmoriz / crash.log
Created May 13, 2021 13:18
Photoshop 2021 crashing on start
Process: Adobe Photoshop 2021 [8595]
Path: /Applications/Adobe Photoshop 2021/Adobe Photoshop 2021.app/Contents/MacOS/Adobe Photoshop 2021
Identifier: com.adobe.Photoshop
Version: 22.3.1 (22.3.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Adobe Photoshop 2021 [8595]
User ID: 501
Date/Time: 2021-05-13 15:17:38.337 +0200