Skip to content

Instantly share code, notes, and snippets.

Christina Koller cmkoller

Block or report user

Report or block cmkoller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Submitting Your Career Day Screencast

Instructions for creating the screencast can be found here!

Name your video in the following format:

View gist:0daca49177720243f61e

Breakable Toy Stuff

  • 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
cmkoller /
Last active Oct 4, 2019
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'
cmkoller /
Last active Nov 25, 2015
Daily Lesson Plan Fall 2015

Weeks 9 - 10


  • 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!

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):


Git Cheat Sheet

Setting up your app with Git

git init

git add -A

git commit -m "First Commit"

View gist:0c9a1e83e854fac57ab7

Career Day Screencast Info

For your Career Day presentations, you are required to record a screencast to play in the background of your presentation.

How To:

You can record and edit the video with Quicktime, which should be pre-installed on your computer. To make a new recording, open quick time, and go to File > New Screen Recording.

What it should be:

View gist:f87a5aaf3819a1f0a20f

1. Make sure you have ActiveRecord set up in your app

(Follow these steps if not)

2. Add gem 'omniauth-github' to your Gemfile

3. Bundle

4. Add the following code to server.rb:

You can’t perform that action at this time.