Skip to content

Instantly share code, notes, and snippets.

Frederik “Freso” S. Olesen Freso

Block or report user

Report or block Freso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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"}]}
View ck-prepare-archive.py
#!/usr/bin/env python3
#
# Copyright © 2017 Frederik “Freso” S. Olesen <https://freso.dk/>
#
# 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 talk.md

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.


View keybase.md

Keybase proof

I hereby claim:

  • I am freso on github.
  • I am freso (https://keybase.io/freso) on keybase.
  • I have a public key ASDd5z0X5E3Kr7NVNr3s2EZhKPPIrkZd_PVs25pB2m3oawo

To claim this, I am signing this object:

View Fallout 4 modlist.md

Freso's Fallout 4 mods list

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

Utlities

Utility Description
View Bot CoC.wiki

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
Freso / acousticbrainz-submit.sh
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.
View acousticbrainz-submit.sh
#!/usr/bin/dash
cd $HOME/Development/AcousticBrainz/acousticbrainz-client
git pull
. ./venv/bin/activate
ls "$@" | parallel --eta python2 ./abzsubmit
View addrecording.py
# -*- coding: utf-8 -*-
PLUGIN_NAME = u"Add Track As Recording"
PLUGIN_AUTHOR = u"Freso, Lukáš Lalinský, Philip Jägenstedt"
PLUGIN_DESCRIPTION = ""
PLUGIN_VERSION = "0.1"
PLUGIN_API_VERSIONS = ["1.0.0"]
from picard import log
#from picard.metadata import register_file_metadata_processor
@Freso
Freso / mopidy.service
Created Nov 12, 2013
Place in `~/.config/systemd/user` and enable it using `systemctl --user enable mopidy`.
View mopidy.service
[Unit]
Description=mopidy
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/mopidy
[Install]
WantedBy=default.target
You can’t perform that action at this time.