Skip to content

Instantly share code, notes, and snippets.

@devinschumacher
devinschumacher / how-to-download-skool.md
Last active February 15, 2026 14:21
How to Download Skool Videos with yt-dlp

How to Download Skool Videos with yt-dlp

Skool delivers videos over HLS (.m3u8 playlists) with short-lived signed tokens. These tokens expire, so you must grab a fresh link from DevTools → Network when you want to download.


1. Copy the .m3u8 Link

From DevTools (Network tab, filter for m3u8), copy the full URL. It will look like this (very long):

@cmer81
cmer81 / guide-integration-marstek-venus-jupiter-homeassistant-fr.md
Created August 2, 2025 19:29
Guide complet d'intégration des batteries Marstek Venus/Jupiter dans Home Assistant - 100% logiciel, sans matériel supplémentaire. Utilise Hame Relay + hm2mqtt pour préserver l'app mobile tout en obtenant un contrôle total dans HA. Inclut configuration pas-à-pas, dépannage et exemples. 🇫🇷

🔋 Guide d'intégration Marstek Venus/Jupiter dans Home Assistant

📋 Introduction

Ce guide détaille l'intégration complète des batteries Marstek Venus et Jupiter dans Home Assistant. Contrairement aux batteries Saturn/B2500, ces modèles récents nécessitent une approche spécifique utilisant deux add-ons complémentaires.

🎯 Avantages de cette méthode

  • Aucun matériel supplémentaire requis (pas de dongles USB, capteurs, etc.)
  • 100% logiciel : utilise uniquement des add-ons Home Assistant
@jasonk
jasonk / Home Assistant - Mass delete devices.md
Last active January 29, 2026 08:16
Home Assistant - Mass delete devices

After running rtl_433 with the MQTT Discovery add-on for a while, I ended up with hundreds of my neighbors devices in my Home Assistant instance. This was when I found out there was no easy way to delete them and was faced with the prospect of going to each one in the GUI, picking "delete" from a menu and the confirming it hundreds of times.

I'm too lazy for that, so I did this instead, based on some code from the forums I came up with this.

How to use it

To use this:

  1. Create a new Area in your Home Assistant (I called mine "Garbage"), and change the GARBAGE_ID variable in the code to have the ID of your new area.
  2. In the devices list you can hit the "select" button and put checkmarks next to all the devices you want to get rid of. Then use the menu in th
@borisschapira
borisschapira / script.js
Last active March 3, 2025 09:38 — forked from spf13/script.js
Download all your Kindle books before Feb 26, 2025
// 1. Log in to your Amazon account
// 2. Go to your Content Library > Books - https://www.amazon.fr/hz/mycd/digital-console/contentlist/booksAll/dateDsc/
// 3. Open your browser's Javascript console
// 4. For each page of books, paste this script into the console
(async function () {
// Close the notification if it appears
function closeNotification() {
const notifClose = document.querySelector("span#notification-close");
if (notifClose) {
@nico3333fr
nico3333fr / hama-grid-generator.php
Last active April 5, 2022 15:48
Pixel Art helper script for Hama beads
<?php
// supposed to be a BMP image, as sprites are really small :)
if ( @$_GET['directfile']!='' ){
$img_name = $_GET['directfile'];
}
$resource = imagecreatefrombmp($img_name);
$width = imagesx($resource);
@spyesx
spyesx / youtube_watch_later.js
Last active June 16, 2024 13:38
Get URLs of your youtube watch later playlist
// Execute this in the console of on your own playlist
var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer');
var r = [];
var json = [];
r.forEach.call(videos, function(video) {
var url = 'https://www.youtube.com' + video.getAttribute('href');
url = url.split('&list=WL&index=');
url = url[0];
@mdo
mdo / 00-intro.md
Last active November 25, 2025 18:16
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

@paulirish
paulirish / how-to-view-source-of-chrome-extension.md
Last active February 28, 2026 01:03
How to view-source of a Chrome extension

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.