Skip to content

Instantly share code, notes, and snippets.

View MicroDevX's full-sized avatar
🎯
Focusing

Hisham MicroDevX

🎯
Focusing
View GitHub Profile
@MicroDevX
MicroDevX / gist:79bb6c52f51b619219c3f3638b8f31ab
Created October 4, 2026 22:29
explorer / treeview to Helix, using Yazi and Tmux
Hey everyone 👋
I just published a new repository on GitHub to bring a sidebar file explorer / treeview to Helix, using Yazi and Tmux:
🔗 https://github.com/MicroDevX/TreeView-for-helix
Check it out and let me know what you think!
@MicroDevX
MicroDevX / rust_ownership_demo.rs
Created January 2, 2026 21:53
Hello, Memory Safety
fn main() {
let s1 = String::from("hello");
let s2 = s1; // s1 is "moved" to s2 here
// println!("{}", s1);
// ^ Un-commenting the line above would cause a compile error!
// This prevents "double-free" memory bugs.
println!("{}", s2); // This works perfectly.
}