Skip to content

Instantly share code, notes, and snippets.

@xnumad
xnumad / rquickshare-nixos.md
Last active June 21, 2025 22:55
Build RQuickShare on NixOS
@xnumad
xnumad / call-a-bike.txt
Last active March 28, 2025 17:06
Deutsche Bahn Call a Bike reverse engineering API calls
GET /api/v1/availabilities?bikeNumber=17799
- if bike not available: "[]" (generic error message "bike currently not available")
- if bike available for rent: Bike info (incl. its location).
POST /aping/v2/bookingsByLicensePlate
to borrow a bike by license plate (sends your own location)
POST /aping/v2/actions
with JSON containing "type" field with value "pause" or "resume"
@xnumad
xnumad / .block
Created April 30, 2025 19:08 — forked from vasturiano/.block
IPv6 Active Web Hosts
license: mit
height: 800
#!/usr/bin/env -S sh
me="$(/usr/bin/env basename "$0")"
# Arguments passed through are from the core pattern:
# %P %u %g %s %t %c %h %e
# pid uid group signal time rlimit hostname executable
#edit: my NixOS has
# %P %u %g %s %t %c %h %d %F