Skip to content

Instantly share code, notes, and snippets.

Avatar
🔁
Everything that, in happening, causes itself to happen, happens again

Ibraheem Ahmed ibraheemdev

🔁
Everything that, in happening, causes itself to happen, happens again
View GitHub Profile
View # Interior Mutability in Rust: Understanding The Cell Type.md

The code for Interior Mutability in Rust: Understanding The Cell Type

Today we are going to be talking about smart pointers and interior mutability, specifically, the Cell type. Cell is a type that you come across frequently in Rust programs that it can help to have a deeper understanding of what it is and how it works. One of the best ways to understand Cell and the fundemental concepts behind its implementation is to actually write it yourself. So that is what we are going to do!

View # Golang Global Configuration Files.md
View # Rust Global Configuration Files.md
View matchit.as
matchit::foo:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 360
mov rax, qword, ptr, [rip, +, .L__unnamed_27]
xorps xmm0, xmm0
View moby-dick.txt
This file has been truncated, but you can view the full file.
The Project Gutenberg eBook of Moby-Dick; or The Whale, by Herman Melville
This eBook is for the use of anyone anywhere in the United States and
most other parts of the world at no cost and with almost no restrictions
whatsoever. You may copy it, give it away or re-use it under the terms
of the Project Gutenberg License included with this eBook or online at
www.gutenberg.org. If you are not located in the United States, you
will have to check the laws of the country where you are located before
using this eBook.
View # Simple Yet Powerful Struct Validations In Go Without Reflection!.md
View # Ruby Interview Question: Most Common N Page Path.md

You are given a file named 'paths.txt'. Each line in the file represents a user's browsing history in a web session. The task is to find the most common N page path in 'paths.txt'.

The code for Ruby Interview Question: Most Common N Page Path