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
| // ==UserScript== | |
| // @name Linkify Pivotal Tracker links on Github | |
| // @namespace http://paradox.io/linkify-pivotal-links | |
| // @version 0.1 | |
| // @description Converts pivotal tracker story links [#123456789] to actual links | |
| // @author Jeff Sandberg | |
| // @match *://github.com/* | |
| // @grant none | |
| // @downloadURL https://gist.githubusercontent.com/paradox460/fa76ecacdbb47d8fa9100fbf9305a97e/raw | |
| // @require https://cdn.jsdelivr.net/gh/padolsey/findAndReplaceDOMText@0.4.5/src/findAndReplaceDOMText.min.js |
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
| Get the number of hours in day, as this may vary depending on DST changes. |
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
| A tiny and very simple pasword generator |
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
| Modulus 10 (luhn) checksum validator. | |
| This may for instance be credit card or GSRN number validation using the luhn algorithm. | |
| See http://en.wikipedia.org/wiki/Luhn_algorithm | |
| Implementation using Rick Hull's comment on http://www.missiondata.com/blog/web-development/25/credit-card-type-and-luhn-check-in-ruby/ |