-
install libevdev:
pip install libevdev
-
open rnote (or xournal++)
-
run
python ./run.py
-
Cursor should move the the rnote window and the rnote window will be killed.
- If the cursor doesn't end up on the rnote window, tweak the
ABS_X
andABS_Y
values in the code until you hit the right spot.
- If the cursor doesn't end up on the rnote window, tweak the
-
If you get a permission error try running as root. It needs write access to
/dev/uinput
to send the input events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"output": { | |
"blocklist": [], | |
"equalizer": { | |
"balance": 0.0, | |
"bypass": false, | |
"input-gain": 0.0, | |
"left": { | |
"band0": { | |
"frequency": 146.0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# either run this script to trigger the update, or copy the function below to your .bash/.zshrc and run with `asdfUpdateAll` | |
# the function also supports `--yes` to disable confirmation for updating a plugin. | |
asdfUpdateAll() { | |
if ! asdf > /dev/null; then | |
echo "Something went wrong when running 'asdf'" | |
return 1 | |
fi |
Getting Midi over Bluetooth (MoB) to work together with Bitwig under Ubuntu 22.04 requires you to jump through a few hoops. Two main issues need to be navigated around:
- The ubuntu userspace bluetooth driver does not have midi enabled
- Bitwig only accepts hardware Midi devices, while MoB creates a software midi device
Fixing the first requires us to build bluez from scratch and enable the midi functionality as a compiler flag: https://tttapa.github.io/Pages/Ubuntu/Software-Installation/BlueZ.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"output": { | |
"blocklist": [], | |
"equalizer": { | |
"balance": 0.0, | |
"bypass": false, | |
"input-gain": 0.0, | |
"left": { | |
"band0": { | |
"frequency": 65.0, |
This short guide shows you how to setup the e2e tests on your local machine. We won't go into detail on how all of the e2e stuff works, as this is covered in great detail in the osde2e documentation itelf. Instead, i'll just focus on the steps I took to get them running locally, without too many tangents.
- Fork and clone the osde2e test repo: gh.com/openshift/osde2e
- Make sure you have an osd cluster ready
golang
version 1.16+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tmpfile="$(mktemp)" | |
# Make sure the temp directory gets removed on script exit. | |
trap "exit 1" HUP INT PIPE QUIT TERM | |
trap rm -rf EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
set -euo pipefail | |
monitoringPodList="$(oc -n openshift-monitoring get pods)" | |
firstDelete=( | |
"openshift-monitoring/alertmanager-main-0" | |
"openshift-monitoring/prometheus-k8s-0" | |
"openshift-monitoring/$(echo "$monitoringPodList" | grep "grafana" | awk '{print $1}')" | |
"openshift-monitoring/$(echo "$monitoringPodList" | grep "telemeter-client" | awk '{print $1}')" |
NewerOlder