Initialize Repo init
Check repo for unstaged/untracked files status
Stage/track filesadd
Commit repo- take snapshot of current statecommit
Display difference between current state and commitdiff
Display commit historylog
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
// https://www.codewars.com/kata/simple-string-indices | |
function closeParens(str, openParenIndex) { | |
let gate = 1; | |
let closeParenIndex = -1; | |
for(let i = openParenIndex + 1; i <= str.length; i++) { | |
if(str[openParenIndex] != "(") { | |
return closeParenIndex; |
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
function getLength(arr, count=0) { | |
const iter = arr[Symbol.iterator](); | |
const { done } = iter.next(); | |
if(done) { | |
return count; | |
} | |
else { |
Login to your AWS account first. If you haven't created an AWS account yet, go ahead and create one here, and then follow the steps below:
-
Upon logging in, navigate to the RDS Dashboard by searching
RDS
and clicking the first result. -
Select the following configurations:
Create database
Standard create
- Engine Options:
PostgreSQL
- Version:
10.16
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
const people = [ | |
{ name: 'Lindsay Walton', title: 'Front-end Developer', email: 'lindsay.walton@example.com', role: 'Member' }, | |
// More people... | |
] | |
export default function Example() { | |
return ( | |
<div className="px-4 sm:px-6 lg:px-8"> | |
<div className="sm:flex sm:items-center"> | |
<div className="sm:flex-auto"> |
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
const people = [ | |
{ | |
name: 'Calvin Hawkins', | |
email: 'calvin.hawkins@example.com', | |
image: | |
'https://images.unsplash.com/photo-1491528323818-fdd1faba62cc?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80', | |
}, | |
{ | |
name: 'Kristen Ramos', | |
email: 'kristen.ramos@example.com', |