Skip to content

Instantly share code, notes, and snippets.

View linuxkidd's full-sized avatar

Michael J. Kidd linuxkidd

View GitHub Profile
@boardthatpowder
boardthatpowder / .env
Last active February 7, 2023 21:55
Rivian oder status script
# rivian.com credentials:
USERNAME=
PASSWORD=
# optional twilio.com credentials. If set, will send an SMS when a change in status is detected:
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_FROM_PHONE_NUMBER=
TWILIO_TO_PHONE_NUMBER=
# /tmp/myobject is a 100k object
# created with:
# dd if=/dev/urandom of=/tmp/myobject bs=100k count=1
import rados
import random
import socket
#objects name: <oject-prefix>-<id>
object_prefix=socket.gethostname()