- Docker (from Windows Store)
- Folder at
C:/jellyfin
You can use the Jellyfin mmart TV app, your smartphone or PC, as long as they are on the same network.
C:/jellyfinYou can use the Jellyfin mmart TV app, your smartphone or PC, as long as they are on the same network.
| import json | |
| # Function to format notes for printable output | |
| def format_notes(notes, width=50): | |
| formatted_notes = "" | |
| for i in range(0, len(notes), width): | |
| formatted_notes += notes[i:i+width] + "\n" | |
| return formatted_notes | |
| # Read the Bitwarden JSON export and create a printable TXT file |
| # chatgpt generated | |
| # but verified | |
| import os | |
| import shutil | |
| import zipfile | |
| import tarfile | |
| from pathlib import Path | |
| def decompress_files(): |
| # make sure your dns is setup to forward your domain, in this case excalidraw.my-custom-domain.com to the server you're hosting this on | |
| excalidraw.my-custom-domain.com { | |
| reverse_proxy http://excalidraw { | |
| header_up Host {http.request.host} | |
| header_up X-Real-IP {remote_host} | |
| header_up X-Forwarded-For {remote_host} | |
| header_up X-Forwarded-Proto {scheme} | |
| } | |
| } |
| func get_events(account_count int, event_count int) []Event { | |
| events := make([]Event, 0, account_count*event_count) | |
| event_counter := make(map[string]int) | |
| for i := 0; i < account_count*event_count; i++ { | |
| keyA := string(97 + rand.Intn(account_count-1)) | |
| keyB := string(97 + rand.Intn(account_count-1)) | |
| for { | |
| if keyA != keyB { | |
| break | |
| } |
| import os | |
| import subprocess | |
| import requests | |
| # Replace with your GitHub token | |
| GITHUB_TOKEN = '' | |
| # Replace with your private Git server's HTTPS URL | |
| PRIVATE_GIT_SERVER = 'https://user_name:pat@domain/user_name/' | |
| GIT_SERVER_USERNAME = 'john' |
| #!/bin/python | |
| import argparse | |
| import asyncio | |
| import datetime | |
| from multiprocessing import Pool | |
| async def write(i): | |
| while True: | |
| print(f"{i} {str(datetime.datetime.now())}") |
| function OpenSections() { | |
| console.log('Opening Sections...'); | |
| var index = 0; | |
| var sectionPush = document.querySelectorAll('.js-panel-toggler') | |
| var sectionHidden = document.querySelectorAll('.panel--content-wrapper--1g5eE') | |
| sectionHidden.forEach((item) => { | |
| const hidden = item.getAttribute('aria-hidden'); | |
| if (hidden == "true") { | |
| sectionPush[index].click(); | |
| } |
| #! /bin/bash | |
| fileName="/home/john/speed-log/speed_log.txt" | |
| echo "$(speedtest-cli --csv --csv-delimiter ';')" >> $fileName |
| import json | |
| inp = "" | |
| out = "" | |
| with open(inp, "r", encoding="utf-8") as f: | |
| with open(out, "w", encoding="utf-8") as f2: | |
| json.dump(json.load(f), f2, indent=2, ensure_ascii=False) |