I hereby claim:
- I am aubron on github.
- I am aubron (https://keybase.io/aubron) on keybase.
- I have a public key ASAsHFYLAxavBudm0XBrj73Ds5Mxxmf2ACujHkwjP1o_dgo
To claim this, I am signing this object:
#!/bin/sh | |
# Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh | |
# and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
# Updated 6/3/18 to build nasm 2.13 for new ffmpeg builds | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi |
I hereby claim:
To claim this, I am signing this object:
<?php | |
//remember to set your incoming webhook on line 55. | |
$text = $_POST['text']; | |
$responses = [ | |
'EUUUGGGGHHH', | |
'YEESH', | |
'UUURRRGGHHHHH', |
#Checks to see if the Chromecast has been used, and when it finds it has, and no longer is, switches back to Dashboard. | |
has_watched = False | |
while True: | |
time.sleep(5) | |
if chromecast.status: | |
if has_watched == False and chromecast.status.display_name != 'Backdrop': | |
print('[inputSwitch] Chromecast in use, switcher primed.') | |
has_watched = True | |
if has_watched == True and chromecast.status.display_name == 'Backdrop': |
#sys.argv[1] is coming in via environment variables | |
#and is the name of the Chromecast | |
chromecasts = pychromecast.get_chromecasts() | |
chromecast = next(cc for cc in chromecasts if cc.device.friendly_name == sys.argv[1]) |
<?php | |
// now greet the sender | |
header("content-type: text/xml"); | |
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; | |
$valentines = array( | |
'More like Valentines NEIGH!', | |
'More like Valentines NAY!', | |
'Remember, somewhere in the world, there\'s one horse for every human. Go find yours today.', | |
'I\'m gonna spend Valentine\'s day with my true love, FOOD. :D', |