I hereby claim:
- I am danbroadbent on github.
- I am danbroadbent (https://keybase.io/danbroadbent) on keybase.
- I have a public key ASAPS_d5a5EREotWM2B4cbYlE8v4oE219s2KcISI3YoMrQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am danbroadbent on github. | |
* I am danbroadbent (https://keybase.io/danbroadbent) on keybase. | |
* I have a public key ASAPS_d5a5EREotWM2B4cbYlE8v4oE219s2KcISI3YoMrQo | |
To claim this, I am signing this object: |
Take a deep breath and read all the requirements.
If you need to create a new rails app from scratch, reference this: https://gist.github.com/ryanflach/9fe657471bc9282a18d6904171645278
Set up Heroku:
Start a pomodoro timer and get going with good git practices, create a new branch and plan on commiting often.
Start with a test. If there already is a test, fix it.
Deploy for web command: $npm run ionic:build --prod |
#Leap# My code Here
Responder 1 here - This responder used an if statement for each of the possible leap year definitions. He also depended on 0 evaluating to false in order to get his ! on each statement to work.
Responder 2 here - This responder got down his code to just a single line. His code started similar to mine and then he refactored it down to just return either true or false without the explicit need for an 'if'.
Responder 3 here - This responder used two if statements, each evaluated whether the year was divisible by 4 and then he split them based on their divisibility by 400 or 100.
Responder 4 here - This responder used a combination of responders 1 and
Companies I'm Interested In: | |
GoSpotCheck - Erin Hallows | |
Ello - Jay Zeschin | |
Full Contact - Jessica Nolan | |
Quick Left - Ingrid Alongi | |
CaptianU - Jim Ray | |
Twitch - Kelly Lynch | |
AirBNB - Jonathan Mildenhall | |
Tesla - Elon Musk |
#Rails Command Line Cheat Sheet:
Create a New Rails App: $ rails new “app_name_goes_here”
Create a New Rails App w/ Postgres Database: $ rails new “app_name_goes_here” -d=postgresql
Create a New Rails App w/o Minitest: $ rails new “app_name_goes_here” -T
If you add a new gem, don’t forget to $ bundle install
Show all existing routes: $ rake routes
This exercise is intended to help you assess your progress with the concepts and techniques we've covered during the week.
When complete, fill out this form.
For these questions, write a short snippet of code that meets
the requirement. In cases where the question mentions a "given"
data value, use the variable given
to refer to it (instead of re-writing