Skip to content

Instantly share code, notes, and snippets.

View cammac60's full-sized avatar

Cameron MacRae cammac60

  • Denver, CO
View GitHub Profile
@cammac60
cammac60 / XSS.md
Created March 2, 2020 01:15
Differentiation Assignment

I chose to research cross site scripting (XSS) because I have an interest in web security and I believe that it's very important for any dev to be informed on how their software could be exploited and how they can prevent it. Coming into this I have some knowledge on the basics of XSS works and some of the methods that developers implement to prevent it, such as "escaping" inputs. I also know that XSS is one of the most common attacks (along with SQL injection) so I think it's a relevant place to start learning basic web security. I'm hoping to learn more methods for preventing XSS so that I can make sure I'm doing everything I can to prevent it from happening to any software I work on - especially when I start a job and create more complex apps that might have some real world impact.

I think it's most important to understand how these attacks occur so that I can develop a deeper understanding of the ways I can prevent them. The other important thing to understand is how powerful these attacks can be be

Calendar

image

Short Answer Responses

  1. Why do you want mentoring in the job search? I've struggled with my confidence in my time at Turing and I think it would be very helpful to have someone that is willing to help me feel more confident and prepared going into interviews. I also know that my mentor is someone who has been in the same position at me during some point in their career so I think they would be able to give me a lot of advice that will be helpful in my job search.

  2. How will you hold yourself accountable to balancing time for your job search and following your mentor and group's advice? I will create a well thought out schedule and hold myself to it as much as possible to ensure that I'm actually following through. I will also be really honest with my mentor and my group and tell them when I'm struggling to do something (be it cold outreach, meetups, ect.) so that they can

@cammac60
cammac60 / Creating-a-React-app.md
Last active January 15, 2020 04:17
React w/ Jest, Router, Redux

Creating a React App

  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.

Setup Redux

  1. npm i redux react-redux redux-devtools-extension -S

What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches?

  • We all prefer a mix of both. We will split some work up but work together to solve any complicated problems.

How do you communicate best? How do you appreciate receiving communication from others?

  • As long as it's direct and in a constructive manner we will all be okay with it.

How would you describe your work style?

  • We are all independent workers but we can come together to solve tougher problems and to share ideas.

What are each of our strengths? How can our strengths complement each other?

1. This project is a site that displays information about the Star Wars franchise characters and movies and allows a user to favorite characters/view their favorites. It was built primarily to practice and learn the React framework and served as an introduction to some of the main concepts and methods of the framework for me and my project partner.
2. On a team I typicaly take on a leadership role in terms of technical thinking an planning. I am confident in my ability to think through complex problems, weight positives/negatives of different sollutions, and help my team work together to think things through and come up with the best sollution.
3. If I have been stuck on a coding problem for a while I will first do a little bit more research/googling. I will see if I can find an answer online or see if I can use the answer to a simillar problem. If I feel like I have thouroughly researched the issue and still haven't found a sollution or come to any realizations about what is causing the issue I will start

What have you learned about the use of agile vs. waterfall in software projects?

I have learned that there are some advantages to each but overall agile is the more often used method because it has the ability to be much more dynamic. This means that changes can be made quickly and on the fly rather than having to completely restart certain portions of the work for minor changes

How did you and your group approach project management in this project (what tools did you use, how did you hold each other accountable, etc.)?

Our group used a kanban board to help us keep track of what needed to be done and who was doing what. During the build out of our functionality we used a "divide & conquer" style to get small chunks of the code written at a time. When we convened again we would help eachother work through problems or alter our code to fit with other changes. We held eachother acountable by all agreeing on who would work on which portions and being honest with eachother if we coudln't get our share

Object: Things Fall Apart
Attributes:
number_of_pages 209
author "Chinua Achebe"
hard_cover false
Methods:
calculate_pages_remaining 209 - 100 = 109
calculate_read_time 100 * 1 = 100
Class: Book
Attributes:
number_of_pages (integer)
number_of_chapters (integer)
author (string)
hard_cover (boolean)
pages_read (integer)
Methods:
@cammac60
cammac60 / gist:d49ed07c78fdd0583a65789bfc6a7f52
Created July 10, 2019 01:10
Top_Down_Design_Example_Start_Fire.txt
1 starting a campfire
1.1 gather supplies
1.1.1 gather wood
1.1.1.1 split wood
1.1.2 gather tinder
1.1.3 get lighter
1.1.4 gather rocks
1.2 make firepit
1.2.1 find a safe area
1.2.2 clear a spot
@cammac60
cammac60 / mod_0_session_4_practice_tasks.md
Last active August 6, 2022 21:14 — forked from rwarbelow/mod_0_session_4_practice_tasks.md
Mod 0 Session 4 Practice Tasks

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.