Gutless2615 2d ago • 100%
Hell yeah. Awesome piece.
Gutless2615 5d ago • 100%
Keep your eye on the prize. Google and Mozilla aren’t even in the same area code of shit. Firefox is the obvious answer.
Gutless2615 6d ago • 100%
Napster
Gutless2615 6d ago • 75%
The shared secret with my Vaultwarden server? Add mfa and someone needs to explain to me how passkeys do anything more than saving one single solitary click.
Gutless2615 6d ago • 70%
I think you are underestimating the ability of the generative ai tools to build to a consistent style and theme. Sure it’s a problem now but not an insurmountable one by todays measures, so I’m assuming Adobe will have it sorted in a few years too
Gutless2615 6d ago • 83%
Literally just use a password manager and 2/MFA. It’s not a problem. We have a solution.
Gutless2615 6d ago • 100%
Might try again. It’s come leaps and bounds in the past few years. I’ve been Linux only for the past few years after dual booting for many and the one thing I miss is game pass. Every game I’ve tried on steam or gog works — often better than on windows.
Gutless2615 1w ago • 14%
Wus growing obsession with woowoo bs health science is depressing and seems like a trauma response to Covid (or a grifter one).
Gutless2615 2w ago • 75%
What do you think obscuring means?
Gutless2615 2w ago • 55%
Literally illegal
Gutless2615 3w ago • 100%
Not a boat! Not a family vacation! Gasp! An… RV!?!?? SOMEONE THINK OF THE RIGHTSHOLDERS!
Gutless2615 3w ago • 100%
404 don’t miss. Best tech journoing in the biz imho
Gutless2615 4w ago • 66%
Tech bro knob slobber.
Gutless2615 4w ago • 100%
Yeah this is more elegant and closer to what I’d actually want to implement. I was more just showing what could be done in literally thirty seconds on the can with ChatGPT.
Gutless2615 4w ago • 100%
“Give me a Python script using yt-dlp that I can run on a cronjob that will download the videos from any of my subscribed channels since the last time the script was run”
You can use the following Python script to download videos from your subscribed channels since the last run. This script uses yt-dlp
and stores the last download timestamp to track new videos.
First, ensure you have yt-dlp
installed:
pip install yt-dlp
Then, create a script called download_videos.py
:
import os
import json
import subprocess
from datetime import datetime
# Configuration
last_run_file = 'last_run.json'
download_directory = 'downloads'
# Ensure the download directory exists
os.makedirs(download_directory, exist_ok=True)
# Load the last run time
if os.path.exists(last_run_file):
with open(last_run_file, 'r') as f:
last_run = json.load(f)['last_run']
else:
last_run = datetime.now().isoformat()
# Update the last run time to now
current_run = datetime.now().isoformat()
# Command to get videos from subscribed channels since the last run
command = [
'yt-dlp',
'--download-archive', 'archive.txt',
'--output', f'{download_directory}/%(title)s.%(ext)s',
'--date-after', last_run,
'--no-post-overwrites',
'--merge-output-format', 'mp4',
'https://www.youtube.com/channel/CHANNEL_ID', # Replace with your channel URL
]
# Run the command
subprocess.run(command)
# Save the current run time
with open(last_run_file, 'w') as f:
json.dump({'last_run': current_run}, f)
print("Download complete. Next run will check for videos since:", current_run)
Setting Up the Cron Job
-
Make the script executable:
chmod +x download_videos.py
-
Open your crontab:
crontab -e
-
Add a line to run the script at your desired interval (e.g., daily at 2 AM):
0 2 * * * /path/to/python /path/to/download_videos.py
Notes
- Replace
CHANNEL_ID
in the script with your actual channel IDs or use a playlist URL if preferred. - The
archive.txt
file keeps track of already downloaded videos to avoid duplicates. - Adjust the paths to Python and your script as needed.
Gutless2615 4w ago • 100%
Well you know what they say “Great minds think quicker than mine and probably have already had that thought.”
Gutless2615 4w ago • 100%
Donate to the EFF for fighting that fight in court already.
Gutless2615 4w ago • 100%
Yes but literally throwing together a script to download the days subscription videos to a jellyfin media drive would be stupidly simple.
Gutless2615 1mo ago • 44%
The design has absolutely not “definitely” improved.
The toddler loves having Kodi full of all their faves but I haven’t been able to iron out all the buffering I’m getting streaming from my mini-pc NFS mounted shares to the pi4 libreelec hooked up via Ethernet in the living room. Everything is wired, so I wouldn’t think that would be an issue but here I am about to put down a couple hundred dollars for a Synology router that looks like the monolith from 2001. Is this going to do the trick, you think? Is there another router recommended to keep a distributed little homelab (any 10tb spread between various usb hdd, raspberry pi’s and mini PCs all hosting a variety of containers and services) running smoothly? Budget I’m hoping to keep under 300 and lower the better but happy toddler and buttery smooth streaming over lan is the priority.
Well, color me surprised when, with my Proton VPN enabled, I still faced a government-mandated MITM attack while attempting to visit 1337x.to "AVVISO L’accesso al presente sito, che diffondeva illecitamente contenuti protetti dal diritto d’autore, è stato disabilitato in esecuzione di un provvedimento dell’Autorità per le garanzie nelle comunicazioni ai sensi del Regolamento di cui alla delibera n. 680/13/CONS Per maggiori informazioni visiti il sito www.agcom.it" To be completely honest, I wasn’t aware this was possible when using a VPN. I’ve tried swapping to multiple servers within Proton, but all seem to be returning the same. Is there some commonly known workaround?
As far as I’m aware, the only self hosted player character builder is the charactermancer in plutonium, the patreon-accessible Foundry VTT plugin made by the 5e.tools folks — but man. My kingdom for a dndbeyond alternative, something self hosted that can take open 5th edition content and allow my players to build and save their character sheets. I don’t suppose I’m just missing something already out there, or are there any projects I should be following?
Basically the title. Loving PopOS as my daily, but I understand that PopOS uses their own process and makes sure that only a checked driver gets wide release. Great for stability, less great for playing games that just came out. Is there a distro that this community generally recommends for gaming?
In my ever-ongoing struggle to disentangle myself and my family from our corporate overlords I have gleefully dived into self-hosting and have a little intranet oasis available; media, passwords, backups, files, notes, contacts, calendars -- basically everything I needed the Big G suite for at one point, I'm hosting locally, and loving it. But Unfortunately... my ISP can be shitty. Normally its' fine and no complaints, but every now and then the network *itself* goes down for maintenance for a few hours, half a day, a day. When those outages happen even though I have a battery backup/generator, I'm basically stuck treading water, unable to even listen to podcasts. I'm wondering what the folks here' have as a contingency plan for these kinds of outages. Part of me is considering pricing out some kind of VPS for barebone, password manager, podcast player, notes etc for outages; but I haven't dipped my toe into that world yet. Just wondering what folks are doing/recommending/
cross-posted from: https://ttrpg.network/post/980439 > I have enough machines on my network that I've long wanted to get better monitoring going on, and I finally bit the bullet and I'm trying to push through learning my way around grafana and prometheus/node extension. I have been following this guide: https://grafana.com/docs/grafana-cloud/monitor-infrastructure/metrics/metrics-prometheus/prometheus-config-examples/docker-compose-linux/ (great, btw!) but after importing the dashboards so I have three dashboards providing some intense readouts of three different machines, it got me wondering: how privacy protective is this? Is Prometheus just sending out a steady stream of diagnostic data for anyone to snoop on if they get access to my LAN? How can I/should I harden these setups to be privacy conscious?
I have enough machines on my network that I've long wanted to get better monitoring going on, and I finally bit the bullet and I'm trying to push through learning my way around grafana and prometheus/node extension. I have been following this guide: https://grafana.com/docs/grafana-cloud/monitor-infrastructure/metrics/metrics-prometheus/prometheus-config-examples/docker-compose-linux/ (great, btw!) but after importing the dashboards so I have three dashboards providing some intense readouts of three different machines, it got me wondering: how privacy protective is this? Is Prometheus just sending out a steady stream of diagnostic data for anyone to snoop on if they get access to my LAN? How can I/should I harden these setups to be privacy conscious?
Personally I’m running Foundry and have been meaning to spin up Owlbear 1.0 now that it’s self hostable - but I feel like there’s more i could be doing. Is anyone aware of a self hostable character sheet/character builder? I suppose i could go next cloud for storing folders and files but I don’t think anyone would use it - what self hosted services are you using at your tables?
I'm looking for a spaced repetition alternative to Anki, ideally something that I can self host and expose like any other webapp, and that is compatible with .apkg Anki decks (or at least that is compatible with something I can convert .apkg decks into). I'd like to not have to create an account with Anki or some other third party, and wasn't super happy with anki-web and the anki-sync-server container -- but maybe I was just using that wrong...
I have a suite of services exposed using a reverse proxy (npm) protected with passwords, but I'm always a bit nervous that username/passwords aren't enough -- is there a way to set up 2FA either on Nginx Proxy Manager side or on, e.g., the 'arr suite of apps?
With Owlbear Rodeo 2.0 getting officially released the developers haven't quite made made good on their promises to open source the original Owlbear Rodeo (releasing under a non-commercial license instead of a proper Open Source license what they are now calling “Owlbear Rodeo Legacy”), but the source is available on GitHub, complete with a docker-compose file to spin up your own instance.
Discord ain't it. There's got to be folks over on this instance e.g. that would be interested in setting up a Shadowdark community, right? Right?? I don't want to contribute to enshittified reddit's bottom line, but the Shawdowdark subreddit is one of the only reasons I still open up that tab every now and then...