Skip to content

Instantly share code, notes, and snippets.

@ross-u
ross-u / AboutPage.js
Last active July 18, 2021 15:55
m3 react routing intro starter code
import React from 'react'
function AboutPage() {
return (
<div>
<h1>About</h1>
<img src="https://media.giphy.com/media/dWkyPssovVa6Y/giphy.gif" alt="the-office-gif" width="800px" height="auto"/>
</div>
)
}
@ross-u
ross-u / mongodb_shell_commands.md
Created May 7, 2021 18:47 — forked from michaeltreat/mongodb_shell_commands.md
Quick Cheat Sheet for Mongo DB Shell commands.

MongoDB Shell Commands Cheat Sheet.

This is a Cheat Sheet for interacting with the Mongo Shell ( mongo on your command line). This is for MongoDB Community Edition.

Preface:

Mongo Manual can help you with getting started using the Shell.

FAQ for MongoDB Fundamentals and other FAQs can be found in the side-bar after visiting that link.

@ross-u
ross-u / README.md
Last active June 9, 2023 04:59
M3 - Project Setup ( 2 repos, React + Node/Express )

M3 - Project Setup (2 repos, React + Node/Express)


Getting Started

@ross-u
ross-u / README.md
Last active April 26, 2021 19:00
M2 - project setup (ExpressJS + Mongoose + Handlebars)

M2 - project setup (ExpressJS + Mongoose + Handlebars)


README

@ross-u
ross-u / README.md
Last active February 11, 2021 10:55 — forked from MartaJank/README.md
M2 - Finished Readme example

Why so Serial?

logo

Description

Search and collaborative Data Base platform for Serial Killers in which you can read info about famous Serial Killers and you can also add new killer files, edit them and delete them. 🔪 You can also add to favorites the files you like the most and have a personal diplay of those or leave comments with lots of love or suggestions for the creators. ❤️

@ross-u
ross-u / README.md
Last active February 8, 2021 07:39
Lecture - JS | Special value this (Teacher Notes)

Teacher Notes:

JS | Special keyword this


@ross-u
ross-u / README.md
Last active February 8, 2021 04:10
Lecture - JS | Special value this (student material)

JS | special value this

Learning goals:

After this lesson, you will be able to:

  • understand the purpose of special value this
  • list the rules of special value this
@ross-u
ross-u / README.md
Created February 3, 2021 07:43
Start MongoDB shell and commands

MongoDB shell and commands

Mongo shell is a CLI that we use to work with the Mongo database directly from the terminal.

Mongo shell uses JavaScript, therefore the syntax is the same as working with JS and calling methods.

@ross-u
ross-u / index.js
Created January 27, 2021 12:33
M1 Project localStorage - game score example
function saveScore(name, score) {
// Get the string data from localStorage
// Convert it to an array
const scoreStr = localStorage.getItem('score');
let scoreArr;
const newScore = { name: name, score: score };
// Add new score to the array
if (!scoreStr) {
@ross-u
ross-u / README.md
Created January 14, 2021 15:31
M1 - VSCode extensions & Prettier Setup

M1 - VSCode Extensions


VSCode Extensions: