Skip to content

Instantly share code, notes, and snippets.

View Maximetinu's full-sized avatar
🌔
🔭

Miguel Medina Ballesteros Maximetinu

🌔
🔭
View GitHub Profile
/* Numerically solve for the time-dependent Schrodinger equation in 2D,
using the split operator method. To build and run, type:
rustc qm2d_split_op.rs
./qm2d_split_op
This will output a series of bmp images which show each frame of the
simulation.
References:
@Maximetinu
Maximetinu / crashd.md
Created November 11, 2023 14:49 — forked from throwaway96/crashd.md
crashd instructions

News

Note: Alternative to crashd (2023-10-30)

If for whatever reason you are unable to use the crashd exploit but still want to root your TV, do not install any new firmware updates. LG has started rolling out patches for another vulnerability. Further details are not yet available.

Note: 2023 models (2023-03-29)

If you have a non-OLED 2023 LG TV, please contact us on Discord. This guide will work on 2023 models.

Introduction

@Maximetinu
Maximetinu / children_colliders.rs
Last active August 15, 2023 23:58
Example for bevy_rapier to illustrate an issue that I have but haven't yet figured out how to solve
use bevy::prelude::*;
use bevy_rapier2d::prelude::*;
// use bevy_inspector_egui::quick::WorldInspectorPlugin;
fn main() {
App::new()
.insert_resource(ClearColor(Color::rgb(
0xF9 as f32 / 255.0,
0xF9 as f32 / 255.0,
0xFF as f32 / 255.0,
@Maximetinu
Maximetinu / many_materials.rs
Last active August 7, 2023 16:56
Example benchmark for Bevy 0.11 to replicate a performance bottleneck when updating too many individual materials at runtime
use bevy::{
prelude::*,
reflect::{TypePath, TypeUuid},
render::render_resource::{AsBindGroup, ShaderRef},
sprite::*,
};
use bevy_internal::{
diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin},
sprite::Material2d,
window::PresentMode,
@Maximetinu
Maximetinu / .gitattributes
Created October 27, 2021 12:22 — forked from inikitin/.gitattributes
.gitattributes for Unity with case-insensitive Git LFS extension filters
* text=auto
*.cs diff=csharp text
*.cginc text
*.shader text
# Unity YAML
*.anim -text merge=unityyamlmerge diff
*.asset -text merge=unityyamlmerge diff
*.controller -text merge=unityyamlmerge diff