Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
initial_directory=$(pwd)
temp_directory=$(mktemp -d)
build_directory=$(mktemp -d)
cd $temp_directory
wget https://ppa.launchpadcontent.net/aglasgall/pipewire-extra-bt-codecs/ubuntu/pool/main/p/pipewire/libspa-0.2-bluetooth_0.3.65-4%7Eglasgall1_amd64.deb
dpkg -x $(ls *.deb) $temp_directory
mkdir $build_directory/DEBIAN
mkdir -p $build_directory/usr/lib/x86_64-linux-gnu/spa-0.2/bluez5/
@rlaphoenix
rlaphoenix / _restream_cenc.md
Last active April 7, 2024 16:19
Ways to re-stream and decrypt MPEG-CENC live streams. (or just play on desktop)

Disclaimer

  1. All content keys were redacted, they should be 128-bit hex strings.
  2. These methods involve the use of ffmpeg and -cenc_decryption_key which is not part of stable releases as of July 2022. Use nightlies from gyan.dev or some other autobuild in the meantime. Hopefully it gets added in the next stable release.
  3. On my end none of these were particularly reliable. This may change in the future as FFmpeg evolves. The direct method of playing with ffplay is currently the most reliable out of the listed methods.

xTeVe (for Emby/Plex)

@sillygwailo
sillygwailo / extract-ios-wallpaper.md
Last active April 24, 2023 14:31
Extract your iOS wallpaper if the image is not in your Camera Roll
  1. Backup your iOS device to your computer (not iCloud) through iTunes
  2. Download iPhone / iPod Touch Backup Extractor from http://supercrazyawesome.com/
  3. Run the app, and click "Read Backups"
  4. Find the backup you just made
  5. Make an empty directory
  6. Scroll all the way down and highlight "iOS Files"
  7. Extract the iOS files to the directory you made
  8. Visit https://www.dcode.fr/cpbitmap-format
  9. Click "Choose File"
  10. Inside the directory you created, find the iOS Files/Library/Springboard directory.