Blog
-
Sharing dom4j Proguard Rules Configuration
Preface
Users reported that UpgradeAll's F-Droid configuration couldn't be parsed. Checking logs revealed dom4j-related errors. However, debugging couldn't reproduce the issue - it only occurred in release builds with obfuscation.
Troubleshooting
-
Displaying Only Dotfiles with exa
exa is a replacement for the ls command, designed to provide a more user-friendly and colorful interface, similar to what bat aims to achieve.
Background
After briefly trying exa, I decided to alias it to replace ls for a trial period. Then I discovered that the
ls -al --ignore="[^.]*"command couldn't be directly replaced since exa doesn't have an ignore parameter. -
Pipewire: Send Audio to Multiple Devices
Today I wanted to listen to music with a friend. After connecting their Bluetooth headphones to my computer, I noticed the KDE interface only allows setting one audio output port. Remembering my previous experience with Steam Link, I decided to use Pipewire to achieve this functionality.
References:
- Find audio devices
$ pw-link -o Midi-Bridge:Midi Through:(capture_0) Midi Through Port-0 v4l2_input.pci-0000_00_14.0-usb-0_6_1.0:out_0 alsa_output.pci-0000_00_1f.3.analog-stereo:monitor_FL alsa_output.pci-0000_00_1f.3.analog-stereo:monitor_FR alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FL alsa_input.pci-0000_00_1f.3.analog-stereo:capture_FR easyeffects_sink:monitor_FL easyeffects_sink:monitor_FR easyeffects_source:capture_FL easyeffects_source:capture_FR ee_soe_output_level:output_FL ee_soe_output_level:output_FR ee_soe_spectrum:output_FL ee_soe_spectrum:output_FR ee_soe_equalizer:output_FL ee_soe_equalizer:output_FR ee_soe_convolver:output_FL ee_soe_convolver:output_FR ee_sie_output_level:output_FL ee_sie_output_level:output_FR ee_sie_spectrum:output_FL ee_sie_spectrum:output_FR Audacious:output_FL Audacious:output_FR steam:output_FL steam:output_FR bluez_output.84_AB_26_A6_8A_6A.a2dp-sink:monitor_FL bluez_output.84_AB_26_A6_8A_6A.a2dp-sink:monitor_FR -
DP-3T: A Privacy-Preserving "Health Code"
People always choose and believe in explanations and solutions that align with intuition, which leads to mediocrity.
DP-3T, a privacy-preserving contact tracing software, is like a health code.
The health code, designed from an omniscient perspective to "protect" everyone, almost inevitably leads to Big Brother scenarios.
-
Steam for Linux no sound when streaming
When I use Steam Link to play my game which is running in my ArchLinux PC, I find steam only catch microphone and ignore the sound output of PC. (Fixed on my ArchLinux PC at 2022-09-15)
Github Issue: [Remote Play] No sound when streaming #6606
-
Range Sum Query 2D
Problem URL: https://leetcode.com/problems/range-sum-query-2d-immutable/
Dynamic programming solution for matrix range sum queries
-
Find First and Last Position of Element in Sorted Array
Problem URL: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
Essentially a binary search problem, searching for the start and end positions
-
Modifying the Parent Commit of a Historical Commit
Half a year ago, when merging the hotfix branch, the merge direction was reversed, causing the hotfix branch to become the new main branch. There was no solution at the time, but today I revisited the issue and attempted to fix it.
-
ArchLinux Configuration Guide
This is a navigation page that records my configuration process. You can follow the page order for setup or just search for specific information.
-
Playing NieR:Automata on Linux
This guide uses NieR:Automata running on Steam as an example, with Intel + Nvidia hardware platform.
Generally speaking, most Windows games can be run through wine.
This article is part of the ArchLinux Configuration Guide.
Of course, you can also read it separately.