Skip to content

Instantly share code, notes, and snippets.

View katiekeel's full-sized avatar

Katie Keel katiekeel

View GitHub Profile
@katiekeel
katiekeel / asset-pipeline.md
Last active July 25, 2017 15:40
Asset Pipeline

1. What does it mean to precompile files? What does this have to do with Coffeescript and Sass files? Does it only have to do with Coffeescript and Sass files?

Precompiling asset files is a way to help browsers make fewer requests to your webserver to display items on your page. Precompiling is done in Rails via the asset pipeline.

Precompiling consists of 3 tasks: concatenating assets, minifying assets, and providing a way to access those assets in other languages.

CoffeeScript and SASS are JavaScript and CSS frameworks that help with the styling and user experience of your app. In particular, CoffeeScript is a way to write JavaScript with Rubyish syntax. In a production environment, it helps with speed and efficiency to concatenate them, which means combining all the files in which they appear into one master file for each language for the server to reference as a block. The asset pipeline also minifies them, which means removing whitespace and comments, as well as transforming them into a

Setting Group Expectations

Group Member Names:

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?
  • Katie: Anything, prefer not to work super late

  • Joel: Real life stuff

@katiekeel
katiekeel / katiekeel-authorization
Last active July 19, 2017 15:39
Answering authorization questions from lecture
* What’s the difference between Authentication and Authorization?
Authentication is how the server confirms you are who you say you are; authorization is making sure you only see what you have permission to see
* Why are both necessary for securing our applications?
You wouldn't want users to be able to edit other users' accounts (authorization), and you can't have authorization without authentication
* What’s a before_action filter in Rails?
It asks the controller to meet some condition or find some information before certain routes are taken
* How can we scope a filter down to only work with specific actions?
@katiekeel
katiekeel / dtr_expectations.markdown
Last active June 29, 2017 21:54 — forked from case-eee/dtr_expectations.markdown
Group Work Expectations

Group Expectations

Group Member Names: Katie, Yohanan, Dan P, Wil D

Project Manager: Katie

Defining the Relationship (DTR) Questions:

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?
@katiekeel
katiekeel / katie-shermer-empathy-prework.md
Created April 9, 2017 23:06
Katie Shermer's empathy prework

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

Empathy is the basis of all human relationships, and is what makes life worth living. Without empathy, I wouldn't be able to enjoy my own feelings or relate to the feelings of others.

Due to my upbringing, I had a much harder time with empathy and social relationships as a younger person. As I moved into adulthood, I began to develop a stronger empathic response to other people, and my life has been dramatically better since then.

How does empathy help you build better software?

@katiekeel
katiekeel / katie-shermer-prework.md
Last active April 13, 2017 18:45 — forked from mbburch/prework.md
Katie Shermer's Turing pre-work Gist

Day 1:

Task A - Typing

Screenshot below

Task D - Environment Setup

Screenshot below of Terminal installs