This file contains 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
// copy and paste this in the browser window console and execute, when you are on the page of the song WITH official backing track | |
await (async function () { | |
function download(blob, fileName) { | |
const url = window.URL.createObjectURL(blob); | |
const tempLink = document.createElement('a'); | |
tempLink.href = url; | |
tempLink.setAttribute('download', fileName); | |
document.body.appendChild(tempLink); | |
tempLink.click(); |
This file contains 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
import androidx.compose.foundation.Canvas | |
import androidx.compose.foundation.ExperimentalFoundationApi | |
import androidx.compose.foundation.gestures.onDrag | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.layout.offset | |
import androidx.compose.foundation.layout.size | |
import androidx.compose.runtime.* | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.graphics.Color |
This file contains 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
package nl.avwie | |
interface Tag<T> | |
interface Tagged<T> { | |
val tag: Tag<T> | |
} | |
class ComponentBag { | |
private val components = mutableMapOf<Tag<*>, Any>() |