Skip to content

Instantly share code, notes, and snippets.

View pixeldesu's full-sized avatar
💥
npx yarn install

Andreas Nedbal pixeldesu

💥
npx yarn install
View GitHub Profile
@pixeldesu
pixeldesu / bandcamp_collection_trackcount.js
Created March 4, 2022 20:28
Small script to get the (almost) total of tracks present in an entire Bandcamp collection
/* Open your (or any other) Bandcamp profile, press the "show all x items" button and scroll to the very bottom of the
* page, with this you populate the collection item cache which we then can use to mess around with data
*/
let tracks = 0;
(Object.values(ItemCache.collection)).forEach((tra) => {
tracks += parseInt(tra.num_streamable_tracks)
});
console.log(`Your collection contains ${tracks} streamable tracks (this means the actual track count might be slightly higher)`);
@pixeldesu
pixeldesu / evoke.user.css
Created August 15, 2025 19:40
party.evoke.eu userstyle to fix darkmode issues
@-moz-document domain("party.evoke.eu") {
html, body {
background-color: var(--pico-background-color);
color: var(--pico-color);
}
#add-entry form .section, #edit-entry form .section {
background-color: var(--pico-mark-background-color);
}