I hereby claim:
- I am rpdecks on github.
- I am rpdecks (https://keybase.io/rpdecks) on keybase.
- I have a public key ASB5dDzq8Zb-tvqny6YsX-KKnMKOxgpNnOs1Y_btNEpEgQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
~/.../acuity/client // ♥ > yarn install --immutable | |
yarn install v1.22.4 | |
info No lockfile found. | |
[1/4] 🔍 Resolving packages... | |
warning auth0-lock > react > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. | |
warning node-sass > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 | |
warning node-sass > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 | |
warning node-sass > request > har-validator@5.1.5: this library is no longer supported | |
warning react-scripts > react-app-polyfill > core-js@2.5.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. | |
warning react-scripts > fsevents@1.2.4: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fse |
@033020 Hey everyone, here are those Flatiron Redux resources (this is going to be long :persevere:): | |
To prepare for Redux, please read the following pages in the official documentation: | |
- https://redux.js.org/introduction/motivation | |
- https://redux.js.org/faq/general#general-when-to-learn | |
- https://redux.js.org/faq/organizingstate#organizing-state-only-redux-state | |
- Just the first one about state. | |
- https://redux.js.org/faq/performance#performance-scaling | |
- Just the first one about scaling. | |
If you're really itching to get started, you can follow the tutorial series by the master himself, Dan Abramov, linked in the Learning Resources section of the docs: | |
- Getting Started with Redux - Video Series: https://egghead.io/series/getting-started-with-redux |
Get hype. The next 2-3 weeks of your life are all about your final project. This is the capstone project that you’ll be showing off to demonstrate all the things that you’ve learned over the last few months. This is awesome. Before we dive into what your project is going to be about, we need to establish some ground rules. | |
Behavioral Expectations | |
You will show up by 9:00 and leave no sooner than 6:00 | |
You will actively participate in stand-ups, retros, and check-ins | |
You will complete your MVP by the date it is due | |
You will adhere to the project decisions made by leads/project managers | |
You will communicate issues with your project manager | |
You will be courteous to your classmates, and work together to solve problems | |
You will have properly researched and debugged before escalating to your project leads. |
Get hype. The next 2-3 weeks of your life are all about your final project. This is the capstone project that you’ll be showing off to demonstrate all the things that you’ve learned over the last few months. This is awesome. Before we dive into what your project is going to be about, we need to establish some ground rules. | |
Behavioral Expectations | |
You will show up by 9:00 and leave no sooner than 6:00 | |
You will actively participate in stand-ups, retros, and check-ins | |
You will complete your MVP by the date it is due | |
You will adhere to the project decisions made by leads/project managers | |
You will communicate issues with your project manager | |
You will be courteous to your classmates, and work together to solve problems | |
You will have properly researched and debugged before escalating to your project leads. |
import React from 'react' | |
import ReactMapGL, { Marker, Popup } from 'react-map-gl'; | |
import '../App.css'; | |
const mapMarkers = (userData, setSelectedAppointments, setPopupState) => { | |
const nurses = mapNurses(userData.nurses, setSelectedAppointments, setPopupState) || []; | |
const patients = mapPatients(userData.patients, setSelectedAppointments, setPopupState) || []; | |
return nurses.concat(patients) || null; | |
} |
Menu.destroy_all | |
Drink.destroy_all | |
Ingredient.destroy_all | |
DrinkIngredient.destroy_all | |
Shop.destroy_all | |
# =============================Ingredient seeds============================= | |
i1 = Ingredient.create(name: "milk") |
def pass_student(student, test) | |
found_test = BoatingTest.all.find { |bt| bt.test_name == test && bt.student == student} | |
binding.pry | |
if found_test && found_test.test_status != "pass" | |
found_test.test_status = "pass" | |
elsif !found_test | |
found_test = BoatingTest.new(student, test, "pass", self) | |
end | |
found_test | |
end |
class Ingredient | |
@@all = [] | |
attr_reader :name | |
def initialize(name) | |
@name = name | |
@@all << self | |
end |
#why does this work? explain syntax and logic | |
def best_tipper | |
best_tipped_meal = meals.max do |meal_a, meal_b| | |
meal_a.tip <=> meal_b.tip | |
end | |
best_tipped_meal.customer | |
end |