Skip to content

Instantly share code, notes, and snippets.

View FYWinds's full-sized avatar

Bill Chen FYWinds

  • Canada
  • 03:05 (UTC -04:00)
View GitHub Profile
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
Code Key
0 KEY_NONE
1 KEY_ESCAPE
2 KEY_1
3 KEY_2
4 KEY_3
5 KEY_4
6 KEY_5
7 KEY_6
8 KEY_7
@mnixry
mnixry / nonebot_guild_patch.md
Last active February 13, 2022 14:04
Patch for NoneBot2 (2.0.0a16) QQ guild support
@ChampionAsh5357
ChampionAsh5357 / 1194-120-primer.md
Last active July 22, 2024 20:35
Minecraft 1.19.4 -> 1.20 Mod Migration Primer

Minecraft 1.19.4 -> 1.20 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.4 to 1.20 using Forge.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

@cheahjs
cheahjs / README.md
Last active February 11, 2024 01:13
Converting PalWorld saves to JSON and back