Skip to content

Instantly share code, notes, and snippets.

View whitneyburton's full-sized avatar
🤓

Whitney Firth whitneyburton

🤓
  • Imperfect Foods/Misfits Market
  • Remote
View GitHub Profile
When uploading a photo, if a user uploads and then repositions their photo (which fires our handlePositionChange method), then editor.getImageScaledToCanvas().toDataURL() works. If a user just uploading a photo and doesn't reposition it, the code breaks at .toDataURL() with the error:
SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
There is no img element to add crossorigin: 'anonymous' to, but I have added it to the canvas element.
Here is the method where the photo upload works:
const handlePositionChange = (newPosition) => {
setPosition(newPosition);
const img = editor.getImageScaledToCanvas().toDataURL();
@whitneyburton
whitneyburton / PostGradActionPlan.md
Last active April 15, 2019 13:50
The Post-Grad Job Search Action Plan Template

The Post-Grad Job Search Action Plan Template

Intermission Calendar

Screen Shot 2019-04-15 at 7 39 19 AM

Questions

What motivates you?

  • Working amonst my peers, and at this point, money.

How will you keep yourself going when faced with rejection in the job search?

@whitneyburton
whitneyburton / portfoliodefensemod2.md
Last active January 11, 2019 21:08
Portfolio Defense Mod 2

Mod 2 - Collaborative Learning & Building

What particular skills, talent, or perspectives do you bring to a team?

  • Interpersonal skills
  • An eye for detail
  • Hardworking attitude --- from being a teacher, planning & check-ins are very important

What have you learned about building software in pairs and teams?

  • The importance of DTR's and setting milestones
  • Significantly strengthened my ability to divide & conquer
@whitneyburton
whitneyburton / outreach.md
Created January 4, 2019 02:31
Outreach & Networking Plan

Outreach & Networking Plan

As we've discussed, meeting people, forming relationships, and having conversations are the key pieces to getting your foot in the door at any company. It's important to be proactive in your approach to outreach and networking, so it's necessary to make a plan for what you'll try to further your networking.

Identify a contact you will reach out to by the end of this module. This could be a mentor, alum, or anyone from your current network. Describe:

I plan on reaching out to Jonah Moses, an alum.

  1. Why you want to connect with this person and what you want to talk about
  • I want to reach out to Jonah because he's been active on certain Slack channels (salaries in particular) since I arrived here and has given the impression that he is happy to help current students with interview advice, the job hunt as a whole, and what life is like in the career.
  • He also works fully remotely now, and I would like to know how that has been going for him since his first job wasn't remote so
@whitneyburton
whitneyburton / code-review-checklist.md
Created December 10, 2018 18:19
Code Review Checklist

https://github.com/dForDeveloper/jeopardy

  • Is all the code easily understood?
  • Is there any commented out code? Any console.logs?
  • Do the names used in the application convey intent?
  • Are issues being used to keep track of tasks, enhancements and bugs?
  • Do the titles/descriptions of the issues provide all the relevant/necessary details for the issue? Would you be able to jump right in and assist?

Pair-to-Pair Code Review

5 mins

@whitneyburton
whitneyburton / code-review-checklist.md
Last active December 10, 2018 18:58 — forked from thatPamIAm/code-review-checklist.md
Code Review Checklist

Pair-to-Pair Code Review

5 mins

  • Get together with your group and send a link of your team's GitHub Repo to the pair that is reviewing your project.
  • Look over this guide with your project partner and highlight the pieces where your team can use assistance/you would like your reviewers to take a closer look. Fork this gist and send the forked copy over to the pair reviewing your code.

45 mins

  • Follow the instructions to clone down the repo you are given and start reviewing the codebase. Take notes for written feedback.
@whitneyburton
whitneyburton / professional-story-draft.md
Created December 10, 2018 18:02
Professional Story DRAFT

"Tell me about yourself."

As I grew up I was always told that teaching would be perfect for me. I was great with kids, and I had many female friends/family members who were teachers as well. After two years in the profession, my suspicions throughout college were confirmed - teaching wasn't right for me. I found myself craving a different intellectual challenge and was exhausted by the many politics of public education. After some introspection I decided to listen to this original love for computers that I had had since I was in middle school. Long past were the days where I could change the code on all of my friends MySpace profiles for background colors, fonts, or layouts, so I knew I needed to find another way to work with this natural knack for working with websites. I discovered FreeCodeCamp and was hooked - coming home from work each day only to spend my time pushing myself farther and farther through the courses. Through the encouragement from my family and coworkers, I decided to t

@whitneyburton
whitneyburton / dtr.md
Last active December 13, 2018 15:06
Whitney & Kristen DTR

Template for DTR Memo Project:

Group Member Names: Whitney Burton & Kristen Hallstrom

Project Expectations: What does each group member hope to get out of this project? Kristen: better understanding of array prototype methods. Whitney: become more comfortable with writing tests.

Goals and expectations:

@whitneyburton
whitneyburton / oop-diagram.js
Last active December 5, 2018 15:02
Whitney & Kristen Jeopardy OOP Diagram
class Game()
round
players
categories
questions
potential methods: startGame() {}, endGame() {}, updateRound() {}
@whitneyburton
whitneyburton / storytelling-reflection.md
Last active November 7, 2018 23:00
Storytelling Reflection

Storytelling Reflection

  1. Describe your 3-act arc by answering these three questions in 1-2 paragraphs:
  • Who are you: Consider describing:
    • My values drove me to come to Turing because the social justice mission aligned with why I became a teacher in my previous career. I wanted to support students from all backgrounds to succeed, and worked in Title 1 schools so that I was able to teach the students who needed the extra support the most. By coming to Turing I knew I'd still be able to align my values with this new career path.
    • My Pairin themes are encourager, caregiver, self-confident, and lover of transcendence. I identify strongly with all of these. Being a caregiver, encourager, and self-confident were qualities that led me to a successful teaching career (the whole 2 years of it, anyway). However, being a caregiver was a such a huge role in my life that I was craving to get away from it, and needed to start focusing on taking care of myself more.
  • Through mod1 at Turing I've seen my