Skip to content

Instantly share code, notes, and snippets.

View rwarbelow's full-sized avatar
💭
hungry

Rachel Warbelow rwarbelow

💭
hungry
  • Guild Education
  • Denver, CO
View GitHub Profile
@rwarbelow
rwarbelow / index.html
Created June 12, 2014 07:23
A Pen by Rachel Warbelow.
<html>
<head>
<meta charset="UTF-8" />
<title>Document</title>
</head>
<body>
Testing codepen.io github integration
<div class="test"></div>
</body>
</html>
@rwarbelow
rwarbelow / fvyno.markdown
Created June 14, 2014 20:51
A Pen by Rachel Warbelow.
last_name first_name phone_number
Wiegand Ephraim 526-193-0139
Hahn Zora 525.396.5836
Steuber Lewis 379.448.8598
Roberts Keven 166-617-4236
Hirthe Noemi 493-468-5927
Glover Oliver 333.955.4800
Cronin Leatha 376.606.8627
Schmidt Corrine 496.760.3432
Kerluke Durward 409.851.8071
@rwarbelow
rwarbelow / tidy-up.markdown
Last active November 2, 2015 23:43
Posse Tidy-Up Duties

Tasks

Classrooms

  • wipe down tables
  • remove cups and other kitchenware
  • wipe surfaces of public screens (TVs, pairing monitors)
  • tidy up cords at the front of each classroom
  • water plants according to schedule

Pairing Stations and Group Setups

Signing up for Github

Sign up for a free Github account at https://github.com/.

Installing Git

This webpage has instructions for installing Git on Mac, Windows, and Linux machines.

Configuring Git

  1. Write a program that can convert Arabic numbers 1-3000 to Roman numerals. For example:
converter = RomanConverter.new
converter.to_roman(6)
=> "VI"

converter.to_roman(14)
=> "XIV"
@rwarbelow
rwarbelow / gist:f41878ff2c6a1649ec95
Last active August 29, 2015 14:24
Student-Led Session Ideas
  • Whiteboarding
  • Refactoring techniques
  • Small JavaScript projects
  • Front-end design
  • Advanced Command Line
  • Sonic Pi
  • iOS development
  • Building a gem
  • Data Structure and Algorithms
  • Technical Interview Prep
@rwarbelow
rwarbelow / gist:121a502596b5d9bc9e04
Last active August 29, 2015 14:25
Testing Validations in Rails

Model Testing Validations in Rails (60 min)

Key Topics

During our session, we'll learn how to test model validations.

Warmup

Clone this app: git clone -b model-testing git@github.com:turingschool-examples/belibery.git.

Part I: User Creation

  1. add route for new_user_path
  2. create a UsersController with new action
  3. create new.html.erb
  4. generate user model with password_digest string field
  5. uncomment gem 'bcrypt' in Gemfile and add has_secure_password in User model
  6. add create action in UsersController
  7. implement logic for creating a user
  8. set session[:user_id] in create action
@rwarbelow
rwarbelow / setting_up_styling_in_sinatra.markdown
Created October 12, 2015 22:04
Setting up styling in Sinatra
  • Create a public folder within app. This is where you will store your css, javascripts, and images
  • Create a file application.css within app/public. This is where you will put your custom CSS.
  • Inside app/views, create a file layout.erb. This will automatically render around any other .erb file that you specify to render in your route block. Add the following code to the layout.erb file:
<!DOCTYPE html>
<html lang="en">
<head>
  <link rel="stylesheet" href="/application.css">
 My Sinatra Application