Skip to content

Instantly share code, notes, and snippets.

View m1nicrusher's full-sized avatar
🐧
Fedora 40 on Dell XPS 17

Stephen Zhang m1nicrusher

🐧
Fedora 40 on Dell XPS 17
View GitHub Profile
@m1nicrusher
m1nicrusher / ConfigHowdy.sh
Created November 9, 2022 14:23
Config Howdy for Fedora 36 using GNOME
# !/bin/bash
# Reference: https://copr.fedorainfracloud.org/coprs/principis/howdy/
# sudo required
if ! [ $(id -u) = 0 ]; then
echo "Root privilege is needed. Please rerun the script as root." >&2
exit 1
fi
SUDO_CFG="/etc/pam.d/sudo"
@m1nicrusher
m1nicrusher / bluetoothdoubledipping.md
Created September 18, 2023 11:26 — forked from diffficult/bluetoothdoubledipping.md
Bluetooth Pairing one device on Dual Boot of Windows & Linux - Stop having to Pair Devices

Bluetooth Pairing one device on Dual Boot of Windows & Linux - Stop having to Pair Devices

test You may have experienced when dual booting that you need to re-pair your bluetooth devices (ie., Headphones, mouse, keyboard, etc) this usually happens because you have already paired the device with another operating system using the same bluetooth adapter when dual booting (either Linux or Windows).

Some devices cannot handle multiple pairings associated with the same MAC address (ie., bluetooth adapter). As per suggested on the ArchWiki you can fix this by re-pairing the device each time, but there's actually another solution to not do so each time you choose to use your device on a different OS.

How can we accomplish this?

Easy, just pair the device on a OS and copy the bluetooth keys generated to the other OS so our device doesn't notice the difference.

@m1nicrusher
m1nicrusher / solution.md
Created July 5, 2024 11:27
关于 同花顺 iFinD 数据接口 Linux 版 无法安装提示 FileNotFoundError: [Errno 2] No such file or directory 的解决方案

确保你复制了整个bin64文件夹到/lib目录下,然后确保目录/usr/local/lib/python{版本}/site-packages存在,不存在创建即可。