[1,1,4,3,6,6,7].filter((number, index, arr) => arr.indexOf(number) === index)
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 sessionData = { | |
IdToken: new cognito.CognitoIdToken({ IdToken: idToken }), | |
AccessToken: new cognito.CognitoAccessToken({ AccessToken: accessToken }), | |
RefreshToken: new cognito.CognitoRefreshToken({ RefreshToken: refreshToken }) | |
}; | |
const currentSession = new cognito.CognitoUserSession(sessionData); |
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
git reset --soft HEAD~1 |
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
git diff --color-words --no-index file1.txt file2.txt |
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
git log | |
git tag -a -f v1.0 <new-commit-hash> | |
git push --tags --force |
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 S3 bucket, for example: react | |
Create CloudFront distributions with these settings: | |
Default Root Object: index.html | |
Origin Domain Name: S3 bucket domain, for example: react.s3.amazonaws.com | |
Go to Error Pages tab, click on Create Custom Error Response: | |
HTTP Error Code: 403: Forbidden (404: Not Found, in case of S3 Static Website) | |
Customize Error Response: Yes | |
Response Page Path: /index.html | |
HTTP Response Code: 200: OK | |
Click on Create |
material_ui
font: fira code enable font ligatures
General
- Tell us a little bit about yourself.
- What are some things you like to do in your free time?
- Tell us about some of the things you have built, whether personally or professionally? What tools, frameworks, databases, languages did you use?
- Do you follow an blogs or news sites? Which ones?
- What is the latest thing you learned?
- What do you want to learn next?
Javascript
- What is the difference between var, let, and const?
- install nvm
- install homebrew and launchrocket
- install webstorm, vscode, and atom
- install atlassian sourcetree
- install hyper and iterm
- install postman
- install sequel pro
.bash_profile
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
cmd + shift + . to show hidden files |
NewerOlder