Skip to content

Instantly share code, notes, and snippets.

View wont-stream's full-sized avatar
🔗
https://ipv4.army

Unstream wont-stream

🔗
https://ipv4.army
View GitHub Profile
const domainName = "server";
let mkcertCMD = "mkcert localhost 127.0.0.1 ::1";
`.local
.localdomain
.domain
.lan
.home
.host
.corp
.test
service: tts.cloud_say
data:
entity_id: media_player.bedroom
cache: true
language: de-DE
options:
voice: KillianNeural
message: This is an example TTS message with the Nabucasa service.
enabled: true
{"lastKnownSong":{},"lastKnownHR":0,"lastUpdate":"2024-04-01T04:56:52.265Z"}
@wont-stream
wont-stream / worker.js
Last active April 23, 2024 03:26
cloudflare worker for analytics
export default {
async fetch(request, env, ctx) {
const { cf, headers, url } = request;
const { continent, country, city, regionCode } = cf;
const path = new URL(url).pathname;
if (!path.startsWith("/_/"))
return new Response(
await (await fetch("https://http.cat/418")).arrayBuffer(),
{
const generateId = () => `${performance.now()}${Math.random().toString().slice(5)}`.replace('.','')
@wont-stream
wont-stream / 0-TIDAL Desktop Beta.md
Last active July 18, 2024 23:16
TIDAL Desktop Beta

TIDAL Desktop Beta (with neptune)

First step, install neptune. Helps us to patch electrons main.js file.

Second Step, open

C:\Users\User\AppData\Local\TIDAL\app-*.*.*\resources\app\index.js

/Applications/TIDAL.app/Contents/Resources/app/index.js - ?

Third Step, copy and paste the code from below to under line 266