Skip to content

Instantly share code, notes, and snippets.

View dannyradden's full-sized avatar

Danny Radden dannyradden

  • Denver, CO
View GitHub Profile
@dannyradden
dannyradden / prework.md
Last active January 18, 2017 05:03 — forked from mbburch/prework.md
Turing pre-work Gist

Turing School Prework - Danny Radden

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist:

@dannyradden
dannyradden / Week 1 Diagnostic
Last active January 30, 2017 17:07
Create a gist and answer the following questions.
Time to complete: 30 minutes
Floats and Integers
What’s the difference between a float and integer?
*A float is a decimal number. An integer is just a whole number.
What’s are the similarities and differences between BigNum and FixNum?
*Both are decimal numbers. If a number is too big to fit into 64 bits of memory it is stored as a BigNum otherwise it is a fixnum.
**Both are Integers
What will 4.0 / 2 return?
@dannyradden
dannyradden / Week 2 and 3 Diagnostic
Last active February 9, 2017 17:12
Week 2 and 3 Diagnostic
1.
```
class PizzaOven
def cook_pizza
puts "mmm 'za"
end
end
```
2.
@dannyradden
dannyradden / Week 4 Diagnostic
Last active February 21, 2017 16:52
Mod 1 - Week 4 diagnostic
1. Give one difference between Modules and Classes.
Instances are made of classes while modules dont do instances, they are like libraries full of constants.
#classes have state. modules are stateless.
2. Defining Modules
First, create a module Doughy which defines a method has_carbs? that always returns true. Then, given the following Pizza class, update Pizza to use your new Doughy module to gain the defined has_carbs? behavior.
@dannyradden
dannyradden / DTR.txt
Created March 1, 2017 20:15
DTR for Night Writer with Mark Van Akkeron
Guiding Questions to Define The Relationship:
What are your learning goals for this project?
Further explore the use of enumerables to accomplish the demands of the project.
What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches?
Given we feel confident in our respective abilities to get after it individually we've divided the tasks up into the writer and the reader. Divide and conquer it is.
How do you communicate best? How do you appreciate receiving communication from others?
Clear and open. Just stream of conciousness thoughts flowing back and forth. Danny's got a leg up on Mark with regard to overall ruby proficiency but Mark's been thru this Mod before and knows the nuance of navigating this type of project.
How would you describe your work style?
@dannyradden
dannyradden / HTML_and_CSS_Basics.md
Last active March 14, 2017 02:24
HTML and CSS Basics

HTML


HTML Skeleton

The basic HTML skeleton is the set of tags required of every HTML web page you build.


@dannyradden
dannyradden / how_the_web_works.md
Created March 14, 2017 05:03
Danny Radden - How The Web Works

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?

  2. How will group members communicate? How often will communication happen, and how will open lines of communication be maintained?

  3. Which feature(s) does each group member want to work on? Which feature(s) does each group member not want to work on?

@dannyradden
dannyradden / sessions.md
Last active April 3, 2017 17:16 — forked from case-eee/sessions.md
Sessions, Cookies, and Flashes

Sessions, Cookies, and Flashes

  1. If we didn't have cookies and sessions, what would happen?
    • We wouldnt be able to keep track of a users session, so they wouldnt be able to stay logged in.
  2. What is a cookie?
    • A cookie is a a piece of information stored in hash style on a users computer. They are unsecure and should not be used to store sensitive data. They also have an expiration date.
  3. What's the difference between a cookie and a session?
    • A session is similar to a cookie, but is secured so that it is secure.
  4. What's serialization and how does it come into play with sessions?
  • Serialization uses a private keyo to secure a session so that it cant be tampered with.
@dannyradden
dannyradden / authorization.md
Created April 5, 2017 15:34
Authorization questions 1701 Mod 2

Authentication is the process of checking the credentials of a user to allow them to log in to an account. Authorization allows users to interact with the website in specifc ways depending on their roles.

Authentication: User creation and login. Uses Bcrypt to keep a password secure. Authorization: