Skip to content

Instantly share code, notes, and snippets.

View laurenclark's full-sized avatar
💜

Lauren Clark laurenclark

💜
View GitHub Profile
@laurenclark
laurenclark / Javascript OO Cheat Sheet
Created February 20, 2019 13:24 — forked from cklanac/Javascript OO Cheat Sheet
Javascript OO Cheat Sheet
/***********************************************************************************************************************
***********************************************************************************************************************
* CONTENTS:
* Native Object
* Object Literal
* Basic Object
* Psuedo-Class
* Self Executing/Invoking Structure
* Lazy Function
* Module Pattern
/* normal flexbox */
.flexbox .flex-container {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: flex;
}
.flexbox .flex-container.vertical {
display: -webkit-flex;
display: -moz-flex;
@laurenclark
laurenclark / index.sh
Last active April 22, 2023 16:10
Install mongodb on catalina
# copy from line 3 to 12 and paste in terminal
sudo mkdir -p /Users/$USER/mongo/db; # to ask for a password at the beginning
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"; # install homebrew
brew install wget; wget https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-4.2.1.tgz;
tar -zxvf mongodb-macos-x86_64-4.2.1.tgz;
cd mongodb-macos-x86_64-4.2.1;
sudo cp ./bin/* /usr/local/bin/; sudo ln -s ./bin/* /usr/local/bin/;
cd ..; rm -rf mongodb-macos-x86_64-4.2.1 mongodb-macos-x86_64-4.2.1.tgz;