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
class IntComplex8 { | |
// // IntComplex3 | |
// static bit = 3 | |
// static i = 2 ** IntComplex8.bit // => 8 | |
// static modulo = IntComplex8.i ** 2 + 1 // => 65 | |
// static omega = 2 ** (IntComplex8.bit * 2 - 1) - 2 ** (IntComplex8.bit - 1) // => 28 | |
// // IntComplex4 | |
// static bit = 4 | |
// static i = 2 ** IntComplex8.bit // => 16 |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
.stage { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
a, b, c, d | |
e | |
f, g, h | |
i, j, k | |
l | |
m, n | |
o | |
p, q | |
r | |
s, t |
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 evt = document.getElementById('start-button').addEventListener('click', _evt => { | |
var timer = setTimeout(_ => { | |
document.getElementById('pass-button').click(); | |
document.getElementById('start-button').removeEventListener('click', evt); | |
}, 99); | |
}); |
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
document.getElementById('field').style.background = '#66f' | |
document.getElementById('composite-number-toggle').style.visibility = 'hidden'; | |
timer = setInterval(_ => { | |
const discardBtnElm = document.getElementById('discard-button'); | |
const cardArr = [...document.getElementById('discard-frame').querySelectorAll('.card')]; | |
if (cardArr.length === 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
:top | |
timeout 60 | |
set date_tmp=%date:/=% | |
set time_tmp=%time: =0% | |
nircmd savescreenshot %homepath%\auto-ss\image\%date_tmp:~0,4%-%date_tmp:~4,2%-%date_tmp:~6,2%_%time_tmp:~0,2%%time_tmp:~3,2%%time_tmp:~6,2%.png | |
goto top |
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
videoElm = document.createElement("video"); | |
videoElm.setAttribute('autoplay', true) | |
document.body.append(videoElm); | |
navigator.mediaDevices | |
.getDisplayMedia({ video: true }) | |
.then((mediaStream) => { | |
const localStream = mediaStream; | |
videoElm.srcObject = mediaStream; | |
}) |
NewerOlder