Skip to content

Instantly share code, notes, and snippets.

@primaryobjects
primaryobjects / m3u8.md
Last active May 17, 2024 18:19
How to download m3u8 and ts video movie streams.

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@yorickdowne
yorickdowne / HallOfBlame.md
Last active May 17, 2024 18:18
Great and less great SSDs for Ethereum nodes

Overview

Syncing an Ethereum node is largely reliant on IOPS, I/O Per Second. Budget SSDs will struggle to an extent, and some won't be able to sync at all.

This document aims to snapshot some known good and known bad models.

For size, 4TB comes recommended as of mid 2024. The smaller 2TB drive should last an Ethereum full node until early 2025 or thereabouts, with crystal ball uncertainty. Remy wrote a migration guide to 4TB.

High-level, QLC and DRAMless are far slower than "mainstream" SSDs. QLC has lower endurance as well. Any savings will be gone when the drive fails early and needs to be replaced.

@DavidAce
DavidAce / pebre.md
Last active May 17, 2024 18:16
Chilean Pebre

Pebre (salsa)

This is how I make pebre, but here is another variant: https://www.youtube.com/watch?v=YP0TqSGeUiQ

  • 4 large tomatoes or the correspoding amount of cherry tomatoes. Choose the tastiest. On large tomatoes, remove the insides to reduce water.
  • 1 mild onion (red, shallot, silver etc)
  • 2 garlic cloves
  • 2 limes (or lemon)
  • 1-2 chillies (or sambal oelek), to taste.
  • 1/2 dl red wine vinegar
  • Lots (1 pot, a handful, or 100-200 grams?) of koriander/cilantro.
@donnaken15
donnaken15 / ffprobe_shell.reg
Created October 16, 2023 05:34
ffprobe context menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\FFProbe]
@="Probe Media..."
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\FFProbe\command]
@="cmd /c mode con cols=80 lines=20 && title ffprobe&& ffprobe -hide_banner -i \"%1\" & pause"
@ripperhe
ripperhe / README.md
Created October 28, 2022 05:02 — forked from IsaacXen/README.md
(Almost) Every WWDC videos download links for aria2c.
@oofnikj
oofnikj / answerfile
Last active May 17, 2024 18:12
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@bradtraversy
bradtraversy / terminal-commands.md
Last active May 17, 2024 18:11
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen