Skip to content

Instantly share code, notes, and snippets.

View embeddedt's full-sized avatar

embeddedt

  • 06:28 (UTC -04:00)
View GitHub Profile
@embeddedt
embeddedt / tips.md
Created August 1, 2021 00:24
Tips when experiencing errors while modding for FabricMC

net.minecraft classes missing after switching Minecraft versions in Gradle configs

Run the following commands for Linux. These will need to be adapted for other OSes.

$ rm -rf ~/.gradle/caches/fabric-loom/
$ ./gradlew --refresh-dependencies build

This seems to force Loom to do the decompilation process again which fixes the issue.

@embeddedt
embeddedt / lv_file_browser.c
Created July 6, 2020 12:03
Incomplete file browser implementation for LVGL
#include <lvgl/lvgl.h>
#define BROWSE_DRV_LETTER "C"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
@embeddedt
embeddedt / hello_world.py
Created June 23, 2019 21:10
Hello world in Python
print("Hello world")