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/env python3 | |
| """ | |
| Analyze git log and count absolute line deltas by author. | |
| Attribution rules (per commit): | |
| - If Co-authored-by tags are present, each unique co-author gets the commit's | |
| full delta counted toward their total (lines may be counted more than once | |
| for commits with multiple co-authors). | |
| - If no Co-authored-by tags, the commit is attributed solely to the git author. |
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
| function retryFailedTests(retries, millisecondsBetweenRetries, setTimeout) { | |
| const originalSpecConstructor = jasmine.Spec; | |
| jasmine.Spec = function(attrs) { | |
| const spec = new originalSpecConstructor(attrs); | |
| const originalTestFn = spec.queueableFn.fn; | |
| // Handles both styles of async testing (Promises and done()) and returns a | |
| // Promise. Wraps synchronous tests in a Promise, too. | |
| const runOriginalTest = () => { |
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 | |
| # Find all contributors to date. These users will get increased odds of winning | |
| # in the raffle. | |
| # These repos will be checked to list all contributors. | |
| REPOS="shaka-player shaka-packager shaka-streamer shaka-player-embedded" | |
| API_URL="https://api.github.com/repos/" | |
| # 4 pages of data covers all PRs to date in all repos. Some pages will be empty |
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
| // Instructions: | |
| // | |
| // 1. Tune in to Demuxed 2020 | |
| // 2. Open your JS console | |
| // 3. Move to the context of the iframe called "conf" | |
| // 4. Check that document.querySelector('video') returns something, | |
| // and if not, go back to step 3 | |
| // 5. Copy and paste all this mess into your JS console | |
| // 6. You now have playback rate and skip controls | |
| // |
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
| <script src="mse_bug.js"></script> |