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
| var crypto = require("crypto"); | |
| var readId3 = function(buff){ | |
| var out = {}; | |
| if (String.fromCharCode(buff[0], buff[1], buff[2]) != "ID3"){ | |
| throw ("no id3 v2 tag") | |
| } | |
| out.version = "v2."+ buff[3] + "." + buff[4]; | |
| //flags | |
| var flags = buff[5]; |
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
| /** | |
| * Simple auto complete that can store values in local storage. | |
| * | |
| * Author: Tim Stevens | |
| * twitter:san1t1 | |
| * | |
| * To use: | |
| * | |
| * $("selector").storedAutocomplete({source:["my","seed","values"], key:"uniqueIndexForLocalStorage"}) | |
| * |