Skip to content

Instantly share code, notes, and snippets.

@BXZ
BXZ / y700.md
Last active June 11, 2025 22:56
Configuring and unmuting subwoofer/LFE on Lenovo Ideapad Y700

Good news, everyone! There exists a predefined quirk in the linux kernel that we can as of version 5.15 apply to our laptops that will automatically manage the muting and unmuting of the LFE properly. For older kernel versions you'll have to use the old solution below (or patch and build the kernel driver yourself). We just have to create/edit the following files:

/lib/firmware/hda-jack-retask.fw
/etc/modprobe.d/hda-jack-retask.conf

first off the hda-jack-retask.fw file should contain the following:

@Vexs
Vexs / emoji_map_diversity.json
Last active November 14, 2023 10:48
Discord emoji mapping, now with diversity!
{
"grinning": {
"emoji": "\ud83d\ude00"
},
"smiley": {
"emoji": "\ud83d\ude03"
},
"smile": {
"emoji": "\ud83d\ude04"
},
@Vexs
Vexs / emoji_map.json
Last active April 29, 2025 08:31
Discord emoji mapping. This is a JSON file! Please load it with json. Attempting to copy-paste it directly into python will not work! For diversity, see: https://gist.github.com/Vexs/9e4c14d41161590ca94d0d21e456fef0
{
"grinning": "\ud83d\ude00",
"smiley": "\ud83d\ude03",
"smile": "\ud83d\ude04",
"grin": "\ud83d\ude01",
"laughing": "\ud83d\ude06",
"satisfied": "\ud83d\ude06",
"face_holding_back_tears": "\ud83e\udd79",
"sweat_smile": "\ud83d\ude05",
"joy": "\ud83d\ude02",