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
<!doctype html><html lang="en" dir="ltr"><head><base href="https://consent.youtube.com/"><meta name="referrer" content="origin"><link rel="canonical" href="https://consent.youtube.com/m"><meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=5,width=device-width"><link rel="shortcut icon" href="//www.google.com/favicon.ico"><script data-id="_gd" nonce="8N0t6SuEfjolRLfxTSJAUg">window.WIZ_global_data = {"Aocu9c":false,"DndLYb":"","DpimGf":false,"EP1ykd":["/_/*","/signedin","/signedin/*"],"FdrFJe":"7076170066723287543","FoW6je":false,"GVlsxf":"www.google.com","Im6cmf":"/_/ConsentUi","LVIXXb":1,"LoQv7e":false,"MT7f9b":[],"MZbqOb":"//www.google.com/setprefs?cs\u003d2\u0026sig\u003d0_YSBC3pon58bCdLhAosNVfbN2s6Q%3D\u0026prev\u003dhttps://consent.youtube.com/m?continue%3Dhttps://www.youtube.com/?cbrd%253D1%26gl%3DNL%26m%3D0%26pc%3Dyt%26cm%3D4%26hl%3Den%26src%3D1\u0026hl\u003den","MuJWjd":false,"Mypbod":"https://www.googleapis.com/reauth","PYFuDc":"DUMMY_X_CLIENT_DATA_WIZ_GLOBAL_KEY_DO_NOT_USE"," |
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 EventEmitter from 'events' | |
export default class AbortSignal extends EventEmitter { | |
constructor(signal) { | |
super(); | |
this.signal = signal; | |
this.aborted = false; | |
signal.addEventListener('abort', (...e) => this._onAbort(...e)); | |
this.onabort = () => 0 | |
} |
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 dev.ruurd.vuemusic | |
import android.annotation.SuppressLint | |
import android.net.http.SslError | |
import android.os.Bundle | |
import android.util.Log | |
import android.view.View | |
import android.view.Window | |
import android.webkit.* | |
import androidx.appcompat.app.AppCompatActivity |
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 strformat | |
import tables | |
# (matches, color), (bestMove, heuristic) | |
var transposition = initTable[(int, int), (int, int)]() | |
func negaMax(matches: int, color: int, tTable: Table[(int, int), (int, int)]): (int, int) = | |
var key = (matches, color) | |
if tTable.hasKey(key): | |
return tTable[key] |
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 strformat | |
import tables | |
# (matches, color), (bestMove, heuristic) | |
var transposition = initTable[(int, int), (int, int)]() | |
func negaMax(matches: int, color: int, tTable: Table[(int, int), (int, int)]): (int, int) = | |
var key = (matches, color) | |
if tTable.hasKey(key): | |
return tTable[key] |