Skip to content

Instantly share code, notes, and snippets.

@marcelrv
marcelrv / tinybee.md
Last active June 2, 2023 07:59
Setting up TMC 2209 drivers, connecting via UART toMKS tinybee
View tinybee.md
@marcelrv
marcelrv / openwrt-wireguard.md
Last active July 24, 2023 13:37
Wireguard clients config
View openwrt-wireguard.md
@marcelrv
marcelrv / mayhem-dev.md
Last active August 30, 2022 20:31
Mayhem AIS
View mayhem-dev.md

Connect the hackrf to WSL to flash

usbipd wsl list


usbipd wsl attach --busid <busid>
usbipd wsl attach --busid 2-2
@marcelrv
marcelrv / _docker-migrate-aufs.md
Last active November 20, 2023 08:04
Docker migrate to overlay2 from aufs script
View _docker-migrate-aufs.md

Docker migrate to overlay2 from aufs script

Crazy that this is pretty much forced change without proper transition script

note. Based on https://www.sylvaincoudeville.fr/2019/12/docker-migrer-le-stockage-aufs-vers-overlay2/ NOT WORKING!!!! IF FOLLOWING THE ABOVE.. SOMEHOW THE CONTAINERS DO NOT RE-APPEAR!

The only way I found that is somewhat automated is the the docker-compose way..

Which is still not 100% and require manual fixing of stupid errors of the docker-compose tool (mainly things that ere not interpreted right, like dates & userIds that need to manually surrounded by quotes etc)

@marcelrv
marcelrv / dept-upload.md
Last active May 20, 2021 21:58
Openseamap dept upload
View dept-upload.md

get the list of vessel configs http://depth.openseamap.org:8080/org.osm.depth.upload/api2/vesselconfig

get list of tracks http://depth.openseamap.org:8080/org.osm.depth.upload/api2/track Response:

[{"id":125628,"fileName":"skserver-raw_2021-05-13T12-clean.txt","upload_state":6,"fileType":"application/x-nmea0183","compression":"application/zip","vesselconfigid":0,"containertrack":125625,"license":0,"uploadDate":0,"num_points":3140,"left":5.394117,"right":5.4788833,"top":53.181168,"bottom":53.170315},{"id":125625,"fileName":"skserver-raw_2021-05-13T12-clean.zip","upload_state":6,"compression":"application/zip","vesselconfigid":1377,"containertrack":0,"license":1,"uploadDate":1621376695330,"num_points":3140,"left":5.394117,"right":5.4788833,"top":53.181168,"bottom":53.170315},{"id":125622,"fileName":"nmeatest.txt","upload_state":3,"fileType":"application/x-nmea0183","compression":"application/zip","vesselconfigid":0,"containertrack":125619,"license":0,"uploadDate":0,"num_points":0,"left":0.0,"right":0.0,"t
@marcelrv
marcelrv / Onkyo_mount_Image.md
Last active November 25, 2023 12:12
Onkyo Firmware analysis / hacking
View Onkyo_mount_Image.md
@marcelrv
marcelrv / SeaChartCreator.md
Last active December 10, 2020 07:55
Installing and creating mbtiles with SeaChartCreator
View SeaChartCreator.md

SeaChartCreator

git clone https://github.com/stevo01/SeaChartCreator.git
git clone https://github.com/stevo01/imgkap.git