This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* Display a Pascal Triangle | |
* | |
* @param {number} numRows Number of rows to display | |
*/ | |
const displayPascalTriangle = function (numRows = 0) { | |
if (numRows < 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**This will be used for Module 2.1, 2.2 and 2.3. Bookmark your copy of this doc for upcoming assignments** | |
MODULE 2.1: EVENT PLANNING | |
Event #1: https://www.meetup.com/Web-Dev-Office-Hours/events/256421911/?rv=cr1&_xtd=gatlbWFpbF9jbGlja9oAJGQxMjI0ZmY4LWMwYjItNDJjMS1hMzU2LWEwYzM5YWE1ZmM0YQ&_af=event&_af_eid=256421911 | |
What: Web Dev Office Hours: All about JavaScript | |
Where: Kups Kafe, Duluth | |
When: 8pm-10pm (every week) | |
Goals: Meet, Connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[x] 483px horizontal scroll | |
decrease max width of "crooked card" | |
[x] Tests ??? | |
While you have terrific validation and error-handling in place - I do not | |
see any tests written for client or server. | |
Client Tests: (stored alongside each component as *.spec.js) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Which database tables are created in the migrations? | |
user, language, word | |
What are the endpoints for user registration, login and refresh? | |
/api/auth/token, /api/user | |
What endpoints have been implemented in the language router? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scribblez - A new way to share notes with your friends. | |
This is a social note-sharing site not dissimilar to Twitter. What I find | |
interesting about this project is the sharing model I plan to implement. | |
Note Sharing | |
- Users can create custom groups of users for example "Family" or | |
"Work Friends" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should the client or the server take more security precautions? | |
The server is the ultimate protector of data | |
What's the difference between local storage and session storage? | |
local storage lives forever until deleted, session storage live until the browser tab is closed. | |
What problem does a JWT expiry time solve? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Database administrative login by Unix domain socket | |
local all postgres peer | |
# TYPE DATABASE USER ADDRESS METHOD | |
# "local" is for Unix domain socket connections only | |
local all all trust | |
# IPv4 local connections: | |
host all all 127.0.0.1/32 trust | |
# IPv6 local connections: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE ROLE dunder_mifflin_admin; | |
CREATE DATABASE bookmarks OWNER dunder_mifflin_admin; | |
-- USE bookmarks --- | |
CREATE TABLE bookmarks ( | |
id INTEGER primary key generated by default as identity, | |
title text NOT NULL, | |
url text NOT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Log into psql using peer-authentication | |
sudo -u postgres psql | |
--- | |
Set the default password for the postgres user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Repo: https://github.com/thinkful-ei-armadillo/ethan-robert-quiz-app | |
Live Demo: https://thinkful-ei-armadillo.github.io/ethan-robert-quiz-app/ |
NewerOlder