Skip to content

Instantly share code, notes, and snippets.

View cmkoller's full-sized avatar

Christina Koller cmkoller

View GitHub Profile

Career Day Presentation Prep

For Career Day, you're required to prepare a 2-minute presentation that introduces yourself and demonstrates some of your work on your Breakable Toy. The presentation will be accompanied by a screencast that will play in the background as you speak (details on that will be coming early in Week 9).

Presentation Outline

1. "Background" section (length: 45-60 sec)

Make sure you definitely do the following things (in whatever order you think is best):

#Factory Girl

FactoryGirl is a gem that helps you with testing. It basically allows you to create "factories" that crank out objects to your database for you to test. Once FactoryGirl is set up, instead of needing to type this:

let(:user) { User.create(username: "cmkoller", email: "email@email.com", provider: "github", uid: "alksdjalks", avatar_url: "http://1.com"}

I can type something like this:

Weeks 9 - 10

Schedule

  • 9:38 - required morning mentor groups for practicing Career Day presentations
  • 10am - noon - Office Hours
    • Only one each!
  • Optional facilitations in afternoon (more traditional CS material)
    • Also optional challenges and reading to go with those
  • QQ functioning as normal - ask us your questions!
@cmkoller
cmkoller / fall-2015-daily-lesson-plan.md
Last active November 25, 2015 16:25
Daily Lesson Plan Fall 2015

Breakable Toy Stuff

  • USE PR WORKFLOW!
  • Your Breakable Toy should theoretically be finished on the last day of the cohort (Friday).
  • (You can make small touch-ups afterwards! But be careful!)

Schedule this week

  • QQ in the afternoon - might take longer than the first 6 weeks
  • Office hours, yay!
  • Afternoon facilitations on CS-y concepts

Submitting Your Career Day Screencast

Instructions for creating the screencast can be found here!

Name your video in the following format:

<first-name><last-name>_<month>-<day>.mov
@cmkoller
cmkoller / sass_clinic.md
Last active May 7, 2021 15:13
Sass Basics

All About Sass

Sass == "Syntactically Awesome Stylesheets"

Sass is a CSS extension language. It builds on top of CSS, fixes some of its problems, and generally makes it way better.

###What's wrong with CSS?

It's so, so not DRY:

  • You often need to repeat big lines of selectors as you target more and more deeply nested items
@cmkoller
cmkoller / sinatra-flash.md
Last active July 25, 2021 07:34
Setting up Sinatra Flash

Setting Up Sinatra Flash

Sinatra Flash is an awesome gem that allows you to pop up little messages alerting your users of important things, via some simple code in your server.rb file. This is very useful for things like displaying error messages if the user has filled out a form wrong, or displaying "success" messages if the user did something successfully like sign in, sign out, or submit a form.

This also gives you a great chance to implement Foundation's beautiful alerts. Here's how to set it up!

  1. Install the gem by typing gem install sinatra-flash in your terminal.
  2. Require the gem in the top of your server.rb file: require 'sinatra/flash'