Pairin results below
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
## Let's set up our dotfiles | |
### Part 1: Set up your dotfile repository | |
1. cd to your root directory (cd) | |
2. create a dotfiles directory (mkdir dotfiles) | |
2.5 run (git init) to initialize it as a git repository | |
3. run either a (touch .zsh_profile.zsh) file or a (touch .bash_profile) file | |
- zsh/bash depends on your shell. run (echo $SHELL ) in order to find out what shell you have | |
- if you already have a {zsh,bash}_profile file in your root directory, copy over the contents |
UserRepository stores all User-related objects in an array.
On load it will be the catalyst for all methods (pulls ID from somewhere)
-
let allUsers = new UserRepository(userData)
-
let currentUser = returnUserData(ID)
This gist contains a short assignment I'd like everyone to complete before our formal lesson. The prework involves reading some of the React Router documentation, and will allow us to keep the lesson more hands on.
- Fork this gist
- On your own copy, go through the listed readings and answer associated questions
- Comment a link to your forked copy on the original gist
We agreed that utilizing the slicing feature on the drawImage()
canvas method would allow us to split our image into segmented pieces
to be interacted with by the user. Below are the documented decisions that were made in the initial steps of this process
- Initial attempt was to target html
ref="canvas"
and utilize accordingly as is traditionaly done in vanilla JS, this threw the below error from React
- Second attempt will be to utilize
useRef()
orcreateRef()
as recommended above