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
| :: Command line option (argument) parsing example | |
| :: | |
| :: Written by Suguru Yamamoto | |
| :: <https://gist.github.com/sgryjp/045989b0f6f0089a24f257d74b8a60bd> | |
| :: LICENSE: Public Domain | |
| @echo off | |
| setlocal enableextensions | |
| :: Parse arguments | |
| set _LEVEL=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
| var i = 0; | |
| var myVar = setInterval(myTimer, 3000); | |
| function myTimer() { | |
| var els = document.getElementById("grid-container").getElementsByClassName("ytd-expanded-shelf-contents-renderer"); | |
| if (i < els.length) { |
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
| /* | |
| Export Memrise course words to CSV (technically TSV, or "tab separated file", but it is effectively the same). | |
| 1. Log into Memrise. | |
| 2. Navigate to the course page you would like to export (e.g. https://app.memrise.com/course/2156672/german-random-01/). | |
| 3. Open the browser's Developer Console (https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console) | |
| 4. Paste the below script into the console and hit enter. | |
| 5. After all pages have been loaded, copy and paste the final word list into spreadsheet. |