Skip to content

Instantly share code, notes, and snippets.

View Sarverott's full-sized avatar
💭
I may be slow to respond.

Sett Sarverott Sarverott

💭
I may be slow to respond.
View GitHub Profile
@Sarverott
Sarverott / #obsidian-notebook-app-linux-installer.md
Last active December 7, 2025 05:49
[experimental] obsidian easy download
@Sarverott
Sarverott / #list-libraries-by-index-doc.js
Last active December 7, 2025 01:25
playing around https://docs.python.org/3/library/ with devTools coding for fun
/* TEST: URL == 'https://docs.python.org/3/library/'*/
[
...new Set(
Array.from(
document.querySelectorAll("a")
).map(
(x)=>x.href
).filter(
(x)=>x.includes('https://docs.python.org/3/library/')
).map(
@Sarverott
Sarverott / openwebui-docs-grabbing.ipynb
Last active November 30, 2025 08:47
spontanious openwebui docs scrapper
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"darkpointWebsiteInprint"
function inprint(){
return {
label:window.document.title,
url:window.location.href,
metadata:getMetaFromHead(),
checksum:based64sha1ofWebsite(),
refers:linkedUrlsMap()
@Sarverott
Sarverott / quickrun.sh
Created August 21, 2025 17:04
color samples to composing on website - dumb helper snippet
#!/bin/bash
python3 -m http.server 9980 .
from gtts import gTTS
import os
import sys
import subprocess
from threading import Thread
import random
import json
def pathTo(*item):
item=list(item)
@Sarverott
Sarverott / #yt-download_and_ffmpeg.md
Last active August 21, 2025 08:19
yt-download and ffmpeg

some stuff with spontanious murdered precesses that like to hang

@Sarverott
Sarverott / #__clear-app-dir-test.py
Last active August 21, 2025 08:01
old updater script, currenty deprecated and archived - MIT licensed, you use it on your own risk!
import ftplib
import os
from dotenv import load_dotenv
load_dotenv()
MODE = os.getenv('FTP_MODE')
HOST = os.getenv('FTP_HOST')
USER = os.getenv('FTP_USER')
PASS = os.getenv('FTP_PASS')
@Sarverott
Sarverott / dbus-test.py
Created August 21, 2025 07:38
tests in KDE kubuntu environment
import dbus
bus = dbus.SessionBus()
print(bus)
proxy = bus.get_object("org.kde.KWin", "/KWin")
print(proxy)
print(proxy.currentDesktop(dbus_interface="org.kde.KWin"))
import ComicsDownloader from './PoW_comics-downloader.cjs'
ComicsDownloader.downloadWebcomic(
"https://w5.read-one-punchman.com/manga/one-punch-man-chapter-1/",
"one-punch-man_webcomic",
__dirname
)