Skip to content

Instantly share code, notes, and snippets.

View WHomer's full-sized avatar
🎯
Focusing

William Homer WHomer

🎯
Focusing
View GitHub Profile
@WHomer
WHomer / rails http status codes
Created March 10, 2020 18:10 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@WHomer
WHomer / rails_setup.md
Last active February 17, 2020 01:52 — 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)
Job description
New company is looking for a talented Back-end Engineer who is interested in solving problems and creating a beautiful end
user experience. As an employee of New Company we are looking for individuals who take pride in their work and enjoy problem
solving. Willing to work alone or on small teams to accomplish major problems and ship great code on a daily to weekly basis. You will be contributing meaningful code that will make a direct impact on the end product for all of our users. As an individual you are aspired to create long lasting code by thinking long term.
We are looking for someone who enjoys to learn and offer reimbursements for education on an annual basis. Well education a
work is important, a candidate with a well balanced work/life is important to push through on challenging problems so we offer
an extended time off allowance.
@WHomer
WHomer / DTR - Battleship
Created March 18, 2019 22:48
mod1 - Battleship DTR
Project: Battleship
Group Member Names: Santiago, William
Goals and Expectations for the Project (What does each group member hope to get out of this project?
What do we want to achieve as a team? How will we know that we're successful?):
To complete iteration 3 at a minimum and learn to work with github and as a team, by utilizing clear communication. To set goals and agree that we are accomplishing them.
@WHomer
WHomer / gearup_prework.md
Last active March 5, 2019 17:40
Turing - Gear Up

Gear Up Pre-Work

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

Empathy is a nice tie in with my Pairin category of Personal, it is something to be able to understand people and help lend a hand. I don’t currently do any regular good deeds in terms of volunteering at shelters. I do however lend a hand to people in need on occasion, whether it is pushing a car out of snow bank or helping someone with directions. Empathy has helped me get to where I’m today in terms of support of family, friends and past coworkers to change my career on a whim. I was making decent money, working with awesome people and yet I still wanted a change because I wasn’t challenged.

How does empathy help you build better software?

Having empathy from a UI perspective can help you design a site in which it is easy to use for all people, or at least designed in a way that you plan for accessibility and even slow internet connection to use your application. Empathy in terms of teams at work could help yo

@WHomer
WHomer / pd_prework.md
Last active March 5, 2019 16:57
Turing - Professional Development

Turing Career Development Pre-Work - Mod 0 Capstone

What is your greatest strength and how do you know?

According to the Pairin survey, my strongest category is Personal. Having the skills of Self-awareness and Self-rgeard & Balance are important to me as I feel that they are very true. It is almost a slight relief in a way to read this through this survey as at times I feel as if I never have a worry or concern and that this is strange. I see it more as, I know who I am and what I want to do. Flexibility & Adaptability along with Optimism I believe have helped me get to where I'm today and to also keep me going down this road in the future, I've had some large changes in the last several months however something that is more planned than impulsive as others may see it. The last strength under Peronal was Self-Control and although it was the third item on the list, I feel as if it is important to me as It is something that has shown as weakness in my past work experience. Often times I will absorb t

@WHomer
WHomer / readme.md
Last active February 7, 2019 21:49 — forked from benstr/readme.md
Gist Markdown Cheatsheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraph

@WHomer
WHomer / beginners-guide-to-git.md
Last active February 7, 2019 21:54
Beginners Guide to Git

Using Git with a Terminal

Terminal Navigation

  • pwd Is used for determining the current directory that you are in
  • ls Is used to list all files and directories in current directory
  • cd Is used to navigate around to different directories, by using / and .. to go up and down directory tree.
  • mkdir Is used to create a new directory, use mkdir <new-folder>
  • touch to create a new file, use touch my-example.txt

Note: you can use above commands together to create multiple files at once.

@WHomer
WHomer / mod_0_session_4_practice_tasks.md
Last active February 7, 2019 21:54 — forked from rwarbelow/mod_0_session_4_practice_tasks.md
Mod 0 Session 4 Practice Tasks

Session 4 Practice Tasks

The assignments listed here should take you between 1.5 and 2 total hours.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.