Skip to main content

Recently Updated Pages

References and Borrowing

Rust Rust Programming Language

Ownership Rust has it's own way of managing memories that are allocated on the heap. Unlike C, w...

Updated 3 years ago by Tamarine

Command substitution vs Process substitution

Bash Shell

https://unix.stackexchange.com/a/393352

Updated 3 years ago by Tamarine

Variables, types, mutatbility, functions, and control flow

Rust Rust Programming Language

Variables By default variables are immutable in Rust. Once you assign a value to it you cannot c...

Updated 3 years ago by Tamarine

Ever wonder what apt-get does underneath?

Linux General Knowledge

Shower thoughts This question came from when I was showering one day: What does apt-get or apt o...

Updated 3 years ago by Tamarine

Getting started

Rust Rust Programming Language

Hello world fn main() { println!("Hello, world!"); } The main function is always the first f...

Updated 3 years ago by Tamarine

Downloading and Installing Rust

Rust

Instructions To download and install Rust it is pretty simple. Just run the following curl comma...

Updated 3 years ago by Tamarine

CSS Max-width

NodeJs/JavaScript

Max-width This property is interesting because if you specify a max-width, the content's width w...

Updated 3 years ago by Tamarine

Parameterization and string substitution

Python

String substitution In the context of building a database query like so: CREATE TABLE fish (nam...

Updated 3 years ago by Tamarine

OAuth 2.0

NodeJs/JavaScript

Time before OAuth Before OAuth was invented, a common way to give third-party application access...

Updated 3 years ago by Tamarine

All about modules

NodeJs/JavaScript JavaScript Roadmap Journey

Two different standards In the browser JavaScript ecosystem, JavaScript modules depends on impor...

Updated 3 years ago by Tamarine

Async and await

NodeJs/JavaScript JavaScript Roadmap Journey

async keyword async keyword is placed before a function like so: async function f() { return ...

Updated 3 years ago by Tamarine

More promise API

NodeJs/JavaScript JavaScript Roadmap Journey

Promise.all This API will allow us to take in an iterable, an array of promises and return a new...

Updated 3 years ago by Tamarine

Try...catch

NodeJs/JavaScript JavaScript Roadmap Journey

Syntax try { // Code } catch (err) { // Error handling } finally { // Excuted always,...

Updated 3 years ago by Tamarine

Getters & setters

NodeJs/JavaScript JavaScript Roadmap Journey

Virtual property In addition to the normal property that we have for objects, we can also set up...

Updated 3 years ago by Tamarine

Objects and object references

NodeJs/JavaScript JavaScript Roadmap Journey

Objects In JavaScript objects are used to store key to value pair collection of data. You can th...

Updated 3 years ago by Tamarine

JSON

NodeJs/JavaScript JavaScript Roadmap Journey

JSON file When you want to transport say a complicated object or an array of object to another c...

Updated 3 years ago by Tamarine

Destructuring assignment

NodeJs/JavaScript JavaScript Roadmap Journey

Destructuring assignment A special syntax to let us unpack either array or object into different...

Updated 3 years ago by Tamarine

Map and set, weakmap and weakset

NodeJs/JavaScript JavaScript Roadmap Journey

Map Very similar to an object, however, with object the only key that is allowed is a String. Ma...

Updated 3 years ago by Tamarine

Iterables

NodeJs/JavaScript JavaScript Roadmap Journey

Iterables A generalization of arrays, it allows us to make any object iterable in the context of...

Updated 3 years ago by Tamarine

Arrays and methods

NodeJs/JavaScript JavaScript Roadmap Journey

Array Two ways of creating empty array let arr = new Array(); let arr = []; Create an array w...

Updated 3 years ago by Tamarine