Skip to content

Instantly share code, notes, and snippets.

View Garrett-Iannuzzi's full-sized avatar

Garrett Iannuzzi Garrett-Iannuzzi

View GitHub Profile
# Typescript Overview
## Why TS?
JavaScript is notoriously lenient in its loosely typed structure which
can cause unexpected bugs that are difficult to track down. TypeScript solves
this problem by throwing an error at compile time when defined types don't match
what is being passed around.
This also eliminates the need for boilerplate tests that simply verify that a function/component receives a prop or argument of the expected type and returns the expected type of value (or lack thereof).
@Garrett-Iannuzzi
Garrett-Iannuzzi / git2_0.md
Last active February 6, 2020 18:58
git 2.0
  • The command I will use on a daily basis form here on out is git rebase because I would like to be familiar with this workflow incase my future employer uses it.
  • Rebasing will re order your commit log in order to keep it more percise. The workflow is a lot similar but once you have a new feature you are ready to push you git pull --rebase origin master
  • We could use git stash when we want ignore the changes we made and checkout of that branch.
  • Git reset is about updating your branch, moving the tip in order to add or remove commits from the branch. This operation changes the commit history. --soft does not touch the index file or the working tree at all. --hard Resets the index and working tree.
@Garrett-Iannuzzi
Garrett-Iannuzzi / palette-picker.md
Last active February 3, 2020 21:25
Palette Picker

Group Member Names: John Adams and Garret Iannuzzi

Project: Palette Picker

Goals and Expectations for the Project (What does each group member hope to get out of this project? What do we want to achieve as a team? How will we know that we're successful?):

  • Finsih all requirnments
  • Learn BE testing
  • Further understanding of complete CRUD endpoints
  • Use two repos
@Garrett-Iannuzzi
Garrett-Iannuzzi / Do-The_Thing.md
Last active April 1, 2020 15:33
Do-it-do-it-now

Do the thing

  1. In the terminal run: npx create-react-app NAME-OF-APP
  2. Cd into the new directory: cd NAME-OF-APP
  3. Run: npm install.
  4. You can run npm start to see if the app was set up correctly.

Project: Rancid Tomatillos

Group Member Names:

  • Scott Ertmer, Trisha Langlois and Garret Iannuzzi

Goals and Expectations for the Project (What does each group member hope to get out of this project? What do we want to achieve as a team? How will we know that we're successful?):

  • Scott: nested fetch, testing
  • Trisha: testing, Redux
  • Garrett: Redux, testing, nested fetch
  • Defining success for us will be imporving our knowledge of the learning goals...

Adding, Looping, & Removing

You are given an array of people that live in a neighborhood. You should have two functions, one that is able to add families to the neighborhood and another that is able to remove them based on the number passed through.

Ex:

var neighborhood = ['Addams Family', 'The Jetsons', 'The Simpsons', 'Full House'];
addFamily(neighborhood, 'The Griffins');

Our answer would be:

Gear Up

  1. What role does empathy play in your life and how has it helped you?

    • Empathy has played a pretty large roll in my life. Growing up I didn't have much, it wasn't till later that we became a little more lucky. I feel this gave me a pretty good sense of understanding, never taking anything for granted. My parents also raised me to be accepting of all people, that played a big roll in my life because it helped me develop good social skills, I could always talk to anyone.
  2. How does empathy help you build better software?

    • It helps you because you need to understand that you are not always designing something for yourself. What you create may be used by millions of people, all of which are different. You need to take into account what they need, and learn how to make them feel included as well. In turn this will make your software better.
  3. Why is empathy important for working on a te

@Garrett-Iannuzzi
Garrett-Iannuzzi / pd_prework.md
Last active April 25, 2019 17:51
pd_prework

Professional Development

Please respond to the following questions in a reflection (4-6 sentences):

What is your greatest strength and how do you know? How do you work best? What is your greatest area of improvement? How do you hope to maximize your strengths for your new career in software development? How might knowing about your strengths and working preferences benefit you as a software developer?

Session 4 Practice Tasks

The assignments listed here should take you between 1.5 and 2 total hours.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.
@Garrett-Iannuzzi
Garrett-Iannuzzi / beginners_guide_to_git.md
Last active April 14, 2019 20:15
Beginners Guide to Git

Intro to Markdown:

Smaller headings use more #'s (1-3)...

(remember to use .md on the file extention)

To make a numbered list you must use a "1" before each item on the list. MD will know what to do. (remember to inculde a space between 1. and the item)

Example: A list of my favorite drinks from 1-5...

  1. Wine