You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Executable Machine Code at Runtime - Windows
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
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
How to remap your mod to include Forge's 1.19 renames
How to remap your mod to include Forge's 1.19 renames
Forge versions 41.0.64 and 41.0.94 for Minecraft 1.19 together bring a large overhaul to rendering along with general renames to many older fields, methods, and classes that were previously based on MCP names.
Together, these changes have broken almost all mods written for any older versions of Forge 1.19 or lower.
However, the Forge team has created a tool to aid modders in automatically remapping their mods to be in line with the renames.
This tool has been designed with the future in mind.
This means you should be able to use it starting from any Minecraft/Forge version (on FG5) on the way to porting to any future Minecraft/Forge versions (1.19+ / 41.0.94+).
Note: This does not port your mod for you. However, it greatly helps in automating parts that would otherwise be tedious.
Convert BitWarden JSON export file to Apple iCloud Keychain CSV import file saving TOTP and notes
BitWarden to Apple iCloud Keychain passwords converter
This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.
You need to know:
It ignores secure notes, credit cards and other types that are not passwords.
It ignores BitWarden entries without usernames, passwords and URLs.
It also ignores URLs that do not start with http:// or https://.
It normalizes all TOTP tokens, e.g. wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2 will be converted to otpauth://totp/example.com:dude@foo.bar?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30.
Forge version 1.18.2-40.0.18 introduced some changes to how custom registries and tags work to support Mojang's new universal tag system.
The differences between tags in 1.18.1 and 1.18.2 were great enough to warrant breaking changes in Forge where necessary.
Enabling tags for custom registries
For simplicity, custom Forge registries are opt-in for universal tags.
To enable tags for a registry, call RegistryBuilder#hasTags().
This tells Forge to run the necessary setup to allow tags for a custom registry.
Tag-enabled forge registries will be registered to the root registry in Registry to promote as much compatibility with vanilla systems as possible.
The Game Test Framework is a powerful tool provided by Mojang that is included with Minecraft in 1.17 and up.
It allows you to declare game tests that can be run inside a Minecraft world and provide a success or fail state.
Game tests are similar in concept to unit tests, but they allow you to interact with a running instance of Minecraft.
This means you can test block interactions, entity interactions, item functionality, etc.
Game tests use template structures to define the dimensions of the test and what blocks and entities will start in the test structure.
This framework has useful applications for Continuous Integration (CI) and testing during development to ensure features are working as expected.
For a more in-depth explanation about the Game Test Framework itself and how Mojang uses it to test the base game, please see this video with contributions by Dinnerbone.
This guide is tailored towards Forge modders by expla
Python script to send mail via Apple's iCloud. Be sure to setup an app specific password for and do not use or expose your iCloud password. https://support.apple.com/en-us/HT204397
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
Grokking the coding interview equivalent leetcode problems
GROKKING NOTES
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
Multi-Hand Tracking via Live Webcam on CPU on Desktop: Shows how to extract landmarks on desktop.
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