I hereby claim:
- I am dannyob on github.
- I am malaclyps (https://keybase.io/malaclyps) on keybase.
- I have a public key whose fingerprint is E1E7 0D6E 64BA 8D1F 74E7 8285 E500 1906 A3FD E45E
To claim this, I am signing this object:
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = ["opencv-python>=4.9", "numpy>=1.26", "mss>=9.0"] | |
| # /// | |
| """ | |
| Live Fortnite map position from the minimap, served as a web page. | |
| Reads your own screen, works out where you are on the island, and serves a map | |
| tile plus the nearest loot spawns with distance and compass bearing - so you can | |
| have it on a phone or second monitor while you play. |
| # ssconvert is part of the gnumeric package -- apt or brew install gnumeric | |
| cd /tmp/ | |
| PASSWORD=blahblahblah | |
| USERNAME=test@example.com | |
| JSESSIONID=$(curl 'https://www.mynetdiary.com/muiSignIn.do' -H 'accept: application/json, text/plain, */*' -H 'accept-language: en-US,en;q=0.7' -H 'content-type: application/json' -H 'origin: https://www.mynetdiary.com' -H 'referer: https://www.mynetdiary.com/logonPage.do' --data-raw '{"login": $USERNAME,"password":$PASSWORD,"rememberMe":true}' --compressed | jq -r .JSESSIONID) | |
| curl --verbose -b JSESSIONID=$JSESSIONID 'https://www.mynetdiary.com/exportData.do?year=2023' --output mynetdiary.xls | |
| ssconvert mynetdiary.xls -O 'sheet="Measurements"' measurements.csv | |
| grep "Body Weight" < measurements.csv > weight.csv | |
| rm -f mynetdiary.xls measurements.csv |
| #!python3 | |
| import imaplib | |
| import os | |
| import asyncio | |
| loop = asyncio.get_event_loop() | |
| conf = [x.strip().split() for x in open('mbsyncrc')] |
I hereby claim:
To claim this, I am signing this object: