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 / readme.md
Last active December 28, 2024 19:28
NanoKVM Device Tree
  1. get binary image https://github.com/sipeed/NanoKVM/releases/tag/v1.3.0
  2. kpartx -v -a 20241120_NanoKVM_Rev1_3_0.img
  3. mount /dev/mapper/loop11p1 nanokvm-boot
  4. mount /dev/mapper/loop11p2 nanokvm-linux
  5. binwalk nanokvm-boot …
--------------------------------------------------------------------------------
2312          0x908           CRC32 polynomial table, little endian
354600 0x56928 Android bootimg, kernel size: 0 bytes, kernel addr: 0x0, ramdisk size: 1869771333 bytes, ramdisk addr: 0x49203A72, product name: "dex %u"
@rmoriz
rmoriz / acme.patch
Last active December 12, 2024 06:11
Proxmox patch to allow ACME request for IP (with step-ca) by user "Tim", see https://bugzilla.proxmox.com/show_bug.cgi?id=4687
--- /usr/share/perl5/PVE/ACME.pm.old 2024-12-12 06:04:41.692322362 +0100
+++ /usr/share/perl5/PVE/ACME.pm 2024-12-12 06:06:24.804929531 +0100
@@ -14,6 +14,7 @@
use HTTP::Request;
use LWP::UserAgent;
+use Net::IP;
use Crypt::OpenSSL::RSA;
@rmoriz
rmoriz / bluetooh-proxy.yaml
Last active November 22, 2024 23:48
ESPHome bluetooth proxy example ESP32 WIFI
# see https://esphome.io/components/bluetooth_proxy.html
# see https://esphome.io/components/ble_client.html
#
esphome:
name: bluetooth-proxy-downstairs
friendly_name: bluetooth-proxy-downstairs
esp32:
board: esp32dev
framework:
@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:
@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
@rmoriz
rmoriz / brew-install-ffmpeg-with-all-options.sh
Created November 22, 2019 22:33 — forked from rileyjshaw/brew-install-ffmpeg-with-all-options.sh
2019-10-07: Install ffmpeg with all options on MacOS using Homebrew
brew cask install xquartz
brew install amiaopensource/amiaos/decklinksdk
brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg --compact)
@rmoriz
rmoriz / atg.txt
Last active April 12, 2019 00:54
Vulnerable gas stations in Germany
bts1-334dec597811b6c.static.premium-sdsl.netbone.de
nc bts1-334dec597811b6c.static.premium-sdsl.netbone.de 10001
^AI20100
I20100
12.04.19 00:53
Bavaria Tankstelle OHG
Treffpunkt Feine-Geister
@rmoriz
rmoriz / _etc_init.d_rcS
Created March 3, 2019 01:34
Chinese Webcam
#! /bin/sh
/bin/mount -a
echo "
##############################
# #
# GWELL IPC SYSTEM #
# #
##############################