Skip to content

Instantly share code, notes, and snippets.


Frederik “Freso” S. Olesen Freso

View GitHub Profile
Freso / picketline-filter.txt
Last active Mar 1, 2022
Adblock filter (use with uBlock or other adblocker of your choice) to prevent crossing virtual picket lines
View picketline-filter.txt
! Title: GMG Union strike filter
! Expires: 2 days
! Description: Filter for adblockers to help with not crossing picket lines
! Homepage:
! Licence:
! GMG Union strike as of 2022-03-01
Freso /
Created Sep 30, 2019
Compares genres known to/available in MusicBrainz vs. beets
#!/usr/bin/env python3
import requests
def get_musicbrainz_genres():
# MB genres:
genre_url = ''
View lookup.json
{"status": "ok", "results": [{"recordings": [{"releasegroups": [{"id": "425771a3-31a4-4dc2-9dee-f2993611b44b"}, {"id": "9e585041-f2c1-3f0d-be40-40c845a3323f"}, {"id": "ddaa2d4d-314e-3e7c-b1d0-f6d207f5aa2f"}], "id": "cd2e7c47-16f5-46c6-a37c-a1eb7bf599ff"}], "score": 1.0, "id": "9ff43b6a-4f16-427c-93c2-92307ca505e0"}]}
#!/usr/bin/env python3
# Copyright © 2017 Frederik “Freso” S. Olesen <>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
View Open Source Days 2017

Open data on my Brain(z): community powered open data

Open data is often talked about in the context of data generated by some governmental institution which is then released and refined by volunteers and/or other actors. But open data can also be crowd sourced and community edited, built bottom up rather than top down.

The MetaBrainz Foundation is "a non-profit that believes in free, open access to data" and hosts a number of community maintained open data databases: MusicBrainz, ListenBrainz, AcousticBrainz, CritiqueBrainz, Cover Art Archive, MessyBrainz, and BookBrainz.

This talk will discuss open data and give a brief introduction to each of the MetaBrainz projects in the context of open data and how to get involved with contributing to and using them.


Keybase proof

I hereby claim:

  • I am freso on github.
  • I am freso ( on keybase.
  • I have a public key ASDd5z0X5E3Kr7NVNr3s2EZhKPPIrkZd_PVs25pB2m3oawo

To claim this, I am signing this object:

View Fallout 4

Freso's Fallout 4 mods list

Document for compiling mods (and other related things) I use/want to use when/for playing Fallout 4.


Utility Description
View Bot

Table of Contents

Bot editor type

Every bot owner must contact the MusicBrainz team when creating a bot editor, so that its user type can be set to Bot. This will let voters know that the edits are entered by a bot. Do not run any edits with your bot until the Bot type is set.

Edit limits

Open edits

There is a recommended limit of 2000 open edits and a hard limit of 2500 open edits per bot at the same time. Any bot which goes over the hard limit will be blocked.

Daily edits

Bots shouldn't make more than 1000 edits (be it normal edits or autoedits) per day - that allows users that want to check them all to do so.

Freso /
Created Nov 2, 2014
Script used to initiate `abzsubmit` before it was able to detect the extractor in `$PATH` and has other infancy issues. No longer needed, just uploaded for documentation and historical purpose.
cd $HOME/Development/AcousticBrainz/acousticbrainz-client
git pull
. ./venv/bin/activate
ls "$@" | parallel --eta python2 ./abzsubmit