... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.
# NOTE: Navidrome 0.55.0 now supports moved and renamed files in the library during scan, so this | |
# script is no longer needed. | |
# This script changes the path for a folder or file in Navidrome's database, allowing music files to be | |
# moved or renamed on the file system without losing associated metadata in Navidrome. Since the original | |
# version, it has been updatd to account for the media_file IDs, which are calculated from the path value | |
# and referenced in several tables. | |
# | |
# This script is based on Navidrome version 0.49.2. If you are running an older version of Navidrom, it | |
# will likely fail. If you are running a newer version of Navidrome, your mileage may vary. |
#!/usr/bin/env python3 | |
# | |
# find-compressed-data.py | |
# | |
# A small script to bruteforce embedded compressed data that might not have a header | |
# Useful for raw binary firmware images that do not contain a standard | |
# binary header (ELF, PE, MACH-O). | |
# | |
# I included a limt on size at 16KB because this has a tendency to create |
An collection of documents about icecast/shoutcast streaming.
- icy_meta.md contains the basics of metadata within the stream. The document where I got this information from (http://www.smackfu.com/stuff/programming/shoutcast.html) is not available any more.
- spec.md is a copy of this gist https://gist.github.com/ePirat/adc3b8ba00d85b7e3870 just to prevent the informtation from disappearing. You may find the discussion beneath the original gist interresting as well.
- icy.rb is the most simple icy metadata parser written in Ruby.
- Some information can be found here: https://cast.readme.io/docs/icy
(cors) { | |
@cors_preflight{args.0} method OPTIONS | |
@cors{args.0} header Origin {args.0} | |
handle @cors_preflight{args.0} { | |
header { | |
Access-Control-Allow-Origin "{args.0}" | |
Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS" | |
Access-Control-Allow-Headers * | |
Access-Control-Max-Age "3600" |
Return the Galnet news.
Base URL: https://cms.zaonce.net/en-GB/jsonapi/node/galnet_article
You can change the en-GB
in the URL to get Galnet in others languages (fr-FR
, pt-BR
...).
Simple CAPI client to retrieve player profile from the Elite Dangerous Companion API using OAuth2
#!/bin/bash | |
# install qemu utils | |
sudo apt install qemu-utils | |
# install nbd client | |
sudo apt install nbd-client |
I have a great little sub $20 bluetooth headset that I've been too lazy to get working on my laptop. I run Void Linux because for me systemd creates more headaches than it solves and I prefer minimalism for a machine beholden to a battery. Similarly I consider PulseAudioto have an unacceptable level of overhead for what it brings to the table. So my goal is to get my headphones working on my laptop with these constraints.
Unfortunately the [Bluetooh page of the Void Wiki][void-wiki] is less than useless. I should probably go back and add some stuff for them one of these days. Fortunately the [Bluetooth page of the Arch Wiki][arch] is more helpful, but not 100% precise.
You will need to install Bluez with # xpbs-install -Sy bluez
and add yourself to the bluetooth
group with the command
# useradd -G bluetooth
. You might want to log out and back in at this point. This way you can make sure your