Skip to content

Instantly share code, notes, and snippets.

var arrayOfAddress = [ '1675 Larimer St, Denver, CO 80202, USA - 1585.82470703125',
'33 E Quay Rd, Key West, FL 33040, USA - 2.406881809234619',
'630 Williams St NW, Atlanta, GA 30313, USA - 293.2690734863281'
]
sortList(arrayOfAddress);
function sortList(arrayOfAddress) {
const newObject = {};

Name: Raphael Barbo

Required

Goals

1. Informational Interview Schedule

  • Week 1: Info. Interview: One Interview already scheduled for the upcoming week.
  • Week 2: Info. Interview: Planning on having (1) interview scheduled for this week.

For my self-directed project, I decided to join in the React team that was being guided by Andrew. I set out to learn React on my own, and it was good to have Andrew's leadership to follow throughout the proceed. While I didn't make as much progress as I would have liked to have made with React, I was still able to spend a great deal of time building applications and being able to use it to contribute in my Open Source Task. In addition, I have been able to spend a decent amount of time on tutorials and learning documentation, and I am glad to say I feel somewhat comfortable working with this framework.

So what have I learned thus far about React? React is a UI library developed at Facebook to facilitate the creation of interactive, stateful & reusable UI components. It is used at Facebook in production, and Instagram.com. One of the greatest advantages of using React is that it performs on the client side, but it can also be rendered server side, and they can work

- First sentence is too complicated, can you simplify it?
- “I know many people want to become a software developer (and again, trust me you can do it)” - Why should they trust you? Do you really believe that anyone can be a software dev?
- I think few understand the amount of time
- I have spent more than 7 months (with 70+ hour weeks)
- Proofread this, there are a lot of words that don’t fit like “has allowed me to become more aware of what I can accomplish and what how I can impact people’s life in good and positive way”
- It sounds like you wrote this in a hurry and did not proof read :slightly_smiling_face:
- Advises is wrong, advice is the correct word.
- Doesn’t flow well, this: (would second be a bit of exaggeration? hmmm…)
Coding bootcamps can be expensive, and they’re not for everyone, but if you feel like it might be worth the investment, I highly recommend them.
- ^ Are you advocating for all coding bootcamps? Why?

Contributing to Faker

Issue # 1

  • Why: As someone who have used Faker quite a few times throughout my time at turing, I believe it would be super fun to contribute to this OS and give it back to the community.
  • What: Feature Request to add full address option to the gem faker-ruby/faker#696.
  • I Need: Update README.md, lib/address.rb file to include full address option, and update test to make sure feature is created properly.
  • When I'm Done: Although PR are not being merged (the owner of the project is awaiting a major release to merge all of them), I would like to still contribute to this project, it would allow me to touch the many pieces required in our portfolio.

Issue # 2

##Leap My Code

Solution 1: This user approached the problem from a similar point-of-view, but made better use of syntax.

Solution 2: This user also had a similar approach, but the use of syntax looks much clearer than mine, and a very nice approach to line breaking.

Solution 3: This user had a very interesting approach by keeping most of his code in a single line.

Solution 4: In my opinion this user had one of the best approaches to the problem, clean code and nice approach to the problem.

@rsbarbo
rsbarbo / rails_setup.md
Created October 31, 2016 19:31 — forked from ryanflach/rails_setup.md
Common setup for a new Rails project
  1. rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
  • -d postgresql sets up the project to use PostgreSQL
  • --skip-turbolinks & --skip-spring creates a project that does not use turbolinks or spring
  • -T skips the creation of the test directory and use of Test::Unit
  1. In the Gemfile:
  • Available to all environments:
    • gem 'figaro' - store environment variables securely across your app (docs)
    • Uncomment gem 'bcrypt', '~> 3.1.7' if you will be hosting your own user accounts with passwords (docs)
  • Inside of group :test:
    • gem 'rspec-rails' - user rspec in place of minitest (docs)
@rsbarbo
rsbarbo / gist:b8fb4a91757e613a60c5cafced3b5cc9
Created October 15, 2016 06:07 — forked from ryansobol/gist:5252653
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.

#unscoped
Class Item < ActiveRecord::Base
default_scope { where(status: "active") }
Item.all - returns only items with an active status
Item.unscoped.all - returns all items, regardless of whether they pass the validation
#Find using primary key
#can take an array as an arg to return client.id=1 and client.id=10
client = Client.find([1, 10])
@rsbarbo
rsbarbo / gist:f46ae31575cdefe280549dc5396dc86f
Last active September 22, 2016 14:19
10 Companies of interest
FlexPort - Ryan Petersen, CEO (That is the company I have the biggest interest)
Oracle - Dana Anderson, Sr. Talent Acquisition Advisor
Skookum - Chuck Preslar, Senior Software Engineer
OnDeck - Keith Hooper, Senior Corporate Recruiter
Trimble - Kim Benson, Director, Global Talent Management at Trimble
Pivotal Labs - Kevin Menzie, Office Director, Pivotal Labs Boulder
Green Chef - Gregory Jones, Senior Recruiter
DaVita - Bryant Culler, Manager, Software Development
IQNavigator - Carrie Liebentritt, Director Talent Acquisition
Techtonic Academy - Heather Terenzio-McCollester, CEO