Skip to content

Instantly share code, notes, and snippets.

Avatar

eldridgea

View GitHub Profile
View on_with_vol_to_5.txt
on 5
as
tx 15:44:42
tx 15:44:42
tx 15:44:42
tx 15:44:42
tx 15:44:41
tx 15:44:41
tx 15:44:41
tx 15:44:41
View sm.py
import subprocess
from flask import Flask, request
app = Flask(__name__)
PAGE = '''
<html>
<body>
<form action="/" method="post">
<input type="hidden" name="command" value="play">
<button type="submit" name="submit_param" value="submit_value">Play</button>
View play_sound.sh
#!/bin/bash
soundbar_on_vol_to_5 () {
while read -r line
do
cec-client -d 1
done < /home/pi/on_with_vol_to_5.txt
}
if [[ $1 = "start" ]]
View keybase.md

Keybase proof

I hereby claim:

  • I am eldridgea on github.
  • I am eldridgea (https://keybase.io/eldridgea) on keybase.
  • I have a public key ASBDsRq5PdmChS6NFZmr_YZ6nQM4PgPG8CpZTyC_bAr_eAo

To claim this, I am signing this object:

You can’t perform that action at this time.