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/ruby | |
## JetBlue AYCJ Notifier | |
# So JetBlue doesn't want to tell us exactly when AYCJ-ers can book flights. | |
# This script polls my inbox for any new e-mail from JetBlue and continually | |
# contacts http://www.jetblue.com/aycj and sees if the "come back tomorrow" image is still there. | |
# If anything has changed or an error occurs, use's Mac OS "say" to dictate text and wake me up | |
# so I can book my damn flights. I really wonder how many people are going to stay up tonight hitting the | |
# refresh button every 10 seconds. |
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
/** | |
* Add this script to the end of your document that use <input autofocus type="text" /> | |
* or <input type="text" placeholder="username" /> and it'll plug support for browser | |
* without these attributes | |
* Minified version at the bottom | |
*/ | |
(function () { | |
function each(list, fn) { | |
var l = list.length; |
NewerOlder