daily log 10.29.20

less than 1 minute read

TIL MONGO / MONGOD:

  1. MacOS on catalina doesn’t let you write to the /usr directory
  2. Homebrew installation of mongo is suggested
  3. Adding aliases into .zshrc file lets us still use the same commands

See THIS for details

Can’t find dbs?

More help here

CURRENT PROJECTS:

  1. CM – catcart (umjs-ecomm-catcart, personalposher, personalposherLIVE, personalposher-backend)
  2. FEM – rockpaper
  3. UJS – CURRENT: rewriting selection sort until I can do it eyes closed YESTERDAY: Anki studying 25 min. PREVIOUSLY: UJS Selection Sort BACKLOG (Firecode/Leetcode/System Design)
  4. RecipeScraper (maybe daniel?)

SELECTION SORT:

The comparisons


function ss(arr){
    for (var i=0;i<arr.length;i++){
        for (var j=i+1;j<arr.length;j++){
            console.log(i,j)
        }
    }
}

var myArray = [12,11,4,6,5]

ss(myArray)