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
| // groupArrayElements([1, 2, 3, 4, 5], 3); | |
| const groupArrayElements = ( | |
| array: Array<number>, | |
| length: number | |
| ): Array<Array<number>> => { | |
| const ar: Array<any> = []; | |
| for (let x of array) { | |
| const prevLength: number = ar[x - 2] ? ar[x - 2].length : 0; | |
| const s: number = prevLength !== 0 ? (prevLength * x) - length : 0; |
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
| <html> | |
| <head> | |
| <title>OpenShop</title> | |
| </head> | |
| <body> | |
| <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
| <script type="text/javascript" src="provapi.js"> | |
| // available at https://gist.github.com/ulpmori/48ce3850682ba265b79b | |
| </script> | |
| <script type="text/javascript"> |
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
| // Provenance javascript api driver | |
| // needs jquery | |
| Provapi = { | |
| // set functions | |
| auth: function (appname, key, callback) { | |
| // set appname and key | |
| Provapi.name = appname; | |
| Provapi.key = key; | |
| callback(1); | |
| }, |
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
| /tc 00:00:14:00 00:00:17:11 | |
| Qeveria e ShBA-së | |
| kërcënoi Suedinë me sankcione. | |
| /tc 00:00:17:16 00:00:20:06 | |
| -nëse nuk i mbyll uebfaqet fajllshpërndarëse, si | |
| the Pirate Bayi. | |
| /tc 00:00:23:13 00:00:28:04 | |
| Procesi gjyqësor kundër themeluesit të |