by hegars | Aug 4, 2021 | Script
ffmpeg -f lavfi -i “sine=frequency=440:duration=5:sample_rate=8000” -f lavfi -i “sine=frequency=350:duration=5:sample_rate=8000” -ab 8k -ac 1 -filter_complex “[0][1]amerge” -codec:a pcm_mulaw dialtone.wav
by hegars | Oct 15, 2019 | Debian, Script
https://developers.google.com/cast/docs/media wget https://github.com/barnybug/go-cast/releases/download/0.1.0/cast-linux-amd64 ./cast discover./cast –host 192.168.15.119 –name OfficeTV status./cast –host 192.168.15.119 –name OfficeTV...
by hegars | Jul 5, 2018 | Script
Du summary to one level du -hxd1
by hegars | Jul 3, 2018 | Script, Security
by hegars | Jun 29, 2018 | Python, Script, VoIP
from this https://www.twilio.com/blog/2016/05/bulk-delete-your-twilio-recordings-with-python.html but updated for new API from twilio.rest import Client from datetime import datetime import os # Your Account SID from twilio.com/console account_sid = "SID"...
by hegars | Jun 25, 2018 | FiberChannel, Linux, Script
#!/bin/bash SLEEP_INTERVAL=300 echo "Scanning all fibre channel host adapters" for i in `ls /sys/class/fc_host` do echo "Rescanning /sys/class/fc_host/${i}:" echo " Issuing a loop initialization on ${i}:" echo "1" >...