A setup for remote piano lesson over Zoom

Posted on Sun 24 May 2020 in tips, IT

First create a new sink:

pactl load-module module-null-sink sink_name=zoom_input sink_properties=device.description=zoom_input

then remap into a Zoom monitor source that Zoom will allow selection of:

pactl load-module module-remap-source master=zoom_input.monitor source_name=zoom_mic source_properties=device.description="zoom_mic"

Then create as many new virtual sources as microphones you need …

Base conversion in Ubuntu (decimal to binary)

Posted on Thu 11 January 2018 in tips, linux

Need to convert a base 10 integer in a base 2 one? Or, at any rate, convert a number from one numeration system to another? In Ubuntu, the bc utility already integrates these features. It is usually already installed, so you don't have to anything special.

Simply run bc, and …

WordPress function url_to_postid not working with Anspress

Posted on Mon 23 January 2017 in wordpress, tips

With the Anspress theme/plugin, using the WordPress native function url_to_postid() on a question permalink returns the page ID of the base page. For example,

url_to_postid( "www.website.com/questions/question/this-is-the-question");

would return the page ID of the /questions page.

To get the WP question ID of this-is-the-question, use …

When YouTube pages load with no CSS: how to solve

Posted on Fri 18 November 2011 in tips, youtube

I have been unable to watch YouTube videos for a couple of months. There were some people on the Google Forums reporting the same problem, also posting screenshots, but no one seemed to be able to fix it.

Finally, checking with despair my Chrome Dev Tools, I found the problem …