Skip to content

Instantly share code, notes, and snippets.

View boardthatpowder's full-sized avatar

Dean Hart boardthatpowder

  • Amazon Web Services
  • Denver, Colorado, USA
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=
@boardthatpowder
boardthatpowder / install-ffmpeg-amazon-linux.sh
Created May 12, 2017 18:52 — forked from prashantmaurice/install-ffmpeg-amazon-linux.sh
How to compile ffmpeg on Amazon Linux (EC2)
#!/bin/sh
# Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh
# and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF
#!/bin/sh
# Fresh install for CUDA 6.0 on Jetson TK1 for Grinch (L4T) 19.3.*
# CUDA 6.0 REQUIRES L4T/Grinch 19.3.* !!!
sudo apt-mark hold xserver-xorg-core
sudo apt-add-repository universe
sudo apt-get update
#wget http://developer.download.nvidia.com/compute/cuda/6_0/rel/installers/cuda-repo-l4t-r19.2_6.0-42_armhf.deb
# Install the CUDA repo metadata that you downloaded
#!/bin/sh
# Add some niceties for a new NVIDIA Jetson TK1
# Installs Chromium, git and aptitude
# Mark this file as executable in the permissions are of the properties dialog then
# $ sudo ./configureJetson.sh
# Don't allow apt-get upgrade of xorg overwrite libglx.so
# May be fixed in future versions of LT4
sudo apt-mark hold xserver-xorg-core