Skip to content

Instantly share code, notes, and snippets.

View rahulnshah's full-sized avatar
🚀
...5...3...2...1...Blastoff!!

Rahul Shah rahulnshah

🚀
...5...3...2...1...Blastoff!!
View GitHub Profile
@bradtraversy
bradtraversy / js_linked_list.js
Last active July 20, 2025 19:42
JS Linked List Class
// Construct Single Node
class Node {
constructor(data, next = null) {
this.data = data;
this.next = next;
}
}
// Create/Get/Remove Nodes From Linked List
class LinkedList {
@amantheroot
amantheroot / dom.js
Created February 1, 2019 19:19
JavaScript DOM Manipulation cheat sheet by Traversy Media
// EXAMINE THE DOCUMENT OBJECT //
// console.dir(document);
// console.log(document.domain);
// console.log(document.URL);
// console.log(document.title);
// //document.title = 123;
// console.log(document.doctype);
// console.log(document.head);
// console.log(document.body);
@bradtraversy
bradtraversy / myscript.sh
Last active October 9, 2025 10:52
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"