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
#!/usr/bin/env bash | |
# switch to ssh directory in root | |
cd ~/.ssh | |
# generate ssh key named github if it does not exist | |
if [ ! -f ./github ]; then | |
echo "please name your file github" | |
ssh-keygen -t rsa | |
fi |
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
import React, {PureComponent} from 'react'; | |
/** | |
* 0. I am great. Loving this technical assessment. | |
* Though someone posted some solutions in the gist comments. So maybe consider posting a new one? | |
*/ | |
/** | |
*4. If we wanted to sync the dropdown selection to a server with this hypothetial "syncing library" | |
`app.sync('PATCH', 'users/'+app.USER.id, { dropdown_1_state: {true,false} })` where would this be included? Should |
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
// Basic Types | |
let id: number = 5 | |
let company: string = 'Traversy Media' | |
let isPublished: boolean = true | |
let x: any = 'Hello' | |
let ids: number[] = [1, 2, 3, 4, 5] | |
let arr: any[] = [1, true, 'Hello'] | |
// Tuple |