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
[server] | |
domain = storyclub.ai | |
root_url = %(protocol)s://%(domain)s:%(http_port)s/admin/ | |
serve_from_sub_path = true |
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
const { | |
generateBlobSASQueryParameters, | |
StorageSharedKeyCredential, | |
ContainerSASPermissions, | |
SASProtocol | |
} = require('@azure/storage-blob'); | |
/** | |
* These are the 4 variables that matter |
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> | |
<body> | |
<script> | |
const POLL_INTERVAL = 100; | |
const MAX_VOLUME = 127; | |
const MIN_VOLUME = 0; | |
let currentVolume = 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
const POLL_INTERVAL = 100; | |
const MAX_VOLUME = 127; | |
const MIN_VOLUME = 0; | |
let currentVolume = 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<label for="volume">Volume:</label> | |
<input name="volume" type="range" id="volume" min="0" max="127"> | |
<script> | |
const volumeSlider = document.getElementById('volume'); |
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
<html> | |
<body> | |
<label for="volume">Volume:</label> | |
<input name="volume" type="range" id="volume" min="0" max="127"> | |
<script> | |
const volumeSlider = document.getElementById('volume'); | |
volumeSlider.addEventListener('input', function (e) { | |
console.log(e.target.value) |
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"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Gamepad Log</title> | |
</head> | |
<body> | |
<h1>Gamepad log</h1> | |
<pre id="output"></pre> |
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"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<button id="btn">Connect</button> |
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"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<button id="btn">Connect</button> |
NewerOlder