Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
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
| data class Off(val id: Int, val offName: String) | |
| data class Prop(val id: Int, val propName: String, val offId: Int) | |
| data class Joined(val off: Off, val props: List<Prop>) | |
| fun main(args: Array<String>) { | |
| val offs: List<Off> = listOf( | |
| Off(id = 1, offName = "Off A"), | |
| Off(id = 2, offName = "Off B") | |
| ) | |
| val props: List<Prop> = listOf( |
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
| git submodule foreach '[ "$path" == "submodule-to-exclude" ] || git pull origin master' |
- Open Chrome Developer tools and click the Network tab.
- Navigate to the page with the video and get it to start playing.
- Filter the list of files to "m3u8".
- Find master.m3u8 or index.m3u8 and click on it.
- Save the file to disk and look inside it.
- If the file contains a single m3u8 master url, copy that one instead.
- Run the program m3u8x.
- Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
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/sh | |
| # Create useful gitignore files | |
| # Usage: gi [param] | |
| # param is a comma separated list of ignore profiles. | |
| # If param is ommited choose interactively. | |
| function __gi() { | |
| curl -L -s https://www.gitignore.io/api/"$@" | |
| } |