Skip to content

Instantly share code, notes, and snippets.

@skierpage
skierpage / roon_server_on_Fedora_not_as_root.md
Last active January 22, 2024 18:02
Installing Roon Server on Fedora Linux _not_ as root

I just installed Roon Server on my laptop running Fedora 37 Workstation as a separate roon user instead of the security insanity :crazy_face: of the default Linux which installs and runs as the root user. I did this before, it went a little smoother this time. Here are my notes, they extend Roon's own Installing Roon on Linux documentation.

Disclaimer 1! If these commands don't make sense ("do I enter the '%'?" "what is sudo?"), then don't follow this, and take the risk by running the Easy install. Disclaimer 2 This is an edited version of what I did omitting all the false starts and failed commands. I didn't QA these by uninstalling and reverting everything and starting again from scratch following my own instructions.

Dependencies

I had them all installed already, but this should work in Fedora:

% sudo dnf install ffmpeg alsa-lib cifs-utils
% dnf --cacheonly --installed info glibc
@skierpage
skierpage / roon-server.xml
Last active July 24, 2023 20:12
Firewalld rule for Roon server
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Roon Server</short>
<description>Roon Server from Roon Labs plays music according to instructions from Roon Controllers</description>
<!-- per https://community.roonlabs.com/t/connection-failed-and-chromecast-issues-roon-using-new-additional-network-ports-since-880/181528/18 -->
<!-- unclear if necessary: port protocol="tcp" port="8008-8009"/ -->
<port protocol="udp" port="9003"/>
<port protocol="tcp" port="9330-9339"/>
<port protocol="tcp" port="30000-30010"/>
<!-- unclear if necessary: port protocol="udp" port="32768-65535"/ -->
@skierpage
skierpage / fedora workstation vision TYPOS.md
Last active September 29, 2021 23:20
typos in uraeus's excellent "Fedora Workstation: Our Vision for Linux Desktop" post

You write so eloquently that the few typos stand out.

Title should be "Our Vision for the Linux Desktop"

"took a good look at the operating system from an overall stance" Just say operating system overall instead of mixing metaphors. Your stance is your attitude towards something, not so much how you look at things.

"we decided that was to narrow a wording as our efforts are ..." : that should be "too narrow" and use a comma and something less ambiguous than "as," → we decided that was too narrow a wording, since our efforts are ...

"used in Red Hat first foray into image based operating systems" → Red Hat's first foray. Also hyphenate multi-word phrase for clarity → image-based operating systems. More hyphenation "a fast moving OS" → fast-moving,

@skierpage
skierpage / MSEInstall URL.md
Created April 30, 2021 22:16
Microsoft Security Essentials for Windows Vista URL
@skierpage
skierpage / gerrit_gitblit_rewrite
Created June 25, 2013 04:49
Apache mod_rewrite directives to change gitweb URLs to gitblit URLs
RewriteEngine on
# Rewrite old gerrit gitweb URLs to work with new git.
# Here are some sample URLs that need to continue to work
# https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Agora.git;hb=HEAD;
# https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob_plain;f=languages/messages/MessagesEn.php;hb=HEAD
# https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/examples.git;hb=HEAD;f=BoilerPlate/README;
# https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/ArticleFeedback.git;hb=HEAD;f=modules/jquery.articleFeedback/images/star-new-down.png;a=raw;
#
# Notes
# 1. gitblit requires URL-encoding (%2F) of the slashes in the matched
@skierpage
skierpage / load_all_ResourceLoader.js
Last active December 14, 2015 07:49
Force every remaining ResourceLoader module to load. Your window will look weird but you may spot a JavaScript error.
mw.loader.getModuleNames().filter(
function (module) {
var state;
if ( mw.loader.getState( module) === 'registered' ) {
try {
mw.loader.load( module );
} catch (exception) {
console.log ( "Module", module, 'had exception', exception);
}
}
@skierpage
skierpage / test_mediawiki.wiki
Last active October 29, 2015 22:37
Test mediawiki format

GitHub will happily render this file containing MediaWiki-format wikitext. But its online editor (ACE?) does not do syntax higlighting as I edit this.

Headings work

This is italic and bold

A horizontal rule


  • URL link
  • <-- this wiki link doesn't work.

@skierpage
skierpage / doc_hooks.md
Created March 18, 2015 05:43
MediaWiki core's docs/hooks.txt treated as markdown

hooks.txt

This document describes how event hooks work in MediaWiki; how to add hooks for an event; and how to run hooks for an event.

==Glossary==

event Something that happens with the wiki. For example: a user logs in. A wiki page is saved. A wiki page is deleted. Often there are two events