Skip to content

Instantly share code, notes, and snippets.

View marioabz's full-sized avatar
🏠
Working from home

Mario Briseño marioabz

🏠
Working from home
View GitHub Profile
@marioabz
marioabz / learn.md
Created October 4, 2024 23:54 — forked from rylev/learn.md
How to Learn Rust

Learning Rust

The following is a list of resources for learning Rust as well as tips and tricks for learning the language faster.

Warning

Rust is not C or C++ so the way your accustomed to do things in those languages might not work in Rust. The best way to learn Rust is to embrace its best practices and see where that takes you.

The generally recommended path is to start by reading the books, and doing small coding exercises until the rules around borrow checking become intuitive. Once this happens, then you can expand to more real world projects. If you find yourself struggling hard with the borrow checker, seek help. It very well could be that you're trying to solve your problem in a way that goes against how Rust wants you to work.

@marioabz
marioabz / oct1-24-lvls.pine
Created October 1, 2024 04:44
Oct 1 levels
//@version=5
indicator("Resistances and Supports", overlay=true)
// Approximation: 252 trading days in a year
extend_bars = 1000
// Resistances (Updated)
resistances = array.new_float()
array.push(resistances, 5795)