This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.7 | |
''' This script will download the detailed energy usage from dominion power and insert it into InfluxDB which you can then visualize with Grafana | |
https://www.dominionenergy.com/company/electric-projects/smart-meters/detailed-energy-usage | |
''' | |
import mechanize | |
import cookielib | |
import csv | |
import pytz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {targetBuddyPhone, targetMessage} | |
tell application "Messages" | |
set targetService to 1st service whose service type = iMessage | |
set targetBuddy to buddy targetBuddyPhone of targetService | |
send targetMessage to targetBuddy | |
end tell | |
end run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# from your workstation run below where <expression> is your tcpdump expression | |
# works great on OSX | |
# | |
ssh [email protected] "/path/to/tcpdump -s 0 -U -w - -i ethX <expression>" |wireshark -i - -k |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# tivo stream before tivostream was. | |
# | |
MAK=YOUR_MAK | |
/usr/bin/curl --cookie sid=abc -k --digest -u tivo:${MAK} -c /dev/null $1 | /usr/bin/tivodecode -m ${MAK} -- - | /usr/bin/mplayer -vf pp=lb -cache 64768 - | |
# end. |